	.file	"extr_hda_jack.c_snd_hda_jack_report_sync.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.globl	snd_hda_jack_report_sync
	.type	snd_hda_jack_report_sync, @function
snd_hda_jack_report_sync:
.LFB0:
	.cfi_startproc
	endbr64
	push	r13
	.cfi_def_cfa_offset 16
	.cfi_offset 13, -16
	push	r12
	.cfi_def_cfa_offset 24
	.cfi_offset 12, -24
	push	rbp
	.cfi_def_cfa_offset 32
	.cfi_offset 6, -32
	push	rbx
	.cfi_def_cfa_offset 40
	.cfi_offset 3, -40
	sub	rsp, 8
	.cfi_def_cfa_offset 48
	mov	edx, DWORD PTR [rdi]
	mov	rbx, QWORD PTR 8[rdi]
	test	edx, edx
	jle	.L1
	mov	r12, rdi
	xor	ebp, ebp
	jmp	.L2
	.p2align 4,,10
	.p2align 3
.L3:
	mov	eax, DWORD PTR [r12]
	add	ebp, 1
	add	rbx, 32
	cmp	eax, ebp
	jle	.L22
.L2:
	cmp	QWORD PTR 24[rbx], 0
	je	.L3
	mov	rsi, rbx
	mov	rdi, r12
	add	ebp, 1
	add	rbx, 32
	call	jack_detect_update@PLT
	mov	eax, DWORD PTR [r12]
	cmp	eax, ebp
	jg	.L2
.L22:
	mov	rbx, QWORD PTR 8[r12]
	test	eax, eax
	jle	.L1
	xor	ebp, ebp
	.p2align 4,,10
	.p2align 3
.L9:
	cmp	QWORD PTR 24[rbx], 0
	je	.L6
	mov	eax, DWORD PTR 8[rbx]
	test	eax, eax
	je	.L6
	cmp	QWORD PTR 16[rbx], 0
	jne	.L6
	mov	edi, DWORD PTR 12[rbx]
	mov	r13d, DWORD PTR [rbx]
	call	get_jack_plug_state@PLT
	test	rax, rax
	je	.L8
	or	r13d, DWORD PTR 4[rbx]
.L8:
	mov	edi, DWORD PTR 8[rbx]
	mov	esi, r13d
	call	snd_jack_report@PLT
	mov	esi, DWORD PTR [rbx]
	test	esi, esi
	jne	.L23
	.p2align 4,,10
	.p2align 3
.L6:
	add	ebp, 1
	add	rbx, 32
	cmp	DWORD PTR [r12], ebp
	jg	.L9
.L1:
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	pop	rbx
	.cfi_def_cfa_offset 32
	pop	rbp
	.cfi_def_cfa_offset 24
	pop	r12
	.cfi_def_cfa_offset 16
	pop	r13
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L23:
	.cfi_restore_state
	mov	edi, DWORD PTR 8[rbx]
	not	esi
	and	esi, r13d
	call	snd_jack_report@PLT
	mov	DWORD PTR [rbx], 0
	jmp	.L6
	.cfi_endproc
.LFE0:
	.size	snd_hda_jack_report_sync, .-snd_hda_jack_report_sync
	.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_hda_jack.c_snd_hda_jack_report_sync.c"
	.text
	.align	2
	.global	snd_hda_jack_report_sync
	.syntax unified
	.arm
	.fpu softvfp
	.type	snd_hda_jack_report_sync, %function
snd_hda_jack_report_sync:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, lr}
	ldm	r0, {r3, r4}
	cmp	r3, #0
	pople	{r4, r5, r6, r7, r8, pc}
	mov	r6, r0
	mov	r5, #0
	b	.L2
.L3:
	cmp	r3, r5
	add	r4, r4, #24
	ble	.L28
.L2:
	ldr	r2, [r4, #20]
	add	r5, r5, #1
	cmp	r2, #0
	beq	.L3
	mov	r1, r4
	mov	r0, r6
	bl	jack_detect_update
	ldr	r3, [r6]
	add	r4, r4, #24
	cmp	r3, r5
	bgt	.L2
.L28:
	cmp	r3, #0
	ldr	r4, [r6, #4]
	pople	{r4, r5, r6, r7, r8, pc}
	mov	r5, #0
	add	r4, r4, #24
	mov	r7, r5
	b	.L9
.L26:
	ldr	r3, [r6]
.L6:
	add	r5, r5, #1
	cmp	r3, r5
	add	r4, r4, #24
	pople	{r4, r5, r6, r7, r8, pc}
.L9:
	ldr	r2, [r4, #-4]
	cmp	r2, #0
	beq	.L6
	ldr	r2, [r4, #-16]
	cmp	r2, #0
	beq	.L6
	ldr	r2, [r4, #-8]
	cmp	r2, #0
	bne	.L6
	ldr	r0, [r4, #-12]
	ldr	r8, [r4, #-24]
	bl	get_jack_plug_state
	cmp	r0, #0
	ldrne	r3, [r4, #-20]
	ldr	r0, [r4, #-16]
	orrne	r8, r8, r3
	mov	r1, r8
	bl	snd_jack_report
	ldr	r1, [r4, #-24]
	cmp	r1, #0
	beq	.L26
	ldr	r0, [r4, #-16]
	bic	r1, r8, r1
	bl	snd_jack_report
	str	r7, [r4, #-24]
	b	.L26
	.size	snd_hda_jack_report_sync, .-snd_hda_jack_report_sync
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
