	.file	"extr_88pm860x-codec.c_pm860x_mic_jack_detect.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.globl	pm860x_mic_jack_detect
	.type	pm860x_mic_jack_detect, @function
pm860x_mic_jack_detect:
.LFB0:
	.cfi_startproc
	endbr64
	push	r12
	.cfi_def_cfa_offset 16
	.cfi_offset 12, -16
	mov	r12, rsi
	push	rbp
	.cfi_def_cfa_offset 24
	.cfi_offset 6, -24
	push	rbx
	.cfi_def_cfa_offset 32
	.cfi_offset 3, -32
	mov	ebx, edx
	call	snd_soc_component_get_drvdata@PLT
	mov	QWORD PTR 16[rax], r12
	mov	rbp, rax
	mov	DWORD PTR 8[rax], ebx
	test	DWORD PTR SND_JACK_MICROPHONE[rip], ebx
	jne	.L8
.L2:
	mov	rsi, rbp
	xor	edi, edi
	call	pm860x_component_handler@PLT
	pop	rbx
	.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
.L8:
	.cfi_restore_state
	mov	edx, DWORD PTR MICDET_MASK[rip]
	mov	esi, DWORD PTR REG_MIC_DET[rip]
	mov	edi, DWORD PTR [rax]
	mov	ecx, edx
	call	pm860x_set_bits@PLT
	jmp	.L2
	.cfi_endproc
.LFE0:
	.size	pm860x_mic_jack_detect, .-pm860x_mic_jack_detect
	.comm	SND_JACK_MICROPHONE,4,4
	.comm	REG_MIC_DET,4,4
	.comm	MICDET_MASK,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_88pm860x-codec.c_pm860x_mic_jack_detect.c"
	.text
	.align	2
	.global	pm860x_mic_jack_detect
	.syntax unified
	.arm
	.fpu softvfp
	.type	pm860x_mic_jack_detect, %function
pm860x_mic_jack_detect:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, lr}
	mov	r5, r2
	mov	r6, r1
	bl	snd_soc_component_get_drvdata
	ldr	r3, .L9
	mov	r4, r0
	ldr	r3, [r3]
	str	r6, [r0, #8]
	tst	r5, r3
	str	r5, [r0, #4]
	bne	.L8
.L2:
	mov	r1, r4
	mov	r0, #0
	bl	pm860x_component_handler
	mov	r0, #0
	pop	{r4, r5, r6, pc}
.L8:
	ldr	r3, .L9+4
	ldr	r2, .L9+8
	ldr	r3, [r3]
	ldr	r1, [r2]
	ldr	r0, [r0]
	mov	r2, r3
	bl	pm860x_set_bits
	b	.L2
.L10:
	.align	2
.L9:
	.word	SND_JACK_MICROPHONE
	.word	MICDET_MASK
	.word	REG_MIC_DET
	.size	pm860x_mic_jack_detect, .-pm860x_mic_jack_detect
	.comm	SND_JACK_MICROPHONE,4,4
	.comm	REG_MIC_DET,4,4
	.comm	MICDET_MASK,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
