	.file	"extr_patch_realtek.c_patch_alc268.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	patch_alc268, @function
patch_alc268:
.LFB0:
	.cfi_startproc
	endbr64
	push	r12
	.cfi_def_cfa_offset 16
	.cfi_offset 12, -16
	xor	esi, esi
	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
	call	alc_alloc_spec@PLT
	mov	r12d, eax
	test	eax, eax
	js	.L1
	mov	rbx, QWORD PTR 8[rbp]
	mov	ecx, DWORD PTR alc268_fixups[rip]
	mov	rdi, rbp
	mov	edx, DWORD PTR alc268_fixup_tbl[rip]
	mov	esi, DWORD PTR alc268_fixup_models[rip]
	mov	DWORD PTR 8[rbx], 1
	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	alc268_parse_auto_config@PLT
	mov	r12d, eax
	test	eax, eax
	js	.L9
	je	.L5
	mov	eax, DWORD PTR 24[rbx]
	test	eax, eax
	jne	.L5
	mov	rax, QWORD PTR 16[rbx]
	cmp	DWORD PTR [rax], 29
	je	.L5
	mov	esi, DWORD PTR alc268_beep_mixer[rip]
	mov	rdi, rbx
	call	add_mixer@PLT
	mov	esi, DWORD PTR alc268_beep_init_verbs[rip]
	mov	rdi, rbp
	call	snd_hda_add_verbs@PLT
	mov	edx, DWORD PTR HDA_INPUT[rip]
	mov	esi, 29
	mov	rdi, rbp
	call	query_amp_caps@PLT
	test	eax, eax
	je	.L10
	.p2align 4,,10
	.p2align 3
.L5:
	mov	eax, DWORD PTR alc_patch_ops[rip]
	mov	esi, DWORD PTR HDA_FIXUP_ACT_PROBE[rip]
	mov	rdi, rbp
	xor	r12d, r12d
	mov	DWORD PTR 0[rbp], eax
	mov	eax, DWORD PTR alc_eapd_shutup[rip]
	mov	DWORD PTR [rbx], eax
	call	snd_hda_apply_fixup@PLT
.L1:
	mov	eax, r12d
	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
.L9:
	.cfi_restore_state
	mov	rdi, rbp
	call	alc_free@PLT
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L10:
	mov	ecx, DWORD PTR AC_AMPCAP_OFFSET_SHIFT[rip]
	mov	edx, 12
	mov	esi, 29
	mov	rdi, rbp
	mov	eax, edx
	sal	eax, cl
	mov	ecx, DWORD PTR AC_AMPCAP_NUM_STEPS_SHIFT[rip]
	sal	edx, cl
	mov	ecx, DWORD PTR AC_AMPCAP_STEP_SIZE_SHIFT[rip]
	or	eax, edx
	mov	edx, 7
	sal	edx, cl
	mov	ecx, edx
	mov	edx, DWORD PTR HDA_INPUT[rip]
	or	ecx, eax
	call	snd_hda_override_amp_caps@PLT
	jmp	.L5
	.cfi_endproc
.LFE0:
	.size	patch_alc268, .-patch_alc268
	.comm	alc_patch_ops,4,4
	.comm	alc_eapd_shutup,4,4
	.comm	alc268_fixups,4,4
	.comm	alc268_fixup_tbl,4,4
	.comm	alc268_fixup_models,4,4
	.comm	alc268_beep_mixer,4,4
	.comm	alc268_beep_init_verbs,4,4
	.comm	HDA_INPUT,4,4
	.comm	HDA_FIXUP_ACT_PROBE,4,4
	.comm	HDA_FIXUP_ACT_PRE_PROBE,4,4
	.comm	AC_AMPCAP_STEP_SIZE_SHIFT,4,4
	.comm	AC_AMPCAP_OFFSET_SHIFT,4,4
	.comm	AC_AMPCAP_NUM_STEPS_SHIFT,4,4
	.comm	AC_AMPCAP_MUTE_SHIFT,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_alc268.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	patch_alc268, %function
patch_alc268:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, lr}
	mov	r1, #0
	mov	r5, r0
	bl	alc_alloc_spec
	subs	r4, r0, #0
	blt	.L1
	mov	r0, #1
	ldr	r6, [r5, #4]
	ldr	r3, .L14
	ldr	r2, .L14+4
	ldr	r1, .L14+8
	ldr	r2, [r2]
	ldr	r3, [r3]
	ldr	r1, [r1]
	str	r0, [r6, #4]
	mov	r0, r5
	bl	snd_hda_pick_fixup
	ldr	r3, .L14+12
	mov	r0, r5
	ldr	r1, [r3]
	bl	snd_hda_apply_fixup
	mov	r0, r5
	bl	alc268_parse_auto_config
	subs	r4, r0, #0
	blt	.L12
	beq	.L5
	ldr	r3, [r6, #12]
	cmp	r3, #0
	bne	.L5
	ldr	r3, [r6, #8]
	ldr	r3, [r3]
	cmp	r3, #29
	beq	.L5
	ldr	r3, .L14+16
	mov	r0, r6
	ldr	r1, [r3]
	bl	add_mixer
	ldr	r3, .L14+20
	ldr	r4, .L14+24
	ldr	r1, [r3]
	mov	r0, r5
	bl	snd_hda_add_verbs
	mov	r1, #29
	mov	r0, r5
	ldr	r2, [r4]
	bl	query_amp_caps
	cmp	r0, #0
	beq	.L13
.L5:
	ldr	r2, .L14+28
	ldr	r3, .L14+32
	ldr	r1, [r2]
	ldr	r2, [r3]
	ldr	r3, .L14+36
	str	r1, [r5]
	mov	r0, r5
	ldr	r1, [r3]
	str	r2, [r6]
	bl	snd_hda_apply_fixup
	mov	r4, #0
.L1:
	mov	r0, r4
	pop	{r4, r5, r6, pc}
.L12:
	mov	r0, r5
	bl	alc_free
	b	.L1
.L13:
	mov	r2, #12
	mov	r0, #7
	ldr	r3, .L14+40
	ldr	r1, .L14+44
	ldr	ip, [r3]
	ldr	r1, [r1]
	ldr	r3, .L14+48
	lsl	r1, r2, r1
	ldr	r3, [r3]
	orr	r1, r1, r2, lsl ip
	orr	r3, r1, r0, lsl r3
	ldr	r2, [r4]
	mov	r1, #29
	mov	r0, r5
	bl	snd_hda_override_amp_caps
	b	.L5
.L15:
	.align	2
.L14:
	.word	alc268_fixups
	.word	alc268_fixup_tbl
	.word	alc268_fixup_models
	.word	HDA_FIXUP_ACT_PRE_PROBE
	.word	alc268_beep_mixer
	.word	alc268_beep_init_verbs
	.word	HDA_INPUT
	.word	alc_patch_ops
	.word	alc_eapd_shutup
	.word	HDA_FIXUP_ACT_PROBE
	.word	AC_AMPCAP_OFFSET_SHIFT
	.word	AC_AMPCAP_NUM_STEPS_SHIFT
	.word	AC_AMPCAP_STEP_SIZE_SHIFT
	.size	patch_alc268, .-patch_alc268
	.comm	alc_patch_ops,4,4
	.comm	alc_eapd_shutup,4,4
	.comm	alc268_fixups,4,4
	.comm	alc268_fixup_tbl,4,4
	.comm	alc268_fixup_models,4,4
	.comm	alc268_beep_mixer,4,4
	.comm	alc268_beep_init_verbs,4,4
	.comm	HDA_INPUT,4,4
	.comm	HDA_FIXUP_ACT_PROBE,4,4
	.comm	HDA_FIXUP_ACT_PRE_PROBE,4,4
	.comm	AC_AMPCAP_STEP_SIZE_SHIFT,4,4
	.comm	AC_AMPCAP_OFFSET_SHIFT,4,4
	.comm	AC_AMPCAP_NUM_STEPS_SHIFT,4,4
	.comm	AC_AMPCAP_MUTE_SHIFT,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
