	.file	"extr_nvec_kbd.c_nvec_kbd_remove.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	nvec_kbd_remove, @function
nvec_kbd_remove:
.LFB0:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	sub	rsp, 16
	.cfi_def_cfa_offset 32
	mov	edi, DWORD PTR [rdi]
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 8[rsp], rax
	xor	eax, eax
	call	dev_get_drvdata@PLT
	lea	rsi, 5[rsp]
	mov	BYTE PTR 7[rsp], 0
	movzx	edx, BYTE PTR DISABLE_KBD[rip]
	mov	rbp, rax
	movzx	eax, BYTE PTR NVEC_KBD[rip]
	mov	BYTE PTR 4[rsp], dl
	mov	rdi, rbp
	mov	edx, 3
	mov	BYTE PTR 3[rsp], al
	mov	BYTE PTR 5[rsp], al
	movzx	eax, BYTE PTR CNFG_WAKE_KEY_REPORTING[rip]
	mov	BYTE PTR 6[rsp], al
	call	nvec_write_async@PLT
	lea	rsi, 3[rsp]
	mov	edx, 2
	mov	rdi, rbp
	call	nvec_write_async@PLT
	lea	rsi, keys_dev[rip]
	mov	rdi, rbp
	call	nvec_unregister_notifier@PLT
	mov	rax, QWORD PTR 8[rsp]
	xor	rax, QWORD PTR fs:40
	jne	.L5
	add	rsp, 16
	.cfi_remember_state
	.cfi_def_cfa_offset 16
	xor	eax, eax
	pop	rbp
	.cfi_def_cfa_offset 8
	ret
.L5:
	.cfi_restore_state
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	nvec_kbd_remove, .-nvec_kbd_remove
	.comm	keys_dev,4,4
	.comm	NVEC_KBD,1,1
	.comm	DISABLE_KBD,1,1
	.comm	CNFG_WAKE_KEY_REPORTING,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_nvec_kbd.c_nvec_kbd_remove.c"
	.text
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC0:
	.word	__stack_chk_guard
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	nvec_kbd_remove, %function
nvec_kbd_remove:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, lr}
	ldr	r3, .L6
	sub	sp, sp, #20
	ldr	r0, [r0]
	ldr	r3, [r3]
	str	r3, [sp, #12]
	mov	r3,#0
	bl	dev_get_drvdata
	mov	r5, #0
	mov	r4, r0
	ldr	r1, .L6+4
	ldr	r2, .L6+8
	ldr	r3, .L6+12
	ldrb	r1, [r1]	@ zero_extendqisi2
	ldrb	r3, [r3]	@ zero_extendqisi2
	ldrb	ip, [r2]	@ zero_extendqisi2
	strb	r1, [sp, #5]
	mov	r2, #3
	add	r1, sp, #8
	strb	r3, [sp, #4]
	strb	r3, [sp, #8]
	strb	ip, [sp, #9]
	strb	r5, [sp, #10]
	bl	nvec_write_async
	mov	r2, #2
	add	r1, sp, #4
	mov	r0, r4
	bl	nvec_write_async
	mov	r0, r4
	ldr	r1, .L6+16
	bl	nvec_unregister_notifier
	ldr	r3, .L6
	ldr	r2, [r3]
	ldr	r3, [sp, #12]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L5
	mov	r0, r5
	add	sp, sp, #20
	@ sp needed
	pop	{r4, r5, pc}
.L5:
	bl	__stack_chk_fail
.L7:
	.align	2
.L6:
	.word	.LC0
	.word	DISABLE_KBD
	.word	CNFG_WAKE_KEY_REPORTING
	.word	NVEC_KBD
	.word	keys_dev
	.size	nvec_kbd_remove, .-nvec_kbd_remove
	.comm	keys_dev,4,4
	.comm	NVEC_KBD,1,1
	.comm	DISABLE_KBD,1,1
	.comm	CNFG_WAKE_KEY_REPORTING,1,1
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
