	.file	"extr_intel_hdmi.c_intel_hdmi_compute_config.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.8,"aMS",@progbits,1
	.align 8
.LC0:
	.string	"Can't support YCBCR420 output\n"
	.align 8
.LC1:
	.string	"picking bpc to 12 for HDMI output\n"
	.align 8
.LC2:
	.string	"picking bpc to 10 for HDMI output\n"
	.align 8
.LC3:
	.string	"picking bpc to 8 for HDMI output\n"
	.align 8
.LC4:
	.string	"forcing pipe bpp to %i for HDMI\n"
	.align 8
.LC5:
	.string	"unsupported HDMI clock, rejecting mode\n"
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC6:
	.string	"bad AVI infoframe\n"
.LC7:
	.string	"bad SPD infoframe\n"
.LC8:
	.string	"bad HDMI infoframe\n"
.LC9:
	.string	"bad DRM infoframe\n"
	.text
	.p2align 4
	.globl	intel_hdmi_compute_config
	.type	intel_hdmi_compute_config, @function
intel_hdmi_compute_config:
.LFB0:
	.cfi_startproc
	endbr64
	push	r15
	.cfi_def_cfa_offset 16
	.cfi_offset 15, -16
	mov	r15, rsi
	push	r14
	.cfi_def_cfa_offset 24
	.cfi_offset 14, -24
	push	r13
	.cfi_def_cfa_offset 32
	.cfi_offset 13, -32
	push	r12
	.cfi_def_cfa_offset 40
	.cfi_offset 12, -40
	mov	r12, rdx
	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, 88
	.cfi_def_cfa_offset 144
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 72[rsp], rax
	xor	eax, eax
	call	enc_to_intel_hdmi@PLT
	mov	edi, DWORD PTR 0[rbp]
	mov	r14, rax
	call	to_i915@PLT
	mov	rdi, r12
	mov	QWORD PTR 16[rsp], rax
	mov	rax, QWORD PTR 8[r12]
	mov	QWORD PTR 8[rsp], rax
	call	to_intel_digital_connector_state@PLT
	mov	rbx, rax
	mov	eax, DWORD PTR 52[r15]
	lea	ecx, [rax+rax*4]
	mov	DWORD PTR 60[rsp], eax
	test	ecx, ecx
	lea	edx, 3[rcx]
	cmovns	edx, ecx
	sar	edx, 2
	mov	DWORD PTR 64[rsp], edx
	lea	edx, [rax+rax*2]
	mov	eax, edx
	shr	eax, 31
	add	eax, edx
	sar	eax
	mov	DWORD PTR 68[rsp], eax
	mov	eax, DWORD PTR 56[r15]
	mov	r13d, eax
	and	r13d, DWORD PTR DRM_MODE_FLAG_DBLSCAN[rip]
	jne	.L45
	mov	rcx, QWORD PTR [rbx]
	mov	edx, DWORD PTR INTEL_OUTPUT_FORMAT_RGB[rip]
	lea	r8, 52[r15]
	mov	rdi, QWORD PTR HDMI_AUDIO_OFF_DVI[rip]
	mov	rsi, QWORD PTR INTEL_BROADCAST_RGB_AUTO[rip]
	mov	DWORD PTR 48[r15], edx
	mov	rdx, QWORD PTR 8[rbx]
	mov	QWORD PTR 24[rsp], rcx
	mov	QWORD PTR 32[rsp], rdi
	cmp	rcx, rdi
	je	.L4
	cmp	QWORD PTR 8[r14], 0
	je	.L4
	movabs	rcx, 4294967297
	mov	QWORD PTR [r15], rcx
	cmp	rsi, rdx
	je	.L47
.L6:
	xor	ecx, ecx
	cmp	QWORD PTR INTEL_BROADCAST_RGB_LIMITED[rip], rdx
	sete	cl
.L7:
	mov	DWORD PTR 8[r15], ecx
	test	DWORD PTR DRM_MODE_FLAG_DBLCLK[rip], eax
	je	.L8
	mov	DWORD PTR 12[r15], 2
	sal	DWORD PTR 60[rsp]
	sal	DWORD PTR 64[rsp]
	sal	DWORD PTR 68[rsp]
.L8:
	mov	rdi, QWORD PTR 8[rsp]
	mov	rsi, r8
	call	drm_mode_is_420_only@PLT
	test	rax, rax
	je	.L9
	mov	rdi, QWORD PTR 8[rsp]
	lea	rcx, 64[rsp]
	lea	rdx, 68[rsp]
	mov	rsi, r15
	lea	r8, 60[rsp]
	call	intel_hdmi_ycbcr420_config@PLT
	test	eax, eax
	je	.L48
.L9:
	mov	rdi, QWORD PTR 16[rsp]
	call	HAS_PCH_SPLIT@PLT
	test	rax, rax
	jne	.L49
.L11:
	mov	edx, DWORD PTR [r15]
	test	edx, edx
	je	.L13
	mov	rax, QWORD PTR [rbx]
	cmp	rax, QWORD PTR HDMI_AUDIO_AUTO[rip]
	je	.L50
	cmp	QWORD PTR HDMI_AUDIO_ON[rip], rax
	sete	al
	movzx	eax, al
	mov	DWORD PTR 20[r15], eax
.L13:
	mov	rbx, QWORD PTR 32[rsp]
	cmp	QWORD PTR 24[rsp], rbx
	mov	esi, 12
	mov	rdi, r15
	sete	bl
	movzx	ebx, bl
	call	hdmi_deep_color_possible@PLT
	test	rax, rax
	je	.L15
	mov	esi, DWORD PTR 68[rsp]
	mov	ecx, ebx
	mov	edx, 1
	mov	rdi, r14
	call	hdmi_port_clock_valid@PLT
	cmp	rax, QWORD PTR MODE_OK[rip]
	je	.L51
.L15:
	mov	esi, 10
	mov	rdi, r15
	call	hdmi_deep_color_possible@PLT
	test	rax, rax
	je	.L17
	mov	esi, DWORD PTR 64[rsp]
	mov	ecx, ebx
	mov	edx, 1
	mov	rdi, r14
	call	hdmi_port_clock_valid@PLT
	cmp	rax, QWORD PTR MODE_OK[rip]
	je	.L52
.L17:
	lea	rdi, .LC3[rip]
	xor	eax, eax
	call	DRM_DEBUG_KMS@PLT
	mov	eax, DWORD PTR 60[rsp]
	mov	edx, 24
	mov	DWORD PTR 24[r15], eax
.L16:
	mov	eax, DWORD PTR 44[r15]
	test	eax, eax
	je	.L53
.L18:
	mov	esi, DWORD PTR 24[r15]
	xor	edx, edx
	mov	ecx, ebx
	mov	rdi, r14
	call	hdmi_port_clock_valid@PLT
	cmp	rax, QWORD PTR MODE_OK[rip]
	jne	.L54
	mov	eax, DWORD PTR [r12]
	mov	DWORD PTR 32[r15], 4
	mov	DWORD PTR 60[r15], eax
	mov	rax, QWORD PTR 8[rsp]
	cmp	QWORD PTR 8[rax], 0
	jne	.L55
.L21:
	mov	rdx, r12
	mov	rsi, r15
	mov	rdi, rbp
	call	intel_hdmi_compute_gcp_infoframe@PLT
	mov	rdx, r12
	mov	rsi, r15
	mov	rdi, rbp
	call	intel_hdmi_compute_avi_infoframe@PLT
	test	eax, eax
	je	.L56
	mov	rdx, r12
	mov	rsi, r15
	mov	rdi, rbp
	call	intel_hdmi_compute_spd_infoframe@PLT
	test	eax, eax
	je	.L57
	mov	rdx, r12
	mov	rsi, r15
	mov	rdi, rbp
	call	intel_hdmi_compute_hdmi_infoframe@PLT
	test	eax, eax
	je	.L58
	mov	rdx, r12
	mov	rsi, r15
	mov	rdi, rbp
	call	intel_hdmi_compute_drm_infoframe@PLT
	test	eax, eax
	jne	.L1
	lea	rdi, .LC9[rip]
	call	DRM_DEBUG_KMS@PLT
	.p2align 4,,10
	.p2align 3
.L45:
	mov	r13d, DWORD PTR EINVAL[rip]
	neg	r13d
.L1:
	mov	rax, QWORD PTR 72[rsp]
	xor	rax, QWORD PTR fs:40
	jne	.L59
	add	rsp, 88
	.cfi_remember_state
	.cfi_def_cfa_offset 56
	mov	eax, r13d
	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
.L4:
	.cfi_restore_state
	mov	DWORD PTR [r15], 0
	xor	ecx, ecx
	cmp	rsi, rdx
	jne	.L6
	jmp	.L7
	.p2align 4,,10
	.p2align 3
.L50:
	mov	eax, DWORD PTR [r14]
	mov	DWORD PTR 20[r15], eax
	jmp	.L13
	.p2align 4,,10
	.p2align 3
.L57:
	lea	rdi, .LC7[rip]
	call	DRM_DEBUG_KMS@PLT
	mov	r13d, DWORD PTR EINVAL[rip]
	neg	r13d
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L49:
	mov	rdi, QWORD PTR 16[rsp]
	call	HAS_DDI@PLT
	test	eax, eax
	jne	.L11
	mov	DWORD PTR 16[r15], 1
	jmp	.L11
	.p2align 4,,10
	.p2align 3
.L54:
	lea	rdi, .LC5[rip]
	xor	eax, eax
	call	DRM_DEBUG_KMS@PLT
	mov	r13d, DWORD PTR EINVAL[rip]
	neg	r13d
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L53:
	mov	esi, edx
	lea	rdi, .LC4[rip]
	xor	eax, eax
	mov	DWORD PTR 24[rsp], edx
	call	DRM_DEBUG_KMS@PLT
	mov	edx, DWORD PTR 24[rsp]
	mov	DWORD PTR 28[r15], edx
	jmp	.L18
	.p2align 4,,10
	.p2align 3
.L56:
	lea	rdi, .LC6[rip]
	call	DRM_DEBUG_KMS@PLT
	mov	r13d, DWORD PTR EINVAL[rip]
	neg	r13d
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L55:
	mov	rdi, QWORD PTR 16[rsp]
	call	INTEL_GEN@PLT
	cmp	eax, 9
	jle	.L22
.L25:
	mov	rax, QWORD PTR 8[rsp]
	cmp	QWORD PTR [rax], 0
	je	.L24
	mov	DWORD PTR 36[r15], 1
.L24:
	cmp	DWORD PTR 24[r15], 340000
	jle	.L21
	movabs	rax, 4294967297
	mov	QWORD PTR 36[r15], rax
	jmp	.L21
	.p2align 4,,10
	.p2align 3
.L47:
	mov	rdi, r8
	mov	QWORD PTR 40[rsp], r8
	call	drm_default_rgb_quant_range@PLT
	xor	ecx, ecx
	cmp	QWORD PTR HDMI_QUANTIZATION_RANGE_LIMITED[rip], rax
	mov	eax, DWORD PTR 56[r15]
	mov	r8, QWORD PTR 40[rsp]
	sete	cl
	jmp	.L7
	.p2align 4,,10
	.p2align 3
.L48:
	lea	rdi, .LC0[rip]
	call	DRM_ERROR@PLT
	mov	r13d, DWORD PTR EINVAL[rip]
	neg	r13d
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L51:
	lea	rdi, .LC1[rip]
	xor	eax, eax
	call	DRM_DEBUG_KMS@PLT
	mov	eax, DWORD PTR 68[rsp]
	mov	edx, 36
	mov	DWORD PTR 24[r15], eax
	jmp	.L16
	.p2align 4,,10
	.p2align 3
.L58:
	lea	rdi, .LC8[rip]
	call	DRM_DEBUG_KMS@PLT
	mov	r13d, DWORD PTR EINVAL[rip]
	neg	r13d
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L52:
	lea	rdi, .LC2[rip]
	xor	eax, eax
	call	DRM_DEBUG_KMS@PLT
	mov	eax, DWORD PTR 64[rsp]
	mov	edx, 30
	mov	DWORD PTR 24[r15], eax
	jmp	.L16
	.p2align 4,,10
	.p2align 3
.L22:
	mov	rdi, QWORD PTR 16[rsp]
	call	IS_GEMINILAKE@PLT
	test	rax, rax
	jne	.L25
	jmp	.L21
.L59:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	intel_hdmi_compute_config, .-intel_hdmi_compute_config
	.comm	MODE_OK,8,8
	.comm	INTEL_OUTPUT_FORMAT_RGB,4,4
	.comm	INTEL_BROADCAST_RGB_LIMITED,8,8
	.comm	INTEL_BROADCAST_RGB_AUTO,8,8
	.comm	HDMI_QUANTIZATION_RANGE_LIMITED,8,8
	.comm	HDMI_AUDIO_ON,8,8
	.comm	HDMI_AUDIO_OFF_DVI,8,8
	.comm	HDMI_AUDIO_AUTO,8,8
	.comm	EINVAL,4,4
	.comm	DRM_MODE_FLAG_DBLSCAN,4,4
	.comm	DRM_MODE_FLAG_DBLCLK,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_intel_hdmi.c_intel_hdmi_compute_config.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"Can't support YCBCR420 output\012\000"
	.align	2
.LC1:
	.ascii	"picking bpc to 12 for HDMI output\012\000"
	.align	2
.LC2:
	.ascii	"picking bpc to 10 for HDMI output\012\000"
	.align	2
.LC3:
	.ascii	"picking bpc to 8 for HDMI output\012\000"
	.align	2
.LC4:
	.ascii	"forcing pipe bpp to %i for HDMI\012\000"
	.align	2
.LC5:
	.ascii	"unsupported HDMI clock, rejecting mode\012\000"
	.align	2
.LC6:
	.ascii	"bad AVI infoframe\012\000"
	.align	2
.LC7:
	.ascii	"bad SPD infoframe\012\000"
	.align	2
.LC8:
	.ascii	"bad HDMI infoframe\012\000"
	.align	2
.LC9:
	.ascii	"bad DRM infoframe\012\000"
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC10:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	intel_hdmi_compute_config
	.syntax unified
	.arm
	.fpu softvfp
	.type	intel_hdmi_compute_config, %function
intel_hdmi_compute_config:
	@ args = 0, pretend = 0, frame = 32
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, r10, fp, lr}
	ldr	r3, .L64
	sub	sp, sp, #44
	mov	r6, r2
	mov	r4, r1
	ldr	r3, [r3]
	str	r3, [sp, #36]
	mov	r3,#0
	mov	r7, r0
	bl	enc_to_intel_hdmi
	mov	r8, r0
	ldr	r0, [r7]
	bl	to_i915
	mov	r3, r0
	mov	r0, r6
	str	r3, [sp, #12]
	ldr	fp, [r6, #4]
	bl	to_intel_digital_connector_state
	ldr	r1, [r4, #52]
	mov	r9, r0
	add	r3, r1, r1, lsl #2
	add	r2, r3, #3
	cmp	r3, #0
	movlt	r3, r2
	ldr	r0, .L64+4
	asr	r2, r3, #2
	ldr	r5, [r0]
	ldr	ip, [r4, #56]
	add	r3, r1, r1, lsl #1
	add	r3, r3, r3, lsr #31
	asr	r3, r3, #1
	ands	r5, ip, r5
	str	r1, [sp, #24]
	str	r3, [sp, #32]
	str	r2, [sp, #28]
	bne	.L51
	ldr	r2, .L64+8
	ldr	r3, .L64+12
	ldr	r1, [r2]
	ldr	r10, [r9]
	ldr	r2, [r3]
	ldr	r3, .L64+16
	cmp	r10, r1
	str	r1, [sp, #16]
	str	r2, [r4, #48]
	add	r1, r4, #52
	ldr	r2, [r3]
	ldr	r3, [r9, #4]
	beq	.L4
	ldr	r0, [r8, #4]
	cmp	r0, #0
	beq	.L4
	mov	r0, #1
	cmp	r2, r3
	str	r0, [r4]
	str	r0, [r4, #4]
	beq	.L53
.L6:
	ldr	r2, .L64+20
	ldr	r0, [r2]
	sub	r0, r0, r3
	clz	r0, r0
	lsr	r0, r0, #5
.L7:
	ldr	r3, .L64+24
	str	r0, [r4, #8]
	ldr	r3, [r3]
	tst	ip, r3
	beq	.L8
	mov	r0, #2
	ldr	r3, [sp, #24]
	ldr	r2, [sp, #28]
	lsl	r3, r3, #1
	str	r3, [sp, #24]
	ldr	r3, [sp, #32]
	lsl	r2, r2, #1
	lsl	r3, r3, #1
	str	r2, [sp, #28]
	str	r3, [sp, #32]
	str	r0, [r4, #12]
.L8:
	mov	r0, fp
	bl	drm_mode_is_420_only
	cmp	r0, #0
	beq	.L9
	add	r3, sp, #24
	str	r3, [sp]
	mov	r1, r4
	mov	r0, fp
	add	r3, sp, #28
	add	r2, sp, #32
	bl	intel_hdmi_ycbcr420_config
	cmp	r0, #0
	beq	.L54
.L9:
	ldr	r0, [sp, #12]
	bl	HAS_PCH_SPLIT
	cmp	r0, #0
	bne	.L55
.L11:
	ldr	r3, [r4]
	cmp	r3, #0
	beq	.L13
	ldr	r2, .L64+28
	ldr	r3, [r9]
	ldr	r2, [r2]
	cmp	r3, r2
	ldrne	r2, .L64+32
	ldreq	r3, [r8]
	ldrne	r2, [r2]
	subne	r3, r2, r3
	clzne	r3, r3
	lsrne	r3, r3, #5
	str	r3, [r4, #20]
.L13:
	mov	r1, #12
	mov	r0, r4
	bl	hdmi_deep_color_possible
	ldr	r3, [sp, #16]
	cmp	r0, #0
	sub	r9, r10, r3
	clz	r9, r9
	lsr	r9, r9, #5
	bne	.L49
	ldr	r10, .L64+36
.L15:
	mov	r1, #10
	mov	r0, r4
	bl	hdmi_deep_color_possible
	cmp	r0, #0
	beq	.L17
	mov	r3, r9
	mov	r2, #1
	mov	r0, r8
	ldr	r1, [sp, #28]
	bl	hdmi_port_clock_valid
	ldr	r3, [r10]
	cmp	r0, r3
	beq	.L56
.L17:
	mov	r3, #24
	ldr	r0, .L64+40
	str	r3, [sp, #16]
	bl	DRM_DEBUG_KMS
	ldr	r3, [sp, #24]
	str	r3, [r4, #24]
.L16:
	ldr	r3, [r4, #44]
	cmp	r3, #0
	beq	.L57
.L18:
	mov	r3, r9
	mov	r0, r8
	mov	r2, #0
	ldr	r1, [r4, #24]
	bl	hdmi_port_clock_valid
	ldr	r3, [r10]
	cmp	r0, r3
	bne	.L58
	mov	r2, #4
	ldr	r1, [fp, #4]
	ldr	r3, [r6]
	cmp	r1, #0
	str	r2, [r4, #32]
	str	r3, [r4, #60]
	bne	.L59
.L21:
	mov	r2, r6
	mov	r1, r4
	mov	r0, r7
	bl	intel_hdmi_compute_gcp_infoframe
	mov	r2, r6
	mov	r1, r4
	mov	r0, r7
	bl	intel_hdmi_compute_avi_infoframe
	cmp	r0, #0
	beq	.L60
	mov	r2, r6
	mov	r1, r4
	mov	r0, r7
	bl	intel_hdmi_compute_spd_infoframe
	cmp	r0, #0
	beq	.L61
	mov	r2, r6
	mov	r1, r4
	mov	r0, r7
	bl	intel_hdmi_compute_hdmi_infoframe
	cmp	r0, #0
	beq	.L62
	mov	r2, r6
	mov	r1, r4
	mov	r0, r7
	bl	intel_hdmi_compute_drm_infoframe
	cmp	r0, #0
	bne	.L1
	ldr	r0, .L64+44
	bl	DRM_DEBUG_KMS
.L51:
	ldr	r3, .L64+48
	ldr	r5, [r3]
	rsb	r5, r5, #0
.L1:
	ldr	r3, .L64
	ldr	r2, [r3]
	ldr	r3, [sp, #36]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L63
	mov	r0, r5
	add	sp, sp, #44
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, r10, fp, pc}
.L4:
	mov	r0, #0
	cmp	r2, r3
	str	r0, [r4]
	bne	.L6
	b	.L7
.L49:
	mov	r3, r9
	mov	r2, #1
	mov	r0, r8
	ldr	r1, [sp, #32]
	bl	hdmi_port_clock_valid
	ldr	r10, .L64+36
	ldr	r3, [r10]
	cmp	r0, r3
	bne	.L15
	ldr	r0, .L64+52
	bl	DRM_DEBUG_KMS
	mov	r2, #36
	ldr	r3, [sp, #32]
	str	r2, [sp, #16]
	str	r3, [r4, #24]
	b	.L16
.L61:
	ldr	r0, .L64+56
	bl	DRM_DEBUG_KMS
	ldr	r3, .L64+48
	ldr	r5, [r3]
	rsb	r5, r5, #0
	b	.L1
.L58:
	ldr	r0, .L64+60
	bl	DRM_DEBUG_KMS
	ldr	r3, .L64+48
	ldr	r5, [r3]
	rsb	r5, r5, #0
	b	.L1
.L57:
	ldr	r1, [sp, #16]
	ldr	r0, .L64+64
	bl	DRM_DEBUG_KMS
	ldr	r3, [sp, #16]
	str	r3, [r4, #28]
	b	.L18
.L55:
	ldr	r0, [sp, #12]
	bl	HAS_DDI
	cmp	r0, #0
	moveq	r3, #1
	streq	r3, [r4, #16]
	b	.L11
.L60:
	ldr	r0, .L64+68
	bl	DRM_DEBUG_KMS
	ldr	r3, .L64+48
	ldr	r5, [r3]
	rsb	r5, r5, #0
	b	.L1
.L59:
	ldr	r0, [sp, #12]
	bl	INTEL_GEN
	cmp	r0, #9
	ble	.L22
.L25:
	ldr	r3, [fp]
	ldr	r2, [r4, #24]
	cmp	r3, #0
	movne	r3, #1
	strne	r3, [r4, #36]
	ldr	r3, .L64+72
	cmp	r2, r3
	movgt	r3, #1
	strgt	r3, [r4, #36]
	strgt	r3, [r4, #40]
	b	.L21
.L53:
	mov	r0, r1
	str	r1, [sp, #20]
	bl	drm_default_rgb_quant_range
	ldr	r3, .L64+76
	ldr	ip, [r4, #56]
	ldr	r3, [r3]
	ldr	r1, [sp, #20]
	sub	r0, r3, r0
	clz	r0, r0
	lsr	r0, r0, #5
	b	.L7
.L54:
	ldr	r0, .L64+80
	bl	DRM_ERROR
	ldr	r3, .L64+48
	ldr	r5, [r3]
	rsb	r5, r5, #0
	b	.L1
.L62:
	ldr	r0, .L64+84
	bl	DRM_DEBUG_KMS
	ldr	r3, .L64+48
	ldr	r5, [r3]
	rsb	r5, r5, #0
	b	.L1
.L56:
	ldr	r0, .L64+88
	bl	DRM_DEBUG_KMS
	mov	r2, #30
	ldr	r3, [sp, #28]
	str	r2, [sp, #16]
	str	r3, [r4, #24]
	b	.L16
.L22:
	ldr	r0, [sp, #12]
	bl	IS_GEMINILAKE
	cmp	r0, #0
	bne	.L25
	b	.L21
.L63:
	bl	__stack_chk_fail
.L65:
	.align	2
.L64:
	.word	.LC10
	.word	DRM_MODE_FLAG_DBLSCAN
	.word	HDMI_AUDIO_OFF_DVI
	.word	INTEL_OUTPUT_FORMAT_RGB
	.word	INTEL_BROADCAST_RGB_AUTO
	.word	INTEL_BROADCAST_RGB_LIMITED
	.word	DRM_MODE_FLAG_DBLCLK
	.word	HDMI_AUDIO_AUTO
	.word	HDMI_AUDIO_ON
	.word	MODE_OK
	.word	.LC3
	.word	.LC9
	.word	EINVAL
	.word	.LC1
	.word	.LC7
	.word	.LC5
	.word	.LC4
	.word	.LC6
	.word	340000
	.word	HDMI_QUANTIZATION_RANGE_LIMITED
	.word	.LC0
	.word	.LC8
	.word	.LC2
	.size	intel_hdmi_compute_config, .-intel_hdmi_compute_config
	.comm	MODE_OK,4,4
	.comm	INTEL_OUTPUT_FORMAT_RGB,4,4
	.comm	INTEL_BROADCAST_RGB_LIMITED,4,4
	.comm	INTEL_BROADCAST_RGB_AUTO,4,4
	.comm	HDMI_QUANTIZATION_RANGE_LIMITED,4,4
	.comm	HDMI_AUDIO_ON,4,4
	.comm	HDMI_AUDIO_OFF_DVI,4,4
	.comm	HDMI_AUDIO_AUTO,4,4
	.comm	EINVAL,4,4
	.comm	DRM_MODE_FLAG_DBLSCAN,4,4
	.comm	DRM_MODE_FLAG_DBLCLK,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
