	.file	"extr_hdaa.c_hdaa_eld_dump.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.8,"aMS",@progbits,1
	.align 8
.LC0:
	.string	"ELD nid=%d: ELD_Ver=%u Baseline_ELD_Len=%u\n"
	.align 8
.LC1:
	.string	"ELD nid=%d: CEA_EDID_Ver=%u MNL=%u\n"
	.align 8
.LC2:
	.string	"ELD nid=%d: SAD_Count=%u Conn_Type=%u S_AI=%u HDCP=%u\n"
	.align 8
.LC3:
	.string	"ELD nid=%d: Aud_Synch_Delay=%ums\n"
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC4:
	.string	"\020\007RLRC\006FLRC\005RC\004RLR\003FC\002LFE\001FLR"
.LC5:
	.string	"ELD nid=%d: Channels=0x%b\n"
	.section	.rodata.str1.8
	.align 8
.LC6:
	.string	"ELD nid=%d: Port_ID=0x%02x%02x%02x%02x%02x%02x%02x%02x\n"
	.align 8
.LC7:
	.string	"ELD nid=%d: Manufacturer_Name=0x%02x%02x\n"
	.align 8
.LC8:
	.string	"ELD nid=%d: Product_Code=0x%02x%02x\n"
	.align 8
.LC9:
	.string	"ELD nid=%d: Monitor_Name_String='%.*s'\n"
	.align 8
.LC10:
	.string	"ELD nid=%d: %s %dch freqs=0x%b"
	.section	.rodata.str1.1
.LC11:
	.string	"\020\007192\006176\00596\00488\00348\00244\00132"
	.text
	.p2align 4
	.type	hdaa_eld_dump, @function
hdaa_eld_dump:
.LFB0:
	.cfi_startproc
	endbr64
	mov	rax, QWORD PTR [rdi]
	test	rax, rax
	je	.L10
	push	r14
	.cfi_def_cfa_offset 16
	.cfi_offset 14, -16
	push	r13
	.cfi_def_cfa_offset 24
	.cfi_offset 13, -24
	push	r12
	.cfi_def_cfa_offset 32
	.cfi_offset 12, -32
	push	rbp
	.cfi_def_cfa_offset 40
	.cfi_offset 6, -40
	push	rbx
	.cfi_def_cfa_offset 48
	.cfi_offset 3, -48
	cmp	DWORD PTR 8[rdi], 3
	mov	rbx, rdi
	jg	.L15
.L1:
	pop	rbx
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	pop	rbp
	.cfi_def_cfa_offset 32
	pop	r12
	.cfi_def_cfa_offset 24
	pop	r13
	.cfi_def_cfa_offset 16
	pop	r14
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L15:
	.cfi_restore_state
	mov	rdx, QWORD PTR 16[rdi]
	mov	ecx, DWORD PTR [rax]
	lea	rsi, .LC0[rip]
	mov	r8d, DWORD PTR 8[rax]
	xor	eax, eax
	mov	ebp, DWORD PTR [rdx]
	mov	edx, DWORD PTR 12[rdi]
	sar	ecx, 3
	mov	edi, ebp
	call	device_printf@PLT
	mov	rdx, QWORD PTR [rbx]
	mov	eax, DWORD PTR [rdx]
	sar	eax, 3
	cmp	eax, 2
	jne	.L1
	mov	esi, DWORD PTR 8[rdx]
	mov	edi, DWORD PTR 8[rbx]
	sal	esi, 2
	call	min@PLT
	mov	rax, QWORD PTR [rbx]
	mov	edx, DWORD PTR 12[rbx]
	mov	edi, ebp
	lea	rsi, .LC1[rip]
	mov	ecx, DWORD PTR 16[rax]
	xor	eax, eax
	mov	r12d, ecx
	sar	ecx, 5
	and	r12d, 31
	mov	r8d, r12d
	call	device_printf@PLT
	mov	rax, QWORD PTR [rbx]
	sub	rsp, 8
	.cfi_def_cfa_offset 56
	mov	edx, DWORD PTR 12[rbx]
	lea	rsi, .LC2[rip]
	mov	edi, ebp
	mov	eax, DWORD PTR 20[rax]
	mov	r13d, eax
	mov	r9d, eax
	mov	r8d, eax
	and	eax, 1
	push	rax
	.cfi_def_cfa_offset 64
	sar	r13d, 4
	sar	r9d
	xor	eax, eax
	sar	r8d, 2
	and	r9d, 1
	mov	ecx, r13d
	and	r8d, 3
	call	device_printf@PLT
	mov	rax, QWORD PTR [rbx]
	mov	edx, DWORD PTR 12[rbx]
	mov	edi, ebp
	lea	rsi, .LC3[rip]
	mov	ecx, DWORD PTR 24[rax]
	xor	eax, eax
	add	ecx, ecx
	call	device_printf@PLT
	mov	rax, QWORD PTR [rbx]
	mov	edx, DWORD PTR 12[rbx]
	mov	edi, ebp
	lea	r8, .LC4[rip]
	lea	rsi, .LC5[rip]
	mov	ecx, DWORD PTR 28[rax]
	xor	eax, eax
	call	device_printf@PLT
	mov	rax, QWORD PTR [rbx]
	mov	edx, DWORD PTR 12[rbx]
	mov	edi, ebp
	mov	esi, DWORD PTR 60[rax]
	mov	r9d, DWORD PTR 40[rax]
	mov	r8d, DWORD PTR 36[rax]
	mov	ecx, DWORD PTR 32[rax]
	mov	DWORD PTR [rsp], esi
	mov	esi, DWORD PTR 56[rax]
	push	rsi
	.cfi_def_cfa_offset 72
	mov	esi, DWORD PTR 52[rax]
	push	rsi
	.cfi_def_cfa_offset 80
	mov	esi, DWORD PTR 48[rax]
	push	rsi
	.cfi_def_cfa_offset 88
	mov	eax, DWORD PTR 44[rax]
	lea	rsi, .LC6[rip]
	push	rax
	.cfi_def_cfa_offset 96
	xor	eax, eax
	call	device_printf@PLT
	mov	rax, QWORD PTR [rbx]
	mov	edx, DWORD PTR 12[rbx]
	add	rsp, 48
	.cfi_def_cfa_offset 48
	lea	rsi, .LC7[rip]
	mov	edi, ebp
	mov	ecx, DWORD PTR 64[rax]
	mov	r8d, DWORD PTR 68[rax]
	xor	eax, eax
	call	device_printf@PLT
	mov	rax, QWORD PTR [rbx]
	mov	edx, DWORD PTR 12[rbx]
	mov	edi, ebp
	lea	rsi, .LC8[rip]
	mov	ecx, DWORD PTR 72[rax]
	mov	r8d, DWORD PTR 76[rax]
	xor	eax, eax
	call	device_printf@PLT
	mov	rax, QWORD PTR [rbx]
	mov	edx, DWORD PTR 12[rbx]
	mov	ecx, r12d
	lea	rsi, .LC9[rip]
	mov	edi, ebp
	lea	r8, 80[rax]
	xor	eax, eax
	call	device_printf@PLT
	test	r13d, r13d
	jle	.L1
	lea	eax, -1[r13]
	lea	r14d, 20[r12]
	movsx	r12, r12d
	lea	rax, [rax+rax*2]
	movsx	r14, r14d
	lea	r13, .LC11[rip]
	lea	r12, 23[rax+r12]
	sal	r14, 2
	sal	r12, 2
	jmp	.L6
	.p2align 4,,10
	.p2align 3
.L13:
	cdqe
	sal	rax, 2
.L5:
	mov	r9d, DWORD PTR 4[rcx]
	mov	rcx, QWORD PTR HDA_HDMI_CODING_TYPES[rip]
	and	edx, 7
	mov	edi, ebp
	sub	rsp, 8
	.cfi_def_cfa_offset 56
	mov	r10d, DWORD PTR 12[rbx]
	lea	r8d, 1[rdx]
	add	r14, 12
	mov	ecx, DWORD PTR [rcx+rax]
	push	r13
	.cfi_def_cfa_offset 64
	lea	rsi, .LC10[rip]
	xor	eax, eax
	mov	edx, r10d
	call	device_printf@PLT
	mov	edi, 10
	call	putchar@PLT
	pop	rax
	.cfi_def_cfa_offset 56
	pop	rdx
	.cfi_def_cfa_offset 48
	cmp	r14, r12
	je	.L1
.L6:
	mov	rcx, QWORD PTR [rbx]
	add	rcx, r14
	mov	edx, DWORD PTR [rcx]
	mov	eax, edx
	sar	eax, 3
	and	eax, 15
	cmp	DWORD PTR HDA_HDMI_CODING_TYPE_REF_CTX[rip], eax
	jne	.L13
	mov	esi, DWORD PTR 8[rcx]
	xor	eax, eax
	sar	esi, 3
	and	esi, 31
	lea	edi, -1[rsi]
	cmp	edi, 2
	ja	.L5
	lea	eax, 14[rsi]
	jmp	.L13
	.p2align 4,,10
	.p2align 3
.L10:
	.cfi_def_cfa_offset 8
	.cfi_restore 3
	.cfi_restore 6
	.cfi_restore 12
	.cfi_restore 13
	.cfi_restore 14
	ret
	.cfi_endproc
.LFE0:
	.size	hdaa_eld_dump, .-hdaa_eld_dump
	.comm	HDA_HDMI_CODING_TYPE_REF_CTX,4,4
	.comm	HDA_HDMI_CODING_TYPES,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_eld_dump.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"ELD nid=%d: ELD_Ver=%u Baseline_ELD_Len=%u\012\000"
	.align	2
.LC1:
	.ascii	"ELD nid=%d: CEA_EDID_Ver=%u MNL=%u\012\000"
	.align	2
.LC2:
	.ascii	"ELD nid=%d: SAD_Count=%u Conn_Type=%u S_AI=%u HDCP="
	.ascii	"%u\012\000"
	.align	2
.LC3:
	.ascii	"ELD nid=%d: Aud_Synch_Delay=%ums\012\000"
	.align	2
.LC4:
	.ascii	"ELD nid=%d: Channels=0x%b\012\000"
	.align	2
.LC5:
	.ascii	"\020\007RLRC\006FLRC\005RC\004RLR\003FC\002LFE\001F"
	.ascii	"LR\000"
	.align	2
.LC6:
	.ascii	"ELD nid=%d: Port_ID=0x%02x%02x%02x%02x%02x%02x%02x%"
	.ascii	"02x\012\000"
	.align	2
.LC7:
	.ascii	"ELD nid=%d: Manufacturer_Name=0x%02x%02x\012\000"
	.align	2
.LC8:
	.ascii	"ELD nid=%d: Product_Code=0x%02x%02x\012\000"
	.align	2
.LC9:
	.ascii	"ELD nid=%d: Monitor_Name_String='%.*s'\012\000"
	.align	2
.LC10:
	.ascii	"ELD nid=%d: %s %dch freqs=0x%b\000"
	.align	2
.LC11:
	.ascii	"\020\007192\006176\00596\00488\00348\00244\00132\000"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	hdaa_eld_dump, %function
hdaa_eld_dump:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	ldr	r2, [r0]
	cmp	r2, #0
	bxeq	lr
	push	{r4, r5, r6, r7, r8, r9, r10, fp, lr}
	ldr	r3, [r0, #4]
	mov	r4, r0
	cmp	r3, #3
	sub	sp, sp, #36
	bgt	.L15
.L1:
	add	sp, sp, #36
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, r10, fp, pc}
.L15:
	ldr	r1, [r0, #12]
	ldr	r3, [r2]
	ldr	r2, [r2, #8]
	ldr	r6, [r1]
	str	r2, [sp]
	ldr	r2, [r4, #8]
	asr	r3, r3, #3
	mov	r0, r6
	ldr	r1, .L16
	bl	device_printf
	ldr	r2, [r4]
	ldr	r3, [r2]
	asr	r3, r3, #3
	cmp	r3, #2
	bne	.L1
	ldr	r1, [r2, #8]
	ldr	r0, [r4, #4]
	lsl	r1, r1, #2
	bl	min
	ldr	r3, [r4]
	ldr	r2, [r4, #8]
	ldr	r3, [r3, #16]
	ldr	r1, .L16+4
	and	r5, r3, #31
	mov	r0, r6
	asr	r3, r3, #5
	str	r5, [sp]
	bl	device_printf
	ldr	r3, [r4]
	ldr	r2, [r4, #8]
	ldr	r3, [r3, #20]
	ldr	r1, .L16+8
	asr	ip, r3, #1
	asr	r0, r3, #2
	and	ip, ip, #1
	asr	r7, r3, #4
	and	r0, r0, #3
	and	r3, r3, #1
	stm	sp, {r0, ip}
	str	r3, [sp, #8]
	mov	r0, r6
	mov	r3, r7
	bl	device_printf
	ldr	r3, [r4]
	ldr	r2, [r4, #8]
	ldr	r3, [r3, #24]
	ldr	r1, .L16+12
	lsl	r3, r3, #1
	mov	r0, r6
	bl	device_printf
	ldr	r3, [r4]
	ldr	r1, .L16+16
	ldr	r3, [r3, #28]
	ldr	r2, [r4, #8]
	mov	r0, r6
	str	r1, [sp]
	ldr	r1, .L16+20
	bl	device_printf
	ldr	r0, [r4]
	ldr	r2, [r4, #8]
	ldr	r1, [r0, #60]
	ldr	r3, [r0, #32]
	str	r1, [sp, #24]
	ldr	r1, [r0, #56]
	str	r1, [sp, #20]
	ldr	ip, [r0, #52]
	ldr	r1, .L16+24
	str	ip, [sp, #16]
	ldr	ip, [r0, #48]
	str	ip, [sp, #12]
	ldr	ip, [r0, #44]
	str	ip, [sp, #8]
	ldr	ip, [r0, #40]
	str	ip, [sp, #4]
	ldr	ip, [r0, #36]
	mov	r0, r6
	str	ip, [sp]
	bl	device_printf
	ldr	r1, [r4]
	ldr	r2, [r4, #8]
	ldr	r3, [r1, #64]
	ldr	r1, [r1, #68]
	mov	r0, r6
	str	r1, [sp]
	ldr	r1, .L16+28
	bl	device_printf
	ldr	r1, [r4]
	ldr	r2, [r4, #8]
	ldr	r3, [r1, #72]
	ldr	r1, [r1, #76]
	mov	r0, r6
	str	r1, [sp]
	ldr	r1, .L16+32
	bl	device_printf
	ldr	r2, [r4]
	mov	r3, r5
	add	r2, r2, #80
	str	r2, [sp]
	mov	r0, r6
	ldr	r2, [r4, #8]
	ldr	r1, .L16+36
	bl	device_printf
	cmp	r7, #0
	ble	.L1
	add	r5, r5, #20
	add	r7, r7, r7, lsl #1
	add	r7, r5, r7
	ldr	r10, .L16+40
	ldr	r9, .L16+44
	ldr	r8, .L16+48
	ldr	fp, .L16+52
	lsl	r7, r7, #2
	lsl	r5, r5, #2
	b	.L6
.L13:
	lsl	r3, r3, #2
.L5:
	ldr	r0, [r9]
	and	r2, r2, #7
	ldr	r3, [r0, r3]
	str	r8, [sp, #8]
	ldr	r1, [r1, #4]
	add	r2, r2, #1
	str	r1, [sp, #4]
	str	r2, [sp]
	mov	r1, fp
	ldr	r2, [r4, #8]
	mov	r0, r6
	bl	device_printf
	add	r5, r5, #12
	mov	r0, #10
	bl	putchar
	cmp	r5, r7
	beq	.L1
.L6:
	ldr	r1, [r4]
	ldr	r0, [r10]
	ldr	r2, [r1, r5]
	add	r1, r1, r5
	asr	r3, r2, #3
	and	r3, r3, #15
	cmp	r0, r3
	bne	.L13
	ldr	r3, [r1, #8]
	asr	r3, r3, #3
	and	r3, r3, #31
	sub	r0, r3, #1
	cmp	r0, #2
	add	r3, r3, #14
	movhi	r3, #0
	bhi	.L5
	b	.L13
.L17:
	.align	2
.L16:
	.word	.LC0
	.word	.LC1
	.word	.LC2
	.word	.LC3
	.word	.LC5
	.word	.LC4
	.word	.LC6
	.word	.LC7
	.word	.LC8
	.word	.LC9
	.word	HDA_HDMI_CODING_TYPE_REF_CTX
	.word	HDA_HDMI_CODING_TYPES
	.word	.LC11
	.word	.LC10
	.size	hdaa_eld_dump, .-hdaa_eld_dump
	.comm	HDA_HDMI_CODING_TYPE_REF_CTX,4,4
	.comm	HDA_HDMI_CODING_TYPES,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
