	.file	"extr_max77650-onkey.c_max77650_onkey_probe.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"linux,code"
.LC1:
	.string	"maxim,onkey-slide"
.LC2:
	.string	"nEN_F"
.LC3:
	.string	"nEN_R"
.LC4:
	.string	"max77650_onkey"
.LC5:
	.string	"max77650_onkey/input0"
.LC6:
	.string	"onkey-down"
.LC7:
	.string	"onkey-up"
	.text
	.p2align 4
	.type	max77650_onkey_probe, @function
max77650_onkey_probe:
.LFB0:
	.cfi_startproc
	endbr64
	push	r14
	.cfi_def_cfa_offset 16
	.cfi_offset 14, -16
	xor	esi, esi
	push	r13
	.cfi_def_cfa_offset 24
	.cfi_offset 13, -24
	push	r12
	.cfi_def_cfa_offset 32
	.cfi_offset 12, -32
	push	rbp
	.cfi_def_cfa_offset 40
	.cfi_offset 6, -40
	mov	rbp, rdi
	push	rbx
	.cfi_def_cfa_offset 48
	.cfi_offset 3, -48
	mov	rdi, QWORD PTR [rdi]
	call	dev_get_regmap@PLT
	mov	r12d, DWORD PTR ENODEV[rip]
	neg	r12d
	test	rax, rax
	je	.L1
	mov	edx, DWORD PTR GFP_KERNEL[rip]
	mov	esi, 16
	mov	rdi, rbp
	mov	r12, rax
	call	devm_kzalloc@PLT
	mov	rbx, rax
	test	rax, rax
	je	.L14
	lea	rdx, 8[rax]
	lea	rsi, .LC0[rip]
	mov	rdi, rbp
	call	device_property_read_u32@PLT
	test	eax, eax
	je	.L5
	mov	eax, DWORD PTR KEY_POWER[rip]
	mov	DWORD PTR 8[rbx], eax
.L5:
	lea	rsi, .LC1[rip]
	mov	rdi, rbp
	call	device_property_read_bool@PLT
	test	rax, rax
	je	.L6
	mov	ecx, DWORD PTR MAX77650_ONKEY_MODE_SLIDE[rip]
	mov	r13d, DWORD PTR EV_SW[rip]
.L7:
	mov	edx, DWORD PTR MAX77650_ONKEY_MODE_MASK[rip]
	mov	esi, DWORD PTR MAX77650_REG_CNFG_GLBL[rip]
	mov	rdi, r12
	call	regmap_update_bits@PLT
	mov	r12d, eax
	test	eax, eax
	jne	.L1
	lea	rsi, .LC2[rip]
	mov	rdi, rbp
	call	platform_get_irq_byname@PLT
	mov	r12d, eax
	test	eax, eax
	js	.L1
	lea	rsi, .LC3[rip]
	mov	rdi, rbp
	call	platform_get_irq_byname@PLT
	mov	r14d, eax
	test	eax, eax
	js	.L9
	mov	rdi, rbp
	call	devm_input_allocate_device@PLT
	mov	QWORD PTR [rbx], rax
	mov	rdi, rax
	test	rax, rax
	je	.L14
	lea	rax, .LC4[rip]
	mov	edx, DWORD PTR 8[rbx]
	mov	esi, r13d
	mov	QWORD PTR [rdi], rax
	lea	rax, .LC5[rip]
	mov	QWORD PTR 8[rdi], rax
	mov	eax, DWORD PTR BUS_I2C[rip]
	mov	DWORD PTR 16[rdi], eax
	call	input_set_capability@PLT
	mov	esi, r12d
	mov	r9, rbx
	mov	rdi, rbp
	mov	ecx, DWORD PTR IRQF_ONESHOT[rip]
	mov	edx, DWORD PTR max77650_onkey_falling[rip]
	lea	r8, .LC6[rip]
	call	devm_request_any_context_irq@PLT
	mov	r12d, eax
	test	eax, eax
	js	.L1
	mov	ecx, DWORD PTR IRQF_ONESHOT[rip]
	mov	r9, rbx
	mov	esi, r14d
	mov	rdi, rbp
	mov	edx, DWORD PTR max77650_onkey_rising[rip]
	lea	r8, .LC7[rip]
	call	devm_request_any_context_irq@PLT
	mov	r12d, eax
	test	eax, eax
	js	.L1
	mov	rdi, QWORD PTR [rbx]
	pop	rbx
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	pop	rbp
	.cfi_def_cfa_offset 32
	pop	r12
	.cfi_def_cfa_offset 24
	pop	r13
	.cfi_def_cfa_offset 16
	pop	r14
	.cfi_def_cfa_offset 8
	jmp	input_register_device@PLT
	.p2align 4,,10
	.p2align 3
.L9:
	.cfi_restore_state
	mov	r12d, eax
.L1:
	pop	rbx
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	mov	eax, r12d
	pop	rbp
	.cfi_def_cfa_offset 32
	pop	r12
	.cfi_def_cfa_offset 24
	pop	r13
	.cfi_def_cfa_offset 16
	pop	r14
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L14:
	.cfi_restore_state
	mov	r12d, DWORD PTR ENOMEM[rip]
	pop	rbx
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	pop	rbp
	.cfi_def_cfa_offset 32
	neg	r12d
	mov	eax, r12d
	pop	r12
	.cfi_def_cfa_offset 24
	pop	r13
	.cfi_def_cfa_offset 16
	pop	r14
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L6:
	.cfi_restore_state
	mov	ecx, DWORD PTR MAX77650_ONKEY_MODE_PUSH[rip]
	mov	r13d, DWORD PTR EV_KEY[rip]
	jmp	.L7
	.cfi_endproc
.LFE0:
	.size	max77650_onkey_probe, .-max77650_onkey_probe
	.comm	max77650_onkey_rising,4,4
	.comm	max77650_onkey_falling,4,4
	.comm	MAX77650_REG_CNFG_GLBL,4,4
	.comm	MAX77650_ONKEY_MODE_SLIDE,4,4
	.comm	MAX77650_ONKEY_MODE_PUSH,4,4
	.comm	MAX77650_ONKEY_MODE_MASK,4,4
	.comm	KEY_POWER,4,4
	.comm	IRQF_ONESHOT,4,4
	.comm	GFP_KERNEL,4,4
	.comm	EV_SW,4,4
	.comm	EV_KEY,4,4
	.comm	ENOMEM,4,4
	.comm	ENODEV,4,4
	.comm	BUS_I2C,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_max77650-onkey.c_max77650_onkey_probe.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"linux,code\000"
	.align	2
.LC1:
	.ascii	"maxim,onkey-slide\000"
	.align	2
.LC2:
	.ascii	"nEN_F\000"
	.align	2
.LC3:
	.ascii	"nEN_R\000"
	.align	2
.LC4:
	.ascii	"max77650_onkey\000"
	.align	2
.LC5:
	.ascii	"max77650_onkey/input0\000"
	.align	2
.LC6:
	.ascii	"onkey-down\000"
	.align	2
.LC7:
	.ascii	"onkey-up\000"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	max77650_onkey_probe, %function
max77650_onkey_probe:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, lr}
	mov	r1, #0
	mov	r4, r0
	sub	sp, sp, #8
	ldr	r0, [r0]
	bl	dev_get_regmap
	subs	r5, r0, #0
	beq	.L15
	ldr	r3, .L18
	mov	r1, #8
	mov	r0, r4
	ldr	r2, [r3]
	bl	devm_kzalloc
	subs	r6, r0, #0
	beq	.L16
	add	r2, r6, #4
	ldr	r1, .L18+4
	mov	r0, r4
	bl	device_property_read_u32
	cmp	r0, #0
	ldrne	r3, .L18+8
	ldr	r1, .L18+12
	ldrne	r3, [r3]
	mov	r0, r4
	strne	r3, [r6, #4]
	bl	device_property_read_bool
	cmp	r0, #0
	ldrne	r2, .L18+16
	ldreq	r2, .L18+20
	ldrne	r3, .L18+24
	ldreq	r3, .L18+28
	ldr	r7, [r2]
	ldr	r1, .L18+32
	ldr	r2, .L18+36
	mov	r0, r5
	ldr	r3, [r3]
	ldr	r2, [r2]
	ldr	r1, [r1]
	bl	regmap_update_bits
	subs	r5, r0, #0
	bne	.L1
	mov	r0, r4
	ldr	r1, .L18+40
	bl	platform_get_irq_byname
	subs	r5, r0, #0
	blt	.L1
	mov	r0, r4
	ldr	r1, .L18+44
	bl	platform_get_irq_byname
	subs	r8, r0, #0
	blt	.L9
	mov	r0, r4
	bl	devm_input_allocate_device
	cmp	r0, #0
	str	r0, [r6]
	beq	.L17
	ldr	r2, .L18+48
	ldr	ip, .L18+52
	ldr	r2, [r2]
	mov	r1, r7
	str	r2, [r0, #8]
	ldr	r2, .L18+56
	str	ip, [r0]
	str	r2, [r0, #4]
	ldr	r2, [r6, #4]
	bl	input_set_capability
	ldr	r7, .L18+60
	ldr	r0, .L18+64
	ldr	r2, .L18+68
	str	r6, [sp, #4]
	mov	r1, r5
	ldr	r3, [r7]
	ldr	r2, [r2]
	str	r0, [sp]
	mov	r0, r4
	bl	devm_request_any_context_irq
	subs	r5, r0, #0
	blt	.L1
	ldr	ip, .L18+72
	ldr	r2, .L18+76
	str	r6, [sp, #4]
	ldr	r3, [r7]
	ldr	r2, [r2]
	mov	r1, r8
	mov	r0, r4
	str	ip, [sp]
	bl	devm_request_any_context_irq
	subs	r5, r0, #0
	blt	.L1
	ldr	r0, [r6]
	add	sp, sp, #8
	@ sp needed
	pop	{r4, r5, r6, r7, r8, lr}
	b	input_register_device
.L16:
	ldr	r3, .L18+80
	ldr	r0, [r3]
	rsb	r5, r0, #0
.L1:
	mov	r0, r5
	add	sp, sp, #8
	@ sp needed
	pop	{r4, r5, r6, r7, r8, pc}
.L15:
	ldr	r3, .L18+84
	ldr	r0, [r3]
	rsb	r5, r0, #0
	mov	r0, r5
	add	sp, sp, #8
	@ sp needed
	pop	{r4, r5, r6, r7, r8, pc}
.L9:
	mov	r5, r8
	b	.L1
.L17:
	ldr	r3, .L18+80
	ldr	r5, [r3]
	rsb	r5, r5, #0
	b	.L1
.L19:
	.align	2
.L18:
	.word	GFP_KERNEL
	.word	.LC0
	.word	KEY_POWER
	.word	.LC1
	.word	EV_SW
	.word	EV_KEY
	.word	MAX77650_ONKEY_MODE_SLIDE
	.word	MAX77650_ONKEY_MODE_PUSH
	.word	MAX77650_REG_CNFG_GLBL
	.word	MAX77650_ONKEY_MODE_MASK
	.word	.LC2
	.word	.LC3
	.word	BUS_I2C
	.word	.LC4
	.word	.LC5
	.word	IRQF_ONESHOT
	.word	.LC6
	.word	max77650_onkey_falling
	.word	.LC7
	.word	max77650_onkey_rising
	.word	ENOMEM
	.word	ENODEV
	.size	max77650_onkey_probe, .-max77650_onkey_probe
	.comm	max77650_onkey_rising,4,4
	.comm	max77650_onkey_falling,4,4
	.comm	MAX77650_REG_CNFG_GLBL,4,4
	.comm	MAX77650_ONKEY_MODE_SLIDE,4,4
	.comm	MAX77650_ONKEY_MODE_PUSH,4,4
	.comm	MAX77650_ONKEY_MODE_MASK,4,4
	.comm	KEY_POWER,4,4
	.comm	IRQF_ONESHOT,4,4
	.comm	GFP_KERNEL,4,4
	.comm	EV_SW,4,4
	.comm	EV_KEY,4,4
	.comm	ENOMEM,4,4
	.comm	ENODEV,4,4
	.comm	BUS_I2C,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
