	.file	"extr_nozomi.c_handle_data_ul.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"port out of sync!\n"
	.text
	.p2align 4
	.type	handle_data_ul, @function
handle_data_ul:
.LFB0:
	.cfi_startproc
	endbr64
	push	r14
	.cfi_def_cfa_offset 16
	.cfi_offset 14, -16
	push	r13
	.cfi_def_cfa_offset 24
	.cfi_offset 13, -24
	mov	r13d, esi
	push	r12
	.cfi_def_cfa_offset 32
	.cfi_offset 12, -32
	push	rbp
	.cfi_def_cfa_offset 40
	.cfi_offset 6, -40
	mov	ebp, edx
	mov	edx, esi
	push	rbx
	.cfi_def_cfa_offset 48
	.cfi_offset 3, -48
	mov	rax, QWORD PTR 24[rdi]
	mov	rbx, rdi
	mov	edi, DWORD PTR MDM_UL[rip]
	lea	r14, [rax+rdx*4]
	mov	r12d, DWORD PTR [r14]
	test	r12d, r12d
	jne	.L2
	test	DWORD PTR MDM_UL1[rip], ebp
	jne	.L33
.L3:
	mov	esi, DWORD PTR 16[rbx]
	and	edi, ebp
	xor	r12d, r12d
	call	writew@PLT
	mov	rdi, QWORD PTR 8[rbx]
	lea	rsi, .LC0[rip]
	call	dev_err@PLT
.L1:
	pop	rbx
	.cfi_remember_state
	.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
	.p2align 4,,10
	.p2align 3
.L2:
	.cfi_restore_state
	cmp	r12d, 1
	jne	.L3
	test	DWORD PTR MDM_UL2[rip], ebp
	je	.L3
	not	edi
	and	edi, DWORD PTR [rbx]
	mov	esi, DWORD PTR 20[rbx]
	mov	DWORD PTR [rbx], edi
	call	writew@PLT
	mov	rsi, rbx
	mov	edi, r13d
	call	send_data@PLT
	test	rax, rax
	jne	.L34
.L8:
	test	DWORD PTR MDM_UL1[rip], ebp
	jne	.L35
.L31:
	mov	r12d, 1
	pop	rbx
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	pop	rbp
	.cfi_def_cfa_offset 32
	mov	eax, r12d
	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
.L33:
	.cfi_restore_state
	not	edi
	and	edi, DWORD PTR [rbx]
	mov	esi, DWORD PTR 20[rbx]
	mov	DWORD PTR [rbx], edi
	call	writew@PLT
	mov	rsi, rbx
	mov	edi, r13d
	call	send_data@PLT
	test	rax, rax
	jne	.L36
.L4:
	test	DWORD PTR MDM_UL2[rip], ebp
	je	.L31
	mov	edi, DWORD PTR MDM_UL[rip]
	mov	esi, DWORD PTR 20[rbx]
	not	edi
	and	edi, DWORD PTR [rbx]
	mov	DWORD PTR [rbx], edi
	call	writew@PLT
	mov	rsi, rbx
	mov	edi, r13d
	call	send_data@PLT
	test	rax, rax
	je	.L31
	mov	esi, DWORD PTR 16[rbx]
	mov	edi, DWORD PTR MDM_UL2[rip]
	call	writew@PLT
	mov	edi, DWORD PTR [rbx]
	or	edi, DWORD PTR MDM_UL[rip]
	mov	DWORD PTR [rbx], edi
	mov	esi, DWORD PTR 20[rbx]
	call	writew@PLT
	mov	esi, DWORD PTR [r14]
	xor	eax, eax
	test	esi, esi
	sete	al
	mov	DWORD PTR [r14], eax
	jmp	.L31
	.p2align 4,,10
	.p2align 3
.L35:
	mov	edi, DWORD PTR MDM_UL[rip]
	mov	esi, DWORD PTR 20[rbx]
	not	edi
	and	edi, DWORD PTR [rbx]
	mov	DWORD PTR [rbx], edi
	call	writew@PLT
	mov	rsi, rbx
	mov	edi, r13d
	call	send_data@PLT
	test	rax, rax
	je	.L31
	mov	esi, DWORD PTR 16[rbx]
	mov	edi, DWORD PTR MDM_UL1[rip]
	call	writew@PLT
	mov	edi, DWORD PTR [rbx]
	or	edi, DWORD PTR MDM_UL[rip]
	mov	DWORD PTR [rbx], edi
	mov	esi, DWORD PTR 20[rbx]
	call	writew@PLT
	mov	edx, DWORD PTR [r14]
	xor	eax, eax
	test	edx, edx
	sete	al
	mov	DWORD PTR [r14], eax
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L34:
	mov	esi, DWORD PTR 16[rbx]
	mov	edi, DWORD PTR MDM_UL2[rip]
	call	writew@PLT
	mov	edi, DWORD PTR [rbx]
	or	edi, DWORD PTR MDM_UL[rip]
	mov	DWORD PTR [rbx], edi
	mov	esi, DWORD PTR 20[rbx]
	call	writew@PLT
	mov	ecx, DWORD PTR [r14]
	xor	eax, eax
	test	ecx, ecx
	sete	al
	mov	DWORD PTR [r14], eax
	jmp	.L8
	.p2align 4,,10
	.p2align 3
.L36:
	mov	esi, DWORD PTR 16[rbx]
	mov	edi, DWORD PTR MDM_UL1[rip]
	call	writew@PLT
	mov	edi, DWORD PTR [rbx]
	or	edi, DWORD PTR MDM_UL[rip]
	mov	DWORD PTR [rbx], edi
	mov	esi, DWORD PTR 20[rbx]
	call	writew@PLT
	mov	edi, DWORD PTR [r14]
	xor	eax, eax
	test	edi, edi
	sete	al
	mov	DWORD PTR [r14], eax
	jmp	.L4
	.cfi_endproc
.LFE0:
	.size	handle_data_ul, .-handle_data_ul
	.comm	MDM_UL2,4,4
	.comm	MDM_UL1,4,4
	.comm	MDM_UL,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_nozomi.c_handle_data_ul.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"port out of sync!\012\000"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	handle_data_ul, %function
handle_data_ul:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, r10, lr}
	ldr	r8, [r0, #16]
	ldr	r9, .L36
	ldr	r7, [r8, r1, lsl #2]
	mov	r4, r0
	cmp	r7, #0
	mov	r6, r1
	mov	r5, r2
	ldr	r0, [r9]
	bne	.L2
	ldr	r7, .L36+4
	ldr	r3, [r7]
	tst	r2, r3
	bne	.L32
.L3:
	ldr	r1, [r4, #8]
	and	r0, r0, r5
	bl	writew
	ldr	r0, [r4, #4]
	ldr	r1, .L36+8
	bl	dev_err
	mov	r7, #0
.L1:
	mov	r0, r7
	pop	{r4, r5, r6, r7, r8, r9, r10, pc}
.L2:
	cmp	r7, #1
	bne	.L3
	ldr	r10, .L36+12
	ldr	r3, [r10]
	tst	r2, r3
	beq	.L3
	ldr	r3, [r4]
	ldr	r1, [r4, #12]
	bic	r0, r3, r0
	str	r0, [r4]
	bl	writew
	mov	r1, r4
	mov	r0, r6
	bl	send_data
	cmp	r0, #0
	bne	.L33
.L8:
	ldr	r10, .L36+4
	ldr	r3, [r10]
	tst	r5, r3
	bne	.L34
.L7:
	mov	r7, #1
	mov	r0, r7
	pop	{r4, r5, r6, r7, r8, r9, r10, pc}
.L32:
	ldr	r3, [r4]
	ldr	r1, [r4, #12]
	bic	r0, r3, r0
	str	r0, [r4]
	bl	writew
	mov	r1, r4
	mov	r0, r6
	bl	send_data
	cmp	r0, #0
	bne	.L35
.L4:
	ldr	r7, .L36+12
	ldr	r3, [r7]
	tst	r5, r3
	beq	.L7
	ldr	r3, [r9]
	ldr	r0, [r4]
	ldr	r1, [r4, #12]
	bic	r0, r0, r3
	str	r0, [r4]
	bl	writew
	mov	r1, r4
	mov	r0, r6
	bl	send_data
	cmp	r0, #0
	beq	.L7
	ldr	r0, [r7]
	ldr	r1, [r4, #8]
	bl	writew
	ldr	r3, [r9]
	ldr	r0, [r4]
	ldr	r1, [r4, #12]
	orr	r0, r0, r3
	str	r0, [r4]
	bl	writew
	ldr	r3, [r8, r6, lsl #2]
	mov	r7, #1
	clz	r3, r3
	lsr	r3, r3, #5
	str	r3, [r8, r6, lsl #2]
	b	.L1
.L34:
	ldr	r3, [r9]
	ldr	r0, [r4]
	ldr	r1, [r4, #12]
	bic	r0, r0, r3
	str	r0, [r4]
	bl	writew
	mov	r1, r4
	mov	r0, r6
	bl	send_data
	cmp	r0, #0
	beq	.L7
	ldr	r1, [r4, #8]
	ldr	r0, [r10]
	bl	writew
	ldr	r3, [r9]
	ldr	r0, [r4]
	ldr	r1, [r4, #12]
	orr	r0, r0, r3
	str	r0, [r4]
	bl	writew
	ldr	r3, [r8, r6, lsl #2]
	clz	r3, r3
	lsr	r3, r3, #5
	str	r3, [r8, r6, lsl #2]
	b	.L1
.L33:
	ldr	r1, [r4, #8]
	ldr	r0, [r10]
	bl	writew
	ldr	r3, [r9]
	ldr	r0, [r4]
	ldr	r1, [r4, #12]
	orr	r0, r0, r3
	str	r0, [r4]
	bl	writew
	ldr	r3, [r8, r6, lsl #2]
	clz	r3, r3
	lsr	r3, r3, #5
	str	r3, [r8, r6, lsl #2]
	b	.L8
.L35:
	ldr	r1, [r4, #8]
	ldr	r0, [r7]
	bl	writew
	ldr	r3, [r9]
	ldr	r0, [r4]
	ldr	r1, [r4, #12]
	orr	r0, r0, r3
	str	r0, [r4]
	bl	writew
	ldr	r3, [r8, r6, lsl #2]
	clz	r3, r3
	lsr	r3, r3, #5
	str	r3, [r8, r6, lsl #2]
	b	.L4
.L37:
	.align	2
.L36:
	.word	MDM_UL
	.word	MDM_UL1
	.word	.LC0
	.word	MDM_UL2
	.size	handle_data_ul, .-handle_data_ul
	.comm	MDM_UL2,4,4
	.comm	MDM_UL1,4,4
	.comm	MDM_UL,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
