	.file	"extr_omap-abe-twl6040.c_omap_abe_twl6040_init.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"Headset Jack"
	.text
	.p2align 4
	.type	omap_abe_twl6040_init, @function
omap_abe_twl6040_init:
.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
	push	rbx
	.cfi_def_cfa_offset 48
	.cfi_offset 3, -48
	mov	rax, QWORD PTR 8[rdi]
	mov	rbx, rdi
	mov	rdi, QWORD PTR [rdi]
	mov	r13, QWORD PTR [rax]
	call	snd_soc_card_get_drvdata@PLT
	mov	esi, DWORD PTR TWL6040_TRIM_HSOTRIM[rip]
	mov	rdi, r13
	mov	r12, rax
	call	twl6040_get_trim_value@PLT
	mov	ebp, eax
	mov	edi, eax
	call	TWL6040_HSF_TRIM_RIGHT@PLT
	mov	edi, ebp
	mov	r14d, eax
	call	TWL6040_HSF_TRIM_LEFT@PLT
	mov	edx, r14d
	mov	rdi, rbx
	xor	r14d, r14d
	mov	esi, eax
	call	omap_mcpdm_configure_dn_offsets@PLT
	cmp	QWORD PTR [r12], 0
	jne	.L6
.L1:
	pop	rbx
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	mov	eax, r14d
	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
.L6:
	.cfi_restore_state
	mov	edi, DWORD PTR hs_jack_pins[rip]
	call	ARRAY_SIZE@PLT
	mov	r8d, DWORD PTR hs_jack_pins[rip]
	mov	rdi, QWORD PTR [rbx]
	lea	rcx, hs_jack[rip]
	mov	edx, DWORD PTR SND_JACK_HEADSET[rip]
	mov	r9d, eax
	lea	rsi, .LC0[rip]
	call	snd_soc_card_jack_new@PLT
	mov	r14d, eax
	test	eax, eax
	jne	.L1
	mov	edx, DWORD PTR SND_JACK_HEADSET[rip]
	mov	rdi, r13
	lea	rsi, hs_jack[rip]
	call	twl6040_hs_jack_detect@PLT
	pop	rbx
	.cfi_def_cfa_offset 40
	mov	eax, r14d
	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
	.cfi_endproc
.LFE0:
	.size	omap_abe_twl6040_init, .-omap_abe_twl6040_init
	.comm	hs_jack_pins,4,4
	.comm	hs_jack,4,4
	.comm	TWL6040_TRIM_HSOTRIM,4,4
	.comm	SND_JACK_HEADSET,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_omap-abe-twl6040.c_omap_abe_twl6040_init.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"Headset Jack\000"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	omap_abe_twl6040_init, %function
omap_abe_twl6040_init:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, lr}
	mov	r4, r0
	ldm	r0, {r0, r3}
	sub	sp, sp, #8
	ldr	r7, [r3]
	bl	snd_soc_card_get_drvdata
	ldr	r3, .L9
	mov	r5, r0
	ldr	r1, [r3]
	mov	r0, r7
	bl	twl6040_get_trim_value
	mov	r8, r0
	bl	TWL6040_HSF_TRIM_LEFT
	mov	r6, r0
	mov	r0, r8
	bl	TWL6040_HSF_TRIM_RIGHT
	mov	r1, r6
	mov	r2, r0
	mov	r0, r4
	bl	omap_mcpdm_configure_dn_offsets
	ldr	r5, [r5]
	cmp	r5, #0
	bne	.L8
.L1:
	mov	r0, r5
	add	sp, sp, #8
	@ sp needed
	pop	{r4, r5, r6, r7, r8, pc}
.L8:
	ldr	r3, .L9+4
	ldr	r6, .L9+8
	ldr	r5, [r3]
	ldr	r4, [r4]
	mov	r0, r5
	ldr	r8, [r6]
	bl	ARRAY_SIZE
	str	r5, [sp]
	str	r0, [sp, #4]
	mov	r2, r8
	mov	r0, r4
	ldr	r3, .L9+12
	ldr	r1, .L9+16
	bl	snd_soc_card_jack_new
	subs	r5, r0, #0
	bne	.L1
	mov	r0, r7
	ldr	r2, [r6]
	ldr	r1, .L9+12
	bl	twl6040_hs_jack_detect
	mov	r0, r5
	add	sp, sp, #8
	@ sp needed
	pop	{r4, r5, r6, r7, r8, pc}
.L10:
	.align	2
.L9:
	.word	TWL6040_TRIM_HSOTRIM
	.word	hs_jack_pins
	.word	SND_JACK_HEADSET
	.word	hs_jack
	.word	.LC0
	.size	omap_abe_twl6040_init, .-omap_abe_twl6040_init
	.comm	hs_jack_pins,4,4
	.comm	hs_jack,4,4
	.comm	TWL6040_TRIM_HSOTRIM,4,4
	.comm	SND_JACK_HEADSET,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
