	.file	"extr_ep93xx_keypad.c_ep93xx_keypad_remove.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	ep93xx_keypad_remove, @function
ep93xx_keypad_remove:
.LFB0:
	.cfi_startproc
	endbr64
	push	r12
	.cfi_def_cfa_offset 16
	.cfi_offset 12, -16
	mov	r12, rdi
	push	rbp
	.cfi_def_cfa_offset 24
	.cfi_offset 6, -24
	sub	rsp, 8
	.cfi_def_cfa_offset 32
	call	platform_get_drvdata@PLT
	mov	edi, DWORD PTR 24[rax]
	mov	rbp, rax
	mov	rsi, rax
	call	free_irq@PLT
	cmp	QWORD PTR 16[rbp], 0
	jne	.L5
.L2:
	mov	edi, DWORD PTR 8[rbp]
	call	clk_put@PLT
	mov	edi, DWORD PTR 4[rbp]
	call	input_unregister_device@PLT
	mov	rdi, r12
	call	ep93xx_keypad_release_gpio@PLT
	mov	edi, DWORD PTR 0[rbp]
	call	iounmap@PLT
	mov	esi, DWORD PTR IORESOURCE_MEM[rip]
	xor	edx, edx
	mov	rdi, r12
	call	platform_get_resource@PLT
	mov	r12, rax
	mov	rdi, rax
	call	resource_size@PLT
	mov	edi, DWORD PTR [r12]
	mov	esi, eax
	call	release_mem_region@PLT
	mov	rdi, rbp
	call	kfree@PLT
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	xor	eax, eax
	pop	rbp
	.cfi_def_cfa_offset 16
	pop	r12
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L5:
	.cfi_restore_state
	mov	edi, DWORD PTR 8[rbp]
	call	clk_disable@PLT
	jmp	.L2
	.cfi_endproc
.LFE0:
	.size	ep93xx_keypad_remove, .-ep93xx_keypad_remove
	.comm	IORESOURCE_MEM,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_ep93xx_keypad.c_ep93xx_keypad_remove.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	ep93xx_keypad_remove, %function
ep93xx_keypad_remove:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, lr}
	mov	r5, r0
	bl	platform_get_drvdata
	mov	r4, r0
	mov	r1, r0
	ldr	r0, [r0, #16]
	bl	free_irq
	ldr	r3, [r4, #12]
	cmp	r3, #0
	bne	.L8
.L2:
	ldr	r0, [r4, #8]
	bl	clk_put
	ldr	r0, [r4, #4]
	bl	input_unregister_device
	mov	r0, r5
	bl	ep93xx_keypad_release_gpio
	ldr	r0, [r4]
	bl	iounmap
	ldr	r3, .L9
	mov	r2, #0
	ldr	r1, [r3]
	mov	r0, r5
	bl	platform_get_resource
	ldr	r5, [r0]
	bl	resource_size
	mov	r1, r0
	mov	r0, r5
	bl	release_mem_region
	mov	r0, r4
	bl	kfree
	mov	r0, #0
	pop	{r4, r5, r6, pc}
.L8:
	ldr	r0, [r4, #8]
	bl	clk_disable
	b	.L2
.L10:
	.align	2
.L9:
	.word	IORESOURCE_MEM
	.size	ep93xx_keypad_remove, .-ep93xx_keypad_remove
	.comm	IORESOURCE_MEM,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
