	.file	"extr_dsi.c__dsi_register_isr.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	_dsi_register_isr, @function
_dsi_register_isr:
.LFB0:
	.cfi_startproc
	endbr64
	push	r14
	.cfi_def_cfa_offset 16
	.cfi_offset 14, -16
	test	rdi, rdi
	mov	r14, rcx
	push	r13
	.cfi_def_cfa_offset 24
	.cfi_offset 13, -24
	mov	r13, rdx
	push	r12
	.cfi_def_cfa_offset 32
	.cfi_offset 12, -32
	mov	r12, rsi
	push	rbp
	.cfi_def_cfa_offset 40
	.cfi_offset 6, -40
	mov	ebp, r8d
	push	rbx
	.cfi_def_cfa_offset 48
	.cfi_offset 3, -48
	mov	rbx, rdi
	sete	dil
	movzx	edi, dil
	call	BUG_ON@PLT
	test	ebp, ebp
	je	.L2
	mov	rdi, r14
	xor	eax, eax
	mov	r9d, -1
	jmp	.L7
	.p2align 4,,10
	.p2align 3
.L3:
	cmp	r9d, -1
	jne	.L5
	test	r10, r10
	cmove	r9d, eax
.L5:
	add	eax, 1
	add	rdi, 24
	cmp	eax, ebp
	je	.L19
.L7:
	mov	r10, QWORD PTR 16[rdi]
	cmp	r10, rbx
	jne	.L3
	cmp	QWORD PTR [rdi], r12
	jne	.L3
	cmp	QWORD PTR 8[rdi], r13
	jne	.L3
	mov	eax, DWORD PTR EINVAL[rip]
	neg	eax
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L19:
	cmp	r9d, -1
	je	.L2
	movsx	r9, r9d
	lea	rax, [r9+r9*2]
	lea	rax, [r14+rax*8]
	mov	QWORD PTR 16[rax], rbx
	mov	QWORD PTR [rax], r12
	mov	QWORD PTR 8[rax], r13
	xor	eax, eax
.L1:
	pop	rbx
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	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
.L2:
	.cfi_restore_state
	mov	eax, DWORD PTR EBUSY[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	_dsi_register_isr, .-_dsi_register_isr
	.comm	EINVAL,4,4
	.comm	EBUSY,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_dsi.c__dsi_register_isr.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	_dsi_register_isr, %function
_dsi_register_isr:
	@ args = 4, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, r10, lr}
	mov	r6, r0
	clz	r0, r0
	ldr	r10, [sp, #32]
	lsr	r0, r0, #5
	mov	r7, r1
	mov	r9, r2
	mov	r8, r3
	bl	BUG_ON
	cmp	r10, #0
	beq	.L2
	mov	lr, r8
	mov	ip, #0
	mvn	r4, #0
	b	.L6
.L3:
	cmp	r5, #0
	cmneq	r4, #1
	moveq	r4, ip
	add	ip, ip, #1
	cmp	ip, r10
	add	lr, lr, #12
	beq	.L15
.L6:
	ldr	r5, [lr, #8]
	cmp	r5, r6
	bne	.L3
	ldr	r0, [lr]
	cmp	r0, r7
	bne	.L3
	ldr	r3, [lr, #4]
	cmp	r3, r9
	bne	.L3
	ldr	r3, .L16
	ldr	r0, [r3]
	rsb	r0, r0, #0
	pop	{r4, r5, r6, r7, r8, r9, r10, pc}
.L15:
	cmn	r4, #1
	beq	.L2
	add	r4, r4, r4, lsl #1
	add	r3, r8, r4, lsl #2
	str	r6, [r3, #8]
	mov	r0, #0
	str	r7, [r8, r4, lsl #2]
	str	r9, [r3, #4]
	pop	{r4, r5, r6, r7, r8, r9, r10, pc}
.L2:
	ldr	r3, .L16+4
	ldr	r0, [r3]
	rsb	r0, r0, #0
	pop	{r4, r5, r6, r7, r8, r9, r10, pc}
.L17:
	.align	2
.L16:
	.word	EINVAL
	.word	EBUSY
	.size	_dsi_register_isr, .-_dsi_register_isr
	.comm	EINVAL,4,4
	.comm	EBUSY,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
