	.file	"extr_mdfld_dsi_pkg_sender.c_mdfld_dsi_send_gen_long.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"Invalid parameters\n"
	.text
	.p2align 4
	.globl	mdfld_dsi_send_gen_long
	.type	mdfld_dsi_send_gen_long, @function
mdfld_dsi_send_gen_long:
.LFB0:
	.cfi_startproc
	endbr64
	push	r14
	.cfi_def_cfa_offset 16
	.cfi_offset 14, -16
	test	rsi, rsi
	push	r13
	.cfi_def_cfa_offset 24
	.cfi_offset 13, -24
	mov	r13d, edx
	sete	dl
	test	r13d, r13d
	push	r12
	.cfi_def_cfa_offset 32
	.cfi_offset 12, -32
	sete	al
	push	rbp
	.cfi_def_cfa_offset 40
	.cfi_offset 6, -40
	or	dl, al
	push	rbx
	.cfi_def_cfa_offset 48
	.cfi_offset 3, -48
	jne	.L5
	mov	rbp, rdi
	test	rdi, rdi
	je	.L5
	xor	r14d, r14d
	mov	r12, rsi
	mov	ebx, ecx
	mov	rsi, r14
	call	spin_lock_irqsave@PLT
	mov	r8d, ebx
	mov	ecx, r13d
	mov	rdx, r12
	mov	esi, DWORD PTR MIPI_DSI_GENERIC_LONG_WRITE[rip]
	mov	rdi, rbp
	call	send_pkg@PLT
	mov	rsi, r14
	mov	rdi, rbp
	call	spin_unlock_irqrestore@PLT
	pop	rbx
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	xor	eax, eax
	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
.L5:
	.cfi_restore_state
	lea	rdi, .LC0[rip]
	call	DRM_ERROR@PLT
	mov	eax, DWORD PTR EINVAL[rip]
	pop	rbx
	.cfi_def_cfa_offset 40
	pop	rbp
	.cfi_def_cfa_offset 32
	pop	r12
	.cfi_def_cfa_offset 24
	neg	eax
	pop	r13
	.cfi_def_cfa_offset 16
	pop	r14
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE0:
	.size	mdfld_dsi_send_gen_long, .-mdfld_dsi_send_gen_long
	.comm	MIPI_DSI_GENERIC_LONG_WRITE,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_pkg_sender.c_mdfld_dsi_send_gen_long.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"Invalid parameters\012\000"
	.text
	.align	2
	.global	mdfld_dsi_send_gen_long
	.syntax unified
	.arm
	.fpu softvfp
	.type	mdfld_dsi_send_gen_long, %function
mdfld_dsi_send_gen_long:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	clz	ip, r2
	cmp	r1, #0
	lsr	ip, ip, #5
	moveq	ip, #1
	cmp	r0, #0
	push	{r4, r5, r6, r7, r8, r9, lr}
	movne	r4, ip
	moveq	r4, #1
	cmp	r4, #0
	sub	sp, sp, #12
	beq	.L2
	ldr	r0, .L6
	bl	DRM_ERROR
	ldr	r3, .L6+4
	ldr	r0, [r3]
	rsb	r0, r0, #0
	add	sp, sp, #12
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, pc}
.L2:
	mov	r9, #0
	mov	r8, r3
	mov	r7, r2
	mov	r5, r0
	mov	r6, r1
	mov	r1, r9
	bl	spin_lock_irqsave
	ldr	r1, .L6+8
	str	r8, [sp]
	mov	r3, r7
	mov	r2, r6
	mov	r0, r5
	ldr	r1, [r1]
	bl	send_pkg
	mov	r1, r9
	mov	r0, r5
	bl	spin_unlock_irqrestore
	mov	r0, r4
	add	sp, sp, #12
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, pc}
.L7:
	.align	2
.L6:
	.word	.LC0
	.word	EINVAL
	.word	MIPI_DSI_GENERIC_LONG_WRITE
	.size	mdfld_dsi_send_gen_long, .-mdfld_dsi_send_gen_long
	.comm	MIPI_DSI_GENERIC_LONG_WRITE,4,4
	.comm	EINVAL,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
