	.file	"extr_hdaa.c_hdaa_config_fetch.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"no"
	.text
	.p2align 4
	.type	hdaa_config_fetch, @function
hdaa_config_fetch:
.LFB0:
	.cfi_startproc
	endbr64
	push	r15
	.cfi_def_cfa_offset 16
	.cfi_offset 15, -16
	push	r14
	.cfi_def_cfa_offset 24
	.cfi_offset 14, -24
	xor	r14d, r14d
	push	r13
	.cfi_def_cfa_offset 32
	.cfi_offset 13, -32
	xor	r13d, r13d
	push	r12
	.cfi_def_cfa_offset 40
	.cfi_offset 12, -40
	push	rbp
	.cfi_def_cfa_offset 48
	.cfi_offset 6, -48
	mov	rbp, rdi
	push	rbx
	.cfi_def_cfa_offset 56
	.cfi_offset 3, -56
	sub	rsp, 40
	.cfi_def_cfa_offset 96
	mov	QWORD PTR 16[rsp], rsi
	mov	QWORD PTR 24[rsp], rdx
	.p2align 4,,10
	.p2align 3
.L2:
	lea	r12, 0[rbp+r13]
	movsx	edi, BYTE PTR [r12]
	test	dil, dil
	jne	.L38
.L1:
	add	rsp, 40
	.cfi_remember_state
	.cfi_def_cfa_offset 56
	pop	rbx
	.cfi_def_cfa_offset 48
	pop	rbp
	.cfi_def_cfa_offset 40
	pop	r12
	.cfi_def_cfa_offset 32
	pop	r13
	.cfi_def_cfa_offset 24
	pop	r14
	.cfi_def_cfa_offset 16
	pop	r15
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L38:
	.cfi_restore_state
	cmp	dil, 44
	je	.L4
	call	isspace@PLT
	test	rax, rax
	je	.L39
.L4:
	add	r14d, 1
	movsx	r13, r14d
	jmp	.L2
	.p2align 4,,10
	.p2align 3
.L39:
	movsx	edi, BYTE PTR [r12]
	test	dil, dil
	je	.L1
	mov	r15, r13
	cmp	dil, 44
	jne	.L5
	jmp	.L2
	.p2align 4,,10
	.p2align 3
.L8:
	movsx	edi, BYTE PTR 1[rbp+r15]
	lea	ebx, 1[r15]
	add	r15, 1
	cmp	dil, 44
	je	.L7
	test	dil, dil
	je	.L7
.L5:
	mov	ebx, r15d
	call	isspace@PLT
	test	rax, rax
	je	.L8
.L7:
	mov	eax, ebx
	sub	eax, r14d
	mov	r14d, eax
	cmp	eax, 2
	jg	.L40
	test	eax, eax
	je	.L36
	mov	DWORD PTR 12[rsp], 0
.L11:
	movsx	r15, DWORD PTR 12[rsp]
	xor	r12d, r12d
	sub	r14d, r15d
	add	r15, r13
	add	r15, rbp
.L14:
	mov	rdi, QWORD PTR hdaa_quirks_tab[rip]
	call	nitems@PLT
	cmp	eax, r12d
	jle	.L36
	mov	rax, QWORD PTR hdaa_quirks_tab[rip]
	mov	r13, r12
	mov	edx, r14d
	mov	rdi, r15
	sal	r13, 4
	mov	rsi, QWORD PTR [rax+r13]
	call	strncmp@PLT
	test	rax, rax
	jne	.L12
	mov	rax, QWORD PTR hdaa_quirks_tab[rip]
	mov	rdi, QWORD PTR [rax+r13]
	call	strlen@PLT
	cmp	r14d, eax
	jne	.L12
	mov	edx, DWORD PTR 12[rsp]
	add	r13, QWORD PTR hdaa_quirks_tab[rip]
	mov	eax, DWORD PTR 8[r13]
	test	edx, edx
	jne	.L13
	mov	rcx, QWORD PTR 16[rsp]
	or	DWORD PTR [rcx], eax
	mov	rcx, QWORD PTR 24[rsp]
	mov	eax, DWORD PTR 8[r13]
	movsx	r13, ebx
	mov	r14, r13
	not	eax
	and	DWORD PTR [rcx], eax
	jmp	.L2
	.p2align 4,,10
	.p2align 3
.L12:
	add	r12, 1
	jmp	.L14
	.p2align 4,,10
	.p2align 3
.L13:
	mov	rcx, QWORD PTR 24[rsp]
	mov	rdx, QWORD PTR 16[rsp]
	or	DWORD PTR [rcx], eax
	mov	eax, DWORD PTR 8[r13]
	not	eax
	and	DWORD PTR [rdx], eax
.L36:
	movsx	r13, ebx
	mov	r14, r13
	jmp	.L2
	.p2align 4,,10
	.p2align 3
.L40:
	mov	edx, 2
	lea	rsi, .LC0[rip]
	mov	rdi, r12
	call	strncmp@PLT
	test	rax, rax
	sete	al
	movzx	eax, al
	add	eax, eax
	mov	DWORD PTR 12[rsp], eax
	jmp	.L11
	.cfi_endproc
.LFE0:
	.size	hdaa_config_fetch, .-hdaa_config_fetch
	.comm	hdaa_quirks_tab,8,8
	.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_hdaa.c_hdaa_config_fetch.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	hdaa_config_fetch, %function
hdaa_config_fetch:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, r10, fp, lr}
	mov	r8, r0
	mov	r6, #0
	sub	sp, sp, #20
	stmib	sp, {r0, r1, r2}
.L2:
	ldrb	r0, [r8]	@ zero_extendqisi2
	cmp	r0, #0
	bne	.L37
.L1:
	add	sp, sp, #20
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, r10, fp, pc}
.L37:
	cmp	r0, #44
	beq	.L4
	bl	isspace
	subs	r5, r0, #0
	beq	.L38
.L4:
	ldr	r3, [sp, #4]
	add	r6, r6, #1
	add	r8, r3, r6
	b	.L2
.L38:
	ldrb	r0, [r8]	@ zero_extendqisi2
	cmp	r0, #0
	beq	.L1
	cmp	r0, #44
	beq	.L2
	mov	fp, r8
	mov	r4, r6
.L6:
	bl	isspace
	cmp	r0, #0
	bne	.L7
	ldrb	r0, [fp, #1]!	@ zero_extendqisi2
	add	r4, r4, #1
	cmp	r0, #44
	cmpne	r0, #0
	bne	.L6
.L7:
	sub	r2, r4, r6
	cmp	r2, #2
	ble	.L9
	ldrb	r3, [r8]	@ zero_extendqisi2
	cmp	r3, #110
	bne	.L17
	ldrb	r3, [r8, #1]	@ zero_extendqisi2
	cmp	r3, #111
	moveq	fp, #2
	bne	.L17
.L12:
	ldr	r3, .L39
	add	r6, fp, r6
	ldr	r9, [r3]
	ldr	r3, [sp, #4]
	mov	r0, r9
	add	r6, r3, r6
	sub	r8, r2, fp
	bl	nitems
	cmp	r0, r5
	ble	.L35
.L16:
	ldr	r3, .L39
	mov	r2, r8
	ldr	r9, [r3]
	mov	r0, r6
	ldr	r7, [r9, r5, lsl #3]
	add	r10, r9, r5, lsl #3
	mov	r1, r7
	bl	strncmp
	cmp	r0, #0
	bne	.L13
	mov	r0, r7
	bl	strlen
	cmp	r8, r0
	bne	.L13
	cmp	fp, #0
	mov	r6, r4
	ldr	r1, [r10, #4]
	bne	.L14
	ldr	r2, [sp, #8]
	ldr	r0, [sp, #4]
	ldr	r3, [r2]
	add	r8, r0, r4
	orr	r3, r3, r1
	ldr	r1, [sp, #12]
	str	r3, [r2]
	ldr	r2, [r10, #4]
	ldr	r3, [r1]
	bic	r3, r3, r2
	str	r3, [r1]
	b	.L2
.L13:
	mov	r0, r9
	bl	nitems
	add	r5, r5, #1
	cmp	r0, r5
	bgt	.L16
.L35:
	ldr	r3, [sp, #4]
	mov	r6, r4
	add	r8, r3, r4
	b	.L2
.L9:
	cmp	r2, #0
	beq	.L35
.L17:
	mov	fp, #0
	b	.L12
.L14:
	ldr	r2, [sp, #12]
	ldr	r0, [sp, #4]
	ldr	r3, [r2]
	add	r8, r0, r4
	orr	r3, r3, r1
	ldr	r1, [sp, #8]
	str	r3, [r2]
	ldr	r2, [r10, #4]
	ldr	r3, [r1]
	bic	r3, r3, r2
	str	r3, [r1]
	b	.L2
.L40:
	.align	2
.L39:
	.word	hdaa_quirks_tab
	.size	hdaa_config_fetch, .-hdaa_config_fetch
	.comm	hdaa_quirks_tab,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
