	.file	"extr_patch_hdmi.c_intel_haswell_fixup_enable_dp12.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	intel_haswell_fixup_enable_dp12, @function
intel_haswell_fixup_enable_dp12:
.LFB0:
	.cfi_startproc
	endbr64
	push	r12
	.cfi_def_cfa_offset 16
	.cfi_offset 12, -16
	mov	ecx, DWORD PTR INTEL_GET_VENDOR_VERB[rip]
	xor	r8d, r8d
	xor	edx, edx
	push	rbp
	.cfi_def_cfa_offset 24
	.cfi_offset 6, -24
	mov	rbp, rdi
	push	rbx
	.cfi_def_cfa_offset 32
	.cfi_offset 3, -32
	mov	r12, QWORD PTR 8[rdi]
	mov	esi, DWORD PTR [r12]
	call	snd_hda_codec_read@PLT
	cmp	eax, -1
	je	.L1
	mov	r8d, DWORD PTR INTEL_EN_DP12[rip]
	test	r8d, eax
	je	.L8
.L1:
	pop	rbx
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	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	esi, DWORD PTR INTEL_SET_VENDOR_VERB[rip]
	mov	ebx, r8d
	mov	rdi, rbp
	or	ebx, eax
	call	snd_hdac_regmap_add_vendor_verb@PLT
	mov	esi, DWORD PTR [r12]
	mov	r8d, ebx
	mov	rdi, rbp
	mov	ecx, DWORD PTR INTEL_SET_VENDOR_VERB[rip]
	pop	rbx
	.cfi_def_cfa_offset 24
	xor	edx, edx
	pop	rbp
	.cfi_def_cfa_offset 16
	pop	r12
	.cfi_def_cfa_offset 8
	jmp	snd_hda_codec_write_cache@PLT
	.cfi_endproc
.LFE0:
	.size	intel_haswell_fixup_enable_dp12, .-intel_haswell_fixup_enable_dp12
	.comm	INTEL_SET_VENDOR_VERB,4,4
	.comm	INTEL_GET_VENDOR_VERB,4,4
	.comm	INTEL_EN_DP12,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_patch_hdmi.c_intel_haswell_fixup_enable_dp12.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	intel_haswell_fixup_enable_dp12, %function
intel_haswell_fixup_enable_dp12:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	mov	r2, #0
	push	{r4, r5, r6, r7, r8, lr}
	ldr	r3, .L9
	ldr	r6, [r0, #4]
	sub	sp, sp, #8
	ldr	r1, [r6]
	ldr	r3, [r3]
	str	r2, [sp]
	mov	r4, r0
	bl	snd_hda_codec_read
	cmn	r0, #1
	beq	.L1
	ldr	r2, .L9+4
	mov	r3, r0
	ldr	ip, [r2]
	ands	r7, ip, r0
	beq	.L8
.L1:
	add	sp, sp, #8
	@ sp needed
	pop	{r4, r5, r6, r7, r8, pc}
.L8:
	ldr	r8, .L9+8
	orr	r5, ip, r3
	ldr	r1, [r8]
	mov	r0, r4
	bl	snd_hdac_regmap_add_vendor_verb
	ldr	r1, [r6]
	mov	r2, r7
	mov	r0, r4
	ldr	r3, [r8]
	str	r5, [sp]
	bl	snd_hda_codec_write_cache
	add	sp, sp, #8
	@ sp needed
	pop	{r4, r5, r6, r7, r8, pc}
.L10:
	.align	2
.L9:
	.word	INTEL_GET_VENDOR_VERB
	.word	INTEL_EN_DP12
	.word	INTEL_SET_VENDOR_VERB
	.size	intel_haswell_fixup_enable_dp12, .-intel_haswell_fixup_enable_dp12
	.comm	INTEL_SET_VENDOR_VERB,4,4
	.comm	INTEL_GET_VENDOR_VERB,4,4
	.comm	INTEL_EN_DP12,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
