	.file	"extr_extcon-adc-jack.c_adc_jack_probe.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.8,"aMS",@progbits,1
	.align 8
.LC0:
	.string	"error: cable_names not defined.\n"
	.align 8
.LC1:
	.string	"failed to allocate extcon device\n"
	.align 8
.LC2:
	.string	"error: adc_conditions not defined.\n"
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC3:
	.string	"error: irq %d\n"
	.text
	.p2align 4
	.type	adc_jack_probe, @function
adc_jack_probe:
.LFB0:
	.cfi_startproc
	endbr64
	push	r14
	.cfi_def_cfa_offset 16
	.cfi_offset 14, -16
	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
	call	dev_get_platdata@PLT
	mov	edx, DWORD PTR GFP_KERNEL[rip]
	mov	esi, 64
	mov	rdi, rbp
	mov	r12, rax
	call	devm_kzalloc@PLT
	test	rax, rax
	je	.L16
	mov	esi, DWORD PTR 32[r12]
	test	esi, esi
	je	.L19
	mov	QWORD PTR 56[rax], rbp
	mov	rdi, rbp
	mov	rbx, rax
	call	devm_extcon_dev_allocate@PLT
	mov	DWORD PTR 32[rbx], eax
	mov	edi, eax
	call	IS_ERR@PLT
	test	rax, rax
	jne	.L20
	mov	rdx, QWORD PTR 24[r12]
	test	rdx, rdx
	je	.L21
	mov	QWORD PTR 48[rbx], rdx
	mov	rcx, QWORD PTR EXTCON_NONE[rip]
	cmp	QWORD PTR [rdx], rcx
	je	.L13
	mov	eax, 1
	.p2align 4,,10
	.p2align 3
.L8:
	mov	esi, eax
	add	rax, 1
	cmp	QWORD PTR -8[rdx+rax*8], rcx
	jne	.L8
.L7:
	mov	DWORD PTR [rbx], esi
	mov	esi, DWORD PTR 20[r12]
	mov	rdi, rbp
	call	iio_channel_get@PLT
	mov	DWORD PTR 40[rbx], eax
	mov	edi, eax
	call	IS_ERR@PLT
	test	rax, rax
	jne	.L22
	mov	edi, DWORD PTR 16[r12]
	lea	r14, 16[rbx]
	call	msecs_to_jiffies@PLT
	mov	rsi, QWORD PTR adc_jack_handler@GOTPCREL[rip]
	mov	rdi, r14
	mov	DWORD PTR 36[rbx], eax
	mov	rax, QWORD PTR 8[r12]
	mov	QWORD PTR 24[rbx], rax
	call	INIT_DEFERRABLE_WORK@PLT
	mov	rsi, rbx
	mov	rdi, rbp
	call	platform_set_drvdata@PLT
	mov	esi, DWORD PTR 32[rbx]
	mov	rdi, rbp
	call	devm_extcon_dev_register@PLT
	mov	r13d, eax
	test	eax, eax
	je	.L23
.L1:
	pop	rbx
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	mov	eax, r13d
	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
.L20:
	.cfi_restore_state
	lea	rsi, .LC1[rip]
	mov	rdi, rbp
	xor	eax, eax
	call	dev_err@PLT
.L16:
	mov	r13d, DWORD PTR ENOMEM[rip]
	pop	rbx
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	pop	rbp
	.cfi_def_cfa_offset 32
	pop	r12
	.cfi_def_cfa_offset 24
	neg	r13d
	mov	eax, r13d
	pop	r13
	.cfi_def_cfa_offset 16
	pop	r14
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L19:
	.cfi_restore_state
	lea	rsi, .LC0[rip]
.L17:
	mov	rdi, rbp
	xor	eax, eax
	call	dev_err@PLT
	mov	r13d, DWORD PTR EINVAL[rip]
	pop	rbx
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	pop	rbp
	.cfi_def_cfa_offset 32
	pop	r12
	.cfi_def_cfa_offset 24
	neg	r13d
	mov	eax, r13d
	pop	r13
	.cfi_def_cfa_offset 16
	pop	r14
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L23:
	.cfi_restore_state
	mov	rdi, rbp
	xor	esi, esi
	call	platform_get_irq@PLT
	mov	QWORD PTR 8[rbx], rax
	mov	rdi, rax
	test	rax, rax
	js	.L24
	mov	edx, DWORD PTR 4[r12]
	mov	ecx, DWORD PTR [r12]
	mov	r8, rbx
	mov	esi, DWORD PTR adc_jack_irq_thread[rip]
	call	request_any_context_irq@PLT
	mov	r12d, eax
	test	eax, eax
	js	.L25
	cmp	QWORD PTR 24[rbx], 0
	jne	.L26
.L12:
	mov	rdi, r14
	call	adc_jack_handler@PLT
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L22:
	mov	edi, DWORD PTR 40[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	PTR_ERR@PLT
	.p2align 4,,10
	.p2align 3
.L24:
	.cfi_restore_state
	mov	r13d, DWORD PTR ENODEV[rip]
	neg	r13d
	jmp	.L1
.L26:
	mov	esi, 1
	mov	rdi, rbp
	call	device_init_wakeup@PLT
	jmp	.L12
	.p2align 4,,10
	.p2align 3
.L13:
	xor	esi, esi
	jmp	.L7
	.p2align 4,,10
	.p2align 3
.L21:
	lea	rsi, .LC2[rip]
	jmp	.L17
.L25:
	mov	rdx, QWORD PTR 8[rbx]
	lea	rsi, .LC3[rip]
	mov	rdi, rbp
	xor	eax, eax
	mov	r13d, r12d
	call	dev_err@PLT
	jmp	.L1
	.cfi_endproc
.LFE0:
	.size	adc_jack_probe, .-adc_jack_probe
	.comm	adc_jack_irq_thread,4,4
	.comm	GFP_KERNEL,4,4
	.comm	EXTCON_NONE,8,8
	.comm	ENOMEM,4,4
	.comm	ENODEV,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_extcon-adc-jack.c_adc_jack_probe.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"error: cable_names not defined.\012\000"
	.align	2
.LC1:
	.ascii	"failed to allocate extcon device\012\000"
	.align	2
.LC2:
	.ascii	"error: adc_conditions not defined.\012\000"
	.align	2
.LC3:
	.ascii	"error: irq %d\012\000"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	adc_jack_probe, %function
adc_jack_probe:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, lr}
	sub	sp, sp, #8
	mov	r5, r0
	bl	dev_get_platdata
	ldr	r3, .L28
	mov	r6, r0
	mov	r1, #36
	mov	r0, r5
	ldr	r2, [r3]
	bl	devm_kzalloc
	subs	r4, r0, #0
	beq	.L18
	ldr	r1, [r6, #24]
	cmp	r1, #0
	beq	.L20
	mov	r0, r5
	str	r5, [r4, #32]
	bl	devm_extcon_dev_allocate
	str	r0, [r4, #16]
	bl	IS_ERR
	subs	r3, r0, #0
	bne	.L21
	ldr	r2, [r6, #20]
	cmp	r2, #0
	beq	.L22
	ldr	r0, .L28+4
	ldr	r1, [r2]
	ldr	r0, [r0]
	str	r2, [r4, #28]
	cmp	r1, r0
	beq	.L7
.L8:
	ldr	r1, [r2, #4]!
	add	r3, r3, #1
	cmp	r1, r0
	bne	.L8
.L7:
	ldr	r1, [r6, #16]
	str	r3, [r4]
	mov	r0, r5
	bl	iio_channel_get
	str	r0, [r4, #24]
	bl	IS_ERR
	cmp	r0, #0
	bne	.L23
	ldr	r0, [r6, #12]
	bl	msecs_to_jiffies
	ldr	r3, [r6, #8]
	add	r8, r4, #8
	str	r3, [r4, #12]
	ldr	r1, .L28+8
	str	r0, [r4, #20]
	mov	r0, r8
	bl	INIT_DEFERRABLE_WORK
	mov	r1, r4
	mov	r0, r5
	bl	platform_set_drvdata
	mov	r0, r5
	ldr	r1, [r4, #16]
	bl	devm_extcon_dev_register
	subs	r7, r0, #0
	beq	.L24
.L1:
	mov	r0, r7
	add	sp, sp, #8
	@ sp needed
	pop	{r4, r5, r6, r7, r8, pc}
.L21:
	mov	r0, r5
	ldr	r1, .L28+12
	bl	dev_err
.L18:
	ldr	r3, .L28+16
	ldr	r7, [r3]
	rsb	r7, r7, #0
	mov	r0, r7
	add	sp, sp, #8
	@ sp needed
	pop	{r4, r5, r6, r7, r8, pc}
.L20:
	mov	r0, r5
	ldr	r1, .L28+20
	bl	dev_err
	ldr	r3, .L28+24
	ldr	r7, [r3]
	rsb	r7, r7, #0
	mov	r0, r7
	add	sp, sp, #8
	@ sp needed
	pop	{r4, r5, r6, r7, r8, pc}
.L24:
	mov	r1, r7
	mov	r0, r5
	bl	platform_get_irq
	cmp	r0, #0
	str	r0, [r4, #4]
	blt	.L25
	ldr	r1, .L28+28
	ldr	r3, [r6]
	ldr	r2, [r6, #4]
	str	r4, [sp]
	ldr	r1, [r1]
	bl	request_any_context_irq
	subs	r3, r0, #0
	blt	.L26
	ldr	r3, [r4, #12]
	cmp	r3, #0
	bne	.L27
.L12:
	mov	r0, r8
	bl	adc_jack_handler
	b	.L1
.L23:
	ldr	r0, [r4, #24]
	add	sp, sp, #8
	@ sp needed
	pop	{r4, r5, r6, r7, r8, lr}
	b	PTR_ERR
.L25:
	ldr	r3, .L28+32
	ldr	r7, [r3]
	rsb	r7, r7, #0
	b	.L1
.L27:
	mov	r0, r5
	mov	r1, #1
	bl	device_init_wakeup
	b	.L12
.L22:
	mov	r0, r5
	ldr	r1, .L28+36
	bl	dev_err
	ldr	r3, .L28+24
	ldr	r7, [r3]
	rsb	r7, r7, #0
	b	.L1
.L26:
	mov	r0, r5
	ldr	r2, [r4, #4]
	ldr	r1, .L28+40
	mov	r7, r3
	bl	dev_err
	b	.L1
.L29:
	.align	2
.L28:
	.word	GFP_KERNEL
	.word	EXTCON_NONE
	.word	adc_jack_handler
	.word	.LC1
	.word	ENOMEM
	.word	.LC0
	.word	EINVAL
	.word	adc_jack_irq_thread
	.word	ENODEV
	.word	.LC2
	.word	.LC3
	.size	adc_jack_probe, .-adc_jack_probe
	.comm	adc_jack_irq_thread,4,4
	.comm	GFP_KERNEL,4,4
	.comm	EXTCON_NONE,4,4
	.comm	ENOMEM,4,4
	.comm	ENODEV,4,4
	.comm	EINVAL,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
