	.file	"extr_da9055_onkey.c_da9055_onkey_probe.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"ONKEY"
.LC1:
	.string	"Failed to allocate memory\n"
.LC2:
	.string	"da9055-onkey"
.LC3:
	.string	"da9055-onkey/input0"
	.section	.rodata.str1.8,"aMS",@progbits,1
	.align 8
.LC4:
	.string	"Failed to register ONKEY IRQ %d, error = %d\n"
	.align 8
.LC5:
	.string	"Unable to register input device, %d\n"
	.text
	.p2align 4
	.type	da9055_onkey_probe, @function
da9055_onkey_probe:
.LFB0:
	.cfi_startproc
	endbr64
	push	r15
	.cfi_def_cfa_offset 16
	.cfi_offset 15, -16
	push	r14
	.cfi_def_cfa_offset 24
	.cfi_offset 14, -24
	push	r13
	.cfi_def_cfa_offset 32
	.cfi_offset 13, -32
	push	r12
	.cfi_def_cfa_offset 40
	.cfi_offset 12, -40
	push	rbp
	.cfi_def_cfa_offset 48
	.cfi_offset 6, -48
	mov	rbp, rdi
	mov	edi, DWORD PTR [rdi]
	call	dev_get_drvdata@PLT
	lea	rsi, .LC0[rip]
	mov	rdi, rbp
	mov	r12, rax
	call	platform_get_irq_byname@PLT
	test	eax, eax
	js	.L12
	mov	edx, DWORD PTR GFP_KERNEL[rip]
	mov	esi, 24
	mov	rdi, rbp
	mov	r13d, eax
	call	devm_kzalloc@PLT
	mov	r14, rax
	test	rax, rax
	je	.L10
	xor	eax, eax
	call	input_allocate_device@PLT
	mov	r15, rax
	test	rax, rax
	je	.L10
	mov	QWORD PTR 16[r14], rax
	lea	rax, .LC2[rip]
	mov	edi, DWORD PTR EV_KEY[rip]
	mov	QWORD PTR 8[r14], r12
	mov	r12, QWORD PTR 24[r15]
	mov	QWORD PTR [r15], rax
	lea	rax, .LC3[rip]
	mov	QWORD PTR 8[r15], rax
	mov	QWORD PTR 32[r15], rbp
	call	BIT_MASK@PLT
	mov	DWORD PTR [r12], eax
	mov	esi, DWORD PTR 16[r15]
	mov	edi, DWORD PTR KEY_POWER[rip]
	call	__set_bit@PLT
	mov	esi, DWORD PTR da9055_onkey_work[rip]
	mov	rdi, r14
	call	INIT_DELAYED_WORK@PLT
	mov	edx, DWORD PTR da9055_onkey_irq[rip]
	mov	r9, r14
	xor	esi, esi
	mov	ecx, DWORD PTR IRQF_TRIGGER_HIGH[rip]
	lea	r8, .LC0[rip]
	mov	edi, r13d
	or	ecx, DWORD PTR IRQF_ONESHOT[rip]
	call	request_threaded_irq@PLT
	mov	r12d, eax
	test	eax, eax
	js	.L13
	mov	rdi, r15
	call	input_register_device@PLT
	mov	r12d, eax
	test	eax, eax
	jne	.L14
	mov	rsi, r14
	mov	rdi, rbp
	call	platform_set_drvdata@PLT
	pop	rbp
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	mov	eax, r12d
	pop	r12
	.cfi_def_cfa_offset 32
	pop	r13
	.cfi_def_cfa_offset 24
	pop	r14
	.cfi_def_cfa_offset 16
	pop	r15
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L12:
	.cfi_restore_state
	mov	r12d, DWORD PTR EINVAL[rip]
	pop	rbp
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	neg	r12d
	mov	eax, r12d
	pop	r12
	.cfi_def_cfa_offset 32
	pop	r13
	.cfi_def_cfa_offset 24
	pop	r14
	.cfi_def_cfa_offset 16
	pop	r15
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L10:
	.cfi_restore_state
	mov	rdi, rbp
	lea	rsi, .LC1[rip]
	xor	eax, eax
	call	dev_err@PLT
	mov	r12d, DWORD PTR ENOMEM[rip]
	pop	rbp
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	neg	r12d
	mov	eax, r12d
	pop	r12
	.cfi_def_cfa_offset 32
	pop	r13
	.cfi_def_cfa_offset 24
	pop	r14
	.cfi_def_cfa_offset 16
	pop	r15
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L14:
	.cfi_restore_state
	mov	edx, eax
	lea	rsi, .LC5[rip]
	mov	rdi, rbp
	xor	eax, eax
	call	dev_err@PLT
	mov	edi, r13d
	mov	rsi, r14
	call	free_irq@PLT
	mov	rdi, r14
	call	cancel_delayed_work_sync@PLT
.L7:
	mov	rdi, r15
	call	input_free_device@PLT
	pop	rbp
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	mov	eax, r12d
	pop	r12
	.cfi_def_cfa_offset 32
	pop	r13
	.cfi_def_cfa_offset 24
	pop	r14
	.cfi_def_cfa_offset 16
	pop	r15
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L13:
	.cfi_restore_state
	mov	ecx, eax
	mov	edx, r13d
	lea	rsi, .LC4[rip]
	mov	rdi, rbp
	xor	eax, eax
	call	dev_err@PLT
	jmp	.L7
	.cfi_endproc
.LFE0:
	.size	da9055_onkey_probe, .-da9055_onkey_probe
	.comm	da9055_onkey_work,4,4
	.comm	da9055_onkey_irq,4,4
	.comm	KEY_POWER,4,4
	.comm	IRQF_TRIGGER_HIGH,4,4
	.comm	IRQF_ONESHOT,4,4
	.comm	GFP_KERNEL,4,4
	.comm	EV_KEY,4,4
	.comm	ENOMEM,4,4
	.comm	EINVAL,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_da9055_onkey.c_da9055_onkey_probe.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"ONKEY\000"
	.align	2
.LC1:
	.ascii	"Failed to allocate memory\012\000"
	.align	2
.LC2:
	.ascii	"da9055-onkey\000"
	.align	2
.LC3:
	.ascii	"da9055-onkey/input0\000"
	.align	2
.LC4:
	.ascii	"Failed to register ONKEY IRQ %d, error = %d\012\000"
	.align	2
.LC5:
	.ascii	"Unable to register input device, %d\012\000"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	da9055_onkey_probe, %function
da9055_onkey_probe:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, lr}
	mov	r4, r0
	sub	sp, sp, #12
	ldr	r0, [r0]
	bl	dev_get_drvdata
	ldr	r9, .L15
	mov	r5, r0
	mov	r1, r9
	mov	r0, r4
	bl	platform_get_irq_byname
	subs	r8, r0, #0
	blt	.L12
	ldr	r3, .L15+4
	mov	r1, #12
	mov	r0, r4
	ldr	r2, [r3]
	bl	devm_kzalloc
	subs	r7, r0, #0
	beq	.L10
	bl	input_allocate_device
	subs	r6, r0, #0
	beq	.L10
	ldr	r2, .L15+8
	ldr	r3, .L15+12
	ldr	r1, .L15+16
	stmib	r7, {r5, r6}
	ldr	r0, [r1]
	str	r4, [r6, #16]
	stm	r6, {r2, r3}
	ldr	r5, [r6, #12]
	bl	BIT_MASK
	ldr	r3, .L15+20
	str	r0, [r5]
	ldr	r1, [r6, #8]
	ldr	r0, [r3]
	bl	__set_bit
	ldr	r3, .L15+24
	mov	r0, r7
	ldr	r1, [r3]
	bl	INIT_DELAYED_WORK
	ldr	r2, .L15+28
	ldr	r3, .L15+32
	ldr	r1, [r2]
	ldr	r3, [r3]
	ldr	r2, .L15+36
	str	r7, [sp, #4]
	str	r9, [sp]
	orr	r3, r1, r3
	mov	r0, r8
	mov	r1, #0
	ldr	r2, [r2]
	bl	request_threaded_irq
	subs	r5, r0, #0
	blt	.L13
	mov	r0, r6
	bl	input_register_device
	subs	r5, r0, #0
	bne	.L14
	mov	r1, r7
	mov	r0, r4
	bl	platform_set_drvdata
	mov	r0, r5
	add	sp, sp, #12
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, pc}
.L12:
	ldr	r3, .L15+40
	ldr	r5, [r3]
	rsb	r5, r5, #0
	mov	r0, r5
	add	sp, sp, #12
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, pc}
.L10:
	mov	r0, r4
	ldr	r1, .L15+44
	bl	dev_err
	ldr	r3, .L15+48
	ldr	r5, [r3]
	rsb	r5, r5, #0
	mov	r0, r5
	add	sp, sp, #12
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, pc}
.L14:
	mov	r2, r5
	ldr	r1, .L15+52
	mov	r0, r4
	bl	dev_err
	mov	r1, r7
	mov	r0, r8
	bl	free_irq
	mov	r0, r7
	bl	cancel_delayed_work_sync
.L7:
	mov	r0, r6
	bl	input_free_device
	mov	r0, r5
	add	sp, sp, #12
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, pc}
.L13:
	mov	r2, r8
	mov	r0, r4
	mov	r3, r5
	ldr	r1, .L15+56
	bl	dev_err
	b	.L7
.L16:
	.align	2
.L15:
	.word	.LC0
	.word	GFP_KERNEL
	.word	.LC2
	.word	.LC3
	.word	EV_KEY
	.word	KEY_POWER
	.word	da9055_onkey_work
	.word	IRQF_TRIGGER_HIGH
	.word	IRQF_ONESHOT
	.word	da9055_onkey_irq
	.word	EINVAL
	.word	.LC1
	.word	ENOMEM
	.word	.LC5
	.word	.LC4
	.size	da9055_onkey_probe, .-da9055_onkey_probe
	.comm	da9055_onkey_work,4,4
	.comm	da9055_onkey_irq,4,4
	.comm	KEY_POWER,4,4
	.comm	IRQF_TRIGGER_HIGH,4,4
	.comm	IRQF_ONESHOT,4,4
	.comm	GFP_KERNEL,4,4
	.comm	EV_KEY,4,4
	.comm	ENOMEM,4,4
	.comm	EINVAL,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
