	.file	"extr_patch_realtek.c_patch_alc882.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	patch_alc882, @function
patch_alc882:
.LFB0:
	.cfi_startproc
	endbr64
	push	r13
	.cfi_def_cfa_offset 16
	.cfi_offset 13, -16
	mov	esi, 11
	push	r12
	.cfi_def_cfa_offset 24
	.cfi_offset 12, -24
	push	rbp
	.cfi_def_cfa_offset 32
	.cfi_offset 6, -32
	mov	rbp, rdi
	call	alc_alloc_spec@PLT
	mov	r12d, eax
	test	eax, eax
	js	.L1
	mov	eax, DWORD PTR 0[rbp]
	mov	r13, QWORD PTR 8[rbp]
	cmp	eax, 283904256
	je	.L3
	jg	.L4
	cmp	eax, 283904130
	je	.L3
	cmp	eax, 283904133
	jne	.L5
.L3:
	mov	rdi, rbp
	call	alc_pre_init@PLT
	mov	ecx, DWORD PTR alc882_fixups[rip]
	mov	edx, DWORD PTR alc882_fixup_tbl[rip]
	mov	rdi, rbp
	mov	esi, DWORD PTR alc882_fixup_models[rip]
	call	snd_hda_pick_fixup@PLT
	mov	esi, DWORD PTR HDA_FIXUP_ACT_PRE_PROBE[rip]
	mov	rdi, rbp
	call	snd_hda_apply_fixup@PLT
	mov	rdi, rbp
	call	alc_auto_parse_customize_define@PLT
	mov	rdi, rbp
	call	has_cdefine_beep@PLT
	test	rax, rax
	jne	.L27
	mov	rdi, rbp
	call	alc882_parse_auto_config@PLT
	mov	r12d, eax
	test	eax, eax
	js	.L7
.L29:
	mov	edx, DWORD PTR 4[r13]
	test	edx, edx
	jne	.L9
	mov	eax, DWORD PTR 0[r13]
	test	eax, eax
	jne	.L28
.L9:
	mov	esi, DWORD PTR HDA_FIXUP_ACT_PROBE[rip]
	mov	rdi, rbp
	xor	r12d, r12d
	call	snd_hda_apply_fixup@PLT
.L1:
	mov	eax, r12d
	pop	rbp
	.cfi_remember_state
	.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
.L4:
	.cfi_restore_state
	cmp	eax, 283906592
	je	.L3
.L5:
	mov	ecx, 10
	mov	edx, 10
	mov	esi, 32
	mov	rdi, rbp
	call	alc_fix_pll_init@PLT
	jmp	.L3
	.p2align 4,,10
	.p2align 3
.L27:
	mov	DWORD PTR 0[r13], 1
	mov	rdi, rbp
	call	alc882_parse_auto_config@PLT
	mov	r12d, eax
	test	eax, eax
	jns	.L29
.L7:
	mov	rdi, rbp
	call	alc_free@PLT
	mov	eax, r12d
	pop	rbp
	.cfi_remember_state
	.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
.L28:
	.cfi_restore_state
	mov	ecx, DWORD PTR HDA_INPUT[rip]
	mov	edx, 5
	mov	esi, 11
	mov	rdi, r13
	call	set_beep_amp@PLT
	mov	r12d, eax
	test	eax, eax
	jns	.L9
	jmp	.L7
	.cfi_endproc
.LFE0:
	.size	patch_alc882, .-patch_alc882
	.comm	alc882_fixups,4,4
	.comm	alc882_fixup_tbl,4,4
	.comm	alc882_fixup_models,4,4
	.comm	HDA_INPUT,4,4
	.comm	HDA_FIXUP_ACT_PROBE,4,4
	.comm	HDA_FIXUP_ACT_PRE_PROBE,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_realtek.c_patch_alc882.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	patch_alc882, %function
patch_alc882:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, lr}
	mov	r1, #11
	mov	r4, r0
	bl	alc_alloc_spec
	subs	r5, r0, #0
	blt	.L1
	ldr	r3, [r4]
	ldr	r2, .L19
	ldr	r6, [r4, #4]
	cmp	r3, r2
	beq	.L3
	bgt	.L4
	sub	r2, r2, #126
	cmp	r3, r2
	beq	.L3
	add	r2, r2, #3
	cmp	r3, r2
	bne	.L5
.L3:
	mov	r0, r4
	bl	alc_pre_init
	ldr	r3, .L19+4
	ldr	r2, .L19+8
	ldr	r1, .L19+12
	ldr	r2, [r2]
	ldr	r3, [r3]
	ldr	r1, [r1]
	mov	r0, r4
	bl	snd_hda_pick_fixup
	ldr	r3, .L19+16
	mov	r0, r4
	ldr	r1, [r3]
	bl	snd_hda_apply_fixup
	mov	r0, r4
	bl	alc_auto_parse_customize_define
	mov	r0, r4
	bl	has_cdefine_beep
	cmp	r0, #0
	movne	r3, #1
	mov	r0, r4
	strne	r3, [r6]
	bl	alc882_parse_auto_config
	subs	r5, r0, #0
	blt	.L7
	ldr	r3, [r6, #4]
	cmp	r3, #0
	bne	.L9
	ldr	r3, [r6]
	cmp	r3, #0
	bne	.L18
.L9:
	ldr	r3, .L19+20
	mov	r0, r4
	ldr	r1, [r3]
	bl	snd_hda_apply_fixup
	mov	r5, #0
.L1:
	mov	r0, r5
	pop	{r4, r5, r6, pc}
.L4:
	ldr	r2, .L19+24
	cmp	r3, r2
	beq	.L3
.L5:
	mov	r3, #10
	mov	r1, #32
	mov	r2, r3
	mov	r0, r4
	bl	alc_fix_pll_init
	b	.L3
.L18:
	ldr	r3, .L19+28
	mov	r0, r6
	mov	r2, #5
	mov	r1, #11
	ldr	r3, [r3]
	bl	set_beep_amp
	subs	r5, r0, #0
	bge	.L9
.L7:
	mov	r0, r4
	bl	alc_free
	mov	r0, r5
	pop	{r4, r5, r6, pc}
.L20:
	.align	2
.L19:
	.word	283904256
	.word	alc882_fixups
	.word	alc882_fixup_tbl
	.word	alc882_fixup_models
	.word	HDA_FIXUP_ACT_PRE_PROBE
	.word	HDA_FIXUP_ACT_PROBE
	.word	283906592
	.word	HDA_INPUT
	.size	patch_alc882, .-patch_alc882
	.comm	alc882_fixups,4,4
	.comm	alc882_fixup_tbl,4,4
	.comm	alc882_fixup_models,4,4
	.comm	HDA_INPUT,4,4
	.comm	HDA_FIXUP_ACT_PROBE,4,4
	.comm	HDA_FIXUP_ACT_PRE_PROBE,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
