	.file	"extr_mdfld_dsi_output.c_mdfld_dsi_get_default_config.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"Invalid parameters"
	.text
	.p2align 4
	.type	mdfld_dsi_get_default_config, @function
mdfld_dsi_get_default_config:
.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
	push	rbx
	.cfi_def_cfa_offset 32
	.cfi_offset 3, -32
	test	rdi, rdi
	je	.L9
	mov	rbx, rsi
	test	rsi, rsi
	je	.L9
	mov	DWORD PTR [rsi], 24
	mov	esi, edx
	mov	r12d, edx
	mov	rbp, rdi
	call	mdfld_get_panel_type@PLT
	cmp	rax, QWORD PTR TC35876X[rip]
	mov	esi, r12d
	mov	rdi, rbp
	sete	al
	mov	QWORD PTR 16[rbx], 0
	movzx	eax, al
	lea	eax, 2[rax+rax]
	mov	DWORD PTR 4[rbx], eax
	call	mdfld_get_panel_type@PLT
	cmp	rax, QWORD PTR TMD_VID[rip]
	jne	.L6
	mov	eax, DWORD PTR MDFLD_DSI_VIDEO_NON_BURST_MODE_SYNC_PULSE[rip]
	mov	DWORD PTR 8[rbx], eax
	xor	eax, eax
	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
.L6:
	.cfi_restore_state
	mov	esi, r12d
	mov	rdi, rbp
	call	mdfld_get_panel_type@PLT
	cmp	rax, QWORD PTR TC35876X[rip]
	je	.L12
	mov	eax, DWORD PTR MDFLD_DSI_VIDEO_BURST_MODE[rip]
	mov	DWORD PTR 8[rbx], eax
	xor	eax, eax
	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
.L9:
	.cfi_restore_state
	lea	rdi, .LC0[rip]
	call	DRM_ERROR@PLT
	mov	eax, DWORD PTR EINVAL[rip]
	pop	rbx
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	pop	rbp
	.cfi_def_cfa_offset 16
	pop	r12
	.cfi_def_cfa_offset 8
	neg	eax
	ret
	.p2align 4,,10
	.p2align 3
.L12:
	.cfi_restore_state
	mov	eax, DWORD PTR MDFLD_DSI_VIDEO_NON_BURST_MODE_SYNC_EVENTS[rip]
	mov	DWORD PTR 8[rbx], eax
	xor	eax, eax
	pop	rbx
	.cfi_def_cfa_offset 24
	pop	rbp
	.cfi_def_cfa_offset 16
	pop	r12
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE0:
	.size	mdfld_dsi_get_default_config, .-mdfld_dsi_get_default_config
	.comm	TMD_VID,8,8
	.comm	TC35876X,8,8
	.comm	MDFLD_DSI_VIDEO_NON_BURST_MODE_SYNC_PULSE,4,4
	.comm	MDFLD_DSI_VIDEO_NON_BURST_MODE_SYNC_EVENTS,4,4
	.comm	MDFLD_DSI_VIDEO_BURST_MODE,4,4
	.comm	EINVAL,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_mdfld_dsi_output.c_mdfld_dsi_get_default_config.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"Invalid parameters\000"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	mdfld_dsi_get_default_config, %function
mdfld_dsi_get_default_config:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	clz	r3, r1
	cmp	r0, #0
	lsr	r3, r3, #5
	push	{r4, r5, r6, r7, r8, lr}
	movne	r5, r3
	moveq	r5, #1
	cmp	r5, #0
	bne	.L10
	mov	r4, r1
	mov	r3, #24
	mov	r1, r2
	str	r3, [r4]
	mov	r7, r2
	mov	r6, r0
	bl	mdfld_get_panel_type
	ldr	r8, .L11
	mov	r1, r7
	ldr	r3, [r8]
	str	r5, [r4, #12]
	cmp	r0, r3
	moveq	r0, #4
	movne	r0, #2
	str	r0, [r4, #4]
	mov	r0, r6
	bl	mdfld_get_panel_type
	ldr	r3, .L11+4
	ldr	r3, [r3]
	cmp	r0, r3
	bne	.L5
	ldr	r3, .L11+8
	mov	r0, r5
	ldr	r3, [r3]
	str	r3, [r4, #8]
	pop	{r4, r5, r6, r7, r8, pc}
.L5:
	mov	r1, r7
	mov	r0, r6
	bl	mdfld_get_panel_type
	ldr	r3, [r8]
	cmp	r0, r3
	ldreq	r3, .L11+12
	ldrne	r3, .L11+16
	moveq	r0, r5
	ldr	r3, [r3]
	movne	r0, r5
	str	r3, [r4, #8]
	pop	{r4, r5, r6, r7, r8, pc}
.L10:
	ldr	r0, .L11+20
	bl	DRM_ERROR
	ldr	r3, .L11+24
	ldr	r0, [r3]
	rsb	r0, r0, #0
	pop	{r4, r5, r6, r7, r8, pc}
.L12:
	.align	2
.L11:
	.word	TC35876X
	.word	TMD_VID
	.word	MDFLD_DSI_VIDEO_NON_BURST_MODE_SYNC_PULSE
	.word	MDFLD_DSI_VIDEO_NON_BURST_MODE_SYNC_EVENTS
	.word	MDFLD_DSI_VIDEO_BURST_MODE
	.word	.LC0
	.word	EINVAL
	.size	mdfld_dsi_get_default_config, .-mdfld_dsi_get_default_config
	.comm	TMD_VID,4,4
	.comm	TC35876X,4,4
	.comm	MDFLD_DSI_VIDEO_NON_BURST_MODE_SYNC_PULSE,4,4
	.comm	MDFLD_DSI_VIDEO_NON_BURST_MODE_SYNC_EVENTS,4,4
	.comm	MDFLD_DSI_VIDEO_BURST_MODE,4,4
	.comm	EINVAL,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
