	.file	"extr_netjet.c_recv_tiger.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	recv_tiger, @function
recv_tiger:
.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
	mov	ecx, DWORD PTR [rdi]
	mov	rbx, rdi
	mov	eax, DWORD PTR 16[rdi]
	mov	edx, ecx
	xor	edx, esi
	mov	r12d, eax
	and	edx, DWORD PTR NJ_IRQM0_WR_MASK[rip]
	shr	r12d, 31
	xor	edx, ecx
	add	r12d, eax
	mov	DWORD PTR [rdi], edx
	sub	eax, 1
	sar	r12d
	test	DWORD PTR NJ_IRQM0_WR_END[rip], esi
	mov	rsi, QWORD PTR 8[rdi]
	mov	edi, DWORD PTR FLG_ACTIVE[rip]
	lea	ebp, -1[r12]
	cmove	ebp, eax
	call	test_bit@PLT
	test	rax, rax
	jne	.L11
.L4:
	mov	rax, QWORD PTR 8[rbx]
	mov	edi, DWORD PTR FLG_ACTIVE[rip]
	lea	rsi, 4[rax]
	call	test_bit@PLT
	test	rax, rax
	jne	.L12
	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
.L11:
	.cfi_restore_state
	mov	rdi, QWORD PTR 8[rbx]
	mov	edx, r12d
	mov	esi, ebp
	call	read_dma@PLT
	jmp	.L4
	.p2align 4,,10
	.p2align 3
.L12:
	mov	rdi, QWORD PTR 8[rbx]
	mov	edx, r12d
	pop	rbx
	.cfi_def_cfa_offset 24
	mov	esi, ebp
	pop	rbp
	.cfi_def_cfa_offset 16
	pop	r12
	.cfi_def_cfa_offset 8
	add	rdi, 4
	jmp	read_dma@PLT
	.cfi_endproc
.LFE0:
	.size	recv_tiger, .-recv_tiger
	.comm	NJ_IRQM0_WR_MASK,4,4
	.comm	NJ_IRQM0_WR_END,4,4
	.comm	FLG_ACTIVE,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_netjet.c_recv_tiger.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	recv_tiger, %function
recv_tiger:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, lr}
	mov	r4, r0
	ldr	r0, .L12
	ldr	r2, [r4]
	ldr	r3, .L12+4
	ldr	r0, [r0]
	ldr	ip, [r3]
	eor	r3, r2, r1
	and	r3, r3, r0
	ldr	r0, [r4, #8]
	ldr	r7, .L12+8
	tst	r1, ip
	eor	r3, r3, r2
	add	r6, r0, r0, lsr #31
	subeq	r5, r0, #1
	ldr	r1, [r4, #4]
	ldr	r0, [r7]
	str	r3, [r4]
	asr	r6, r6, #1
	subne	r5, r6, #1
	bl	test_bit
	cmp	r0, #0
	bne	.L11
.L4:
	ldr	r1, [r4, #4]
	ldr	r0, [r7]
	add	r1, r1, #4
	bl	test_bit
	cmp	r0, #0
	popeq	{r4, r5, r6, r7, r8, pc}
	ldr	r0, [r4, #4]
	mov	r2, r6
	mov	r1, r5
	pop	{r4, r5, r6, r7, r8, lr}
	add	r0, r0, #4
	b	read_dma
.L11:
	mov	r2, r6
	mov	r1, r5
	ldr	r0, [r4, #4]
	bl	read_dma
	b	.L4
.L13:
	.align	2
.L12:
	.word	NJ_IRQM0_WR_MASK
	.word	NJ_IRQM0_WR_END
	.word	FLG_ACTIVE
	.size	recv_tiger, .-recv_tiger
	.comm	NJ_IRQM0_WR_MASK,4,4
	.comm	NJ_IRQM0_WR_END,4,4
	.comm	FLG_ACTIVE,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
