	.file	"extr_imx-tve.c_imx_tve_register.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	imx_tve_register, @function
imx_tve_register:
.LFB0:
	.cfi_startproc
	endbr64
	push	r14
	.cfi_def_cfa_offset 16
	.cfi_offset 14, -16
	mov	rax, QWORD PTR TVE_MODE_VGA[rip]
	push	r13
	.cfi_def_cfa_offset 24
	.cfi_offset 13, -24
	mov	r14d, DWORD PTR DRM_MODE_ENCODER_TVDAC[rip]
	push	r12
	.cfi_def_cfa_offset 32
	.cfi_offset 12, -32
	push	rbp
	.cfi_def_cfa_offset 40
	.cfi_offset 6, -40
	mov	rbp, rdi
	push	rbx
	.cfi_def_cfa_offset 48
	.cfi_offset 3, -48
	mov	rbx, rsi
	cmp	QWORD PTR [rsi], rax
	jne	.L3
	mov	r14d, DWORD PTR DRM_MODE_ENCODER_DAC[rip]
.L3:
	mov	rax, QWORD PTR 24[rbx]
	lea	r13, 8[rbx]
	mov	rdi, rbp
	mov	rsi, r13
	mov	edx, DWORD PTR [rax]
	call	imx_drm_encoder_parse_of@PLT
	mov	r12d, eax
	test	eax, eax
	jne	.L1
	lea	rsi, imx_tve_encoder_helper_funcs[rip]
	mov	rdi, r13
	call	drm_encoder_helper_add@PLT
	mov	ecx, r14d
	xor	r8d, r8d
	lea	r14, 12[rbx]
	lea	rdx, imx_tve_encoder_funcs[rip]
	mov	rsi, r13
	mov	rdi, rbp
	call	drm_encoder_init@PLT
	lea	rsi, imx_tve_connector_helper_funcs[rip]
	mov	rdi, r14
	call	drm_connector_helper_add@PLT
	mov	r8d, DWORD PTR 16[rbx]
	mov	rsi, r14
	mov	rdi, rbp
	mov	ecx, DWORD PTR DRM_MODE_CONNECTOR_VGA[rip]
	lea	rdx, imx_tve_connector_funcs[rip]
	call	drm_connector_init_with_ddc@PLT
	mov	rsi, r13
	mov	rdi, r14
	call	drm_connector_attach_encoder@PLT
.L1:
	pop	rbx
	.cfi_def_cfa_offset 40
	mov	eax, r12d
	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
	.cfi_endproc
.LFE0:
	.size	imx_tve_register, .-imx_tve_register
	.comm	imx_tve_encoder_helper_funcs,4,4
	.comm	imx_tve_encoder_funcs,4,4
	.comm	imx_tve_connector_helper_funcs,4,4
	.comm	imx_tve_connector_funcs,4,4
	.comm	TVE_MODE_VGA,8,8
	.comm	DRM_MODE_ENCODER_TVDAC,4,4
	.comm	DRM_MODE_ENCODER_DAC,4,4
	.comm	DRM_MODE_CONNECTOR_VGA,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_imx-tve.c_imx_tve_register.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	imx_tve_register, %function
imx_tve_register:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	ldr	r3, .L7
	ldr	r2, [r1]
	ldr	r3, [r3]
	push	{r4, r5, r6, r7, r8, lr}
	cmp	r2, r3
	ldreq	r3, .L7+4
	ldrne	r3, .L7+8
	add	r7, r1, #4
	ldr	r8, [r3]
	ldr	r3, [r1, #16]
	mov	r4, r1
	ldr	r2, [r3]
	mov	r1, r7
	sub	sp, sp, #8
	mov	r6, r0
	bl	imx_drm_encoder_parse_of
	subs	r5, r0, #0
	bne	.L1
	ldr	r1, .L7+12
	mov	r0, r7
	bl	drm_encoder_helper_add
	mov	r3, r8
	ldr	r2, .L7+16
	add	r8, r4, #8
	mov	r1, r7
	mov	r0, r6
	str	r5, [sp]
	bl	drm_encoder_init
	ldr	r1, .L7+20
	mov	r0, r8
	bl	drm_connector_helper_add
	ldr	r2, [r4, #12]
	ldr	r3, .L7+24
	str	r2, [sp]
	mov	r1, r8
	mov	r0, r6
	ldr	r3, [r3]
	ldr	r2, .L7+28
	bl	drm_connector_init_with_ddc
	mov	r1, r7
	mov	r0, r8
	bl	drm_connector_attach_encoder
.L1:
	mov	r0, r5
	add	sp, sp, #8
	@ sp needed
	pop	{r4, r5, r6, r7, r8, pc}
.L8:
	.align	2
.L7:
	.word	TVE_MODE_VGA
	.word	DRM_MODE_ENCODER_DAC
	.word	DRM_MODE_ENCODER_TVDAC
	.word	imx_tve_encoder_helper_funcs
	.word	imx_tve_encoder_funcs
	.word	imx_tve_connector_helper_funcs
	.word	DRM_MODE_CONNECTOR_VGA
	.word	imx_tve_connector_funcs
	.size	imx_tve_register, .-imx_tve_register
	.comm	imx_tve_encoder_helper_funcs,4,4
	.comm	imx_tve_encoder_funcs,4,4
	.comm	imx_tve_connector_helper_funcs,4,4
	.comm	imx_tve_connector_funcs,4,4
	.comm	TVE_MODE_VGA,4,4
	.comm	DRM_MODE_ENCODER_TVDAC,4,4
	.comm	DRM_MODE_ENCODER_DAC,4,4
	.comm	DRM_MODE_CONNECTOR_VGA,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
