	.file	"extr_intel_ddi.c_intel_ddi_set_pipe_settings.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.8,"aMS",@progbits,1
	.align 8
.LC0:
	.string	"%d bpp unsupported by DDI function\n"
	.text
	.p2align 4
	.globl	intel_ddi_set_pipe_settings
	.type	intel_ddi_set_pipe_settings, @function
intel_ddi_set_pipe_settings:
.LFB0:
	.cfi_startproc
	endbr64
	push	r12
	.cfi_def_cfa_offset 16
	.cfi_offset 12, -16
	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	to_intel_crtc@PLT
	mov	rdi, rbp
	mov	rbx, rax
	call	intel_ddi_get_crtc_encoder@PLT
	mov	eax, DWORD PTR [rax]
	cmp	DWORD PTR INTEL_OUTPUT_DISPLAYPORT[rip], eax
	je	.L2
	cmp	DWORD PTR INTEL_OUTPUT_EDP[rip], eax
	je	.L2
	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
.L2:
	.cfi_restore_state
	mov	edx, DWORD PTR 4[rbx]
	mov	r12d, DWORD PTR [rbx]
	mov	eax, DWORD PTR TRANS_MSA_SYNC_CLK[rip]
	cmp	edx, 30
	je	.L4
	jg	.L5
	cmp	edx, 18
	je	.L6
	cmp	edx, 24
	jne	.L8
	or	eax, DWORD PTR TRANS_MSA_8_BPC[rip]
	mov	ebp, eax
.L10:
	mov	edi, r12d
	call	TRANS_MSA_MISC@PLT
	pop	rbx
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	mov	esi, ebp
	pop	rbp
	.cfi_def_cfa_offset 16
	mov	edi, eax
	pop	r12
	.cfi_def_cfa_offset 8
	jmp	I915_WRITE@PLT
	.p2align 4,,10
	.p2align 3
.L5:
	.cfi_restore_state
	mov	ebp, DWORD PTR TRANS_MSA_12_BPC[rip]
	or	ebp, eax
	cmp	edx, 36
	je	.L10
.L8:
	or	eax, DWORD PTR TRANS_MSA_8_BPC[rip]
	lea	rsi, .LC0[rip]
	mov	edi, 1
	mov	ebp, eax
	call	WARN@PLT
	jmp	.L10
	.p2align 4,,10
	.p2align 3
.L6:
	or	eax, DWORD PTR TRANS_MSA_6_BPC[rip]
	mov	ebp, eax
	jmp	.L10
	.p2align 4,,10
	.p2align 3
.L4:
	or	eax, DWORD PTR TRANS_MSA_10_BPC[rip]
	mov	ebp, eax
	jmp	.L10
	.cfi_endproc
.LFE0:
	.size	intel_ddi_set_pipe_settings, .-intel_ddi_set_pipe_settings
	.comm	TRANS_MSA_SYNC_CLK,4,4
	.comm	TRANS_MSA_8_BPC,4,4
	.comm	TRANS_MSA_6_BPC,4,4
	.comm	TRANS_MSA_12_BPC,4,4
	.comm	TRANS_MSA_10_BPC,4,4
	.comm	INTEL_OUTPUT_EDP,4,4
	.comm	INTEL_OUTPUT_DISPLAYPORT,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_ddi.c_intel_ddi_set_pipe_settings.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"%d bpp unsupported by DDI function\012\000"
	.text
	.align	2
	.global	intel_ddi_set_pipe_settings
	.syntax unified
	.arm
	.fpu softvfp
	.type	intel_ddi_set_pipe_settings, %function
intel_ddi_set_pipe_settings:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, lr}
	mov	r5, r0
	bl	to_intel_crtc
	mov	r4, r0
	mov	r0, r5
	bl	intel_ddi_get_crtc_encoder
	ldr	r2, .L13
	ldr	r3, [r0]
	ldr	r2, [r2]
	cmp	r2, r3
	beq	.L2
	ldr	r2, .L13+4
	ldr	r2, [r2]
	cmp	r2, r3
	popne	{r4, r5, r6, pc}
.L2:
	ldr	r2, [r4, #4]
	ldr	r1, .L13+8
	sub	r3, r2, #18
	ldr	r5, [r4]
	ldr	r4, [r1]
	cmp	r3, #18
	ldrls	pc, [pc, r3, asl #2]
	b	.L4
.L6:
	.word	.L9
	.word	.L4
	.word	.L4
	.word	.L4
	.word	.L4
	.word	.L4
	.word	.L8
	.word	.L4
	.word	.L4
	.word	.L4
	.word	.L4
	.word	.L4
	.word	.L7
	.word	.L4
	.word	.L4
	.word	.L4
	.word	.L4
	.word	.L4
	.word	.L5
.L4:
	ldr	r3, .L13+12
	mov	r0, #1
	ldr	r3, [r3]
	ldr	r1, .L13+16
	orr	r4, r4, r3
	bl	WARN
.L10:
	mov	r0, r5
	bl	TRANS_MSA_MISC
	mov	r1, r4
	pop	{r4, r5, r6, lr}
	b	I915_WRITE
.L9:
	ldr	r3, .L13+20
	ldr	r3, [r3]
	orr	r4, r4, r3
	b	.L10
.L8:
	ldr	r3, .L13+12
	ldr	r3, [r3]
	orr	r4, r4, r3
	b	.L10
.L7:
	ldr	r3, .L13+24
	ldr	r3, [r3]
	orr	r4, r4, r3
	b	.L10
.L5:
	ldr	r3, .L13+28
	ldr	r3, [r3]
	orr	r4, r4, r3
	b	.L10
.L14:
	.align	2
.L13:
	.word	INTEL_OUTPUT_DISPLAYPORT
	.word	INTEL_OUTPUT_EDP
	.word	TRANS_MSA_SYNC_CLK
	.word	TRANS_MSA_8_BPC
	.word	.LC0
	.word	TRANS_MSA_6_BPC
	.word	TRANS_MSA_10_BPC
	.word	TRANS_MSA_12_BPC
	.size	intel_ddi_set_pipe_settings, .-intel_ddi_set_pipe_settings
	.comm	TRANS_MSA_SYNC_CLK,4,4
	.comm	TRANS_MSA_8_BPC,4,4
	.comm	TRANS_MSA_6_BPC,4,4
	.comm	TRANS_MSA_12_BPC,4,4
	.comm	TRANS_MSA_10_BPC,4,4
	.comm	INTEL_OUTPUT_EDP,4,4
	.comm	INTEL_OUTPUT_DISPLAYPORT,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
