	.file	"extr_de4x5.c_ping_media.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	ping_media, @function
ping_media:
.LFB0:
	.cfi_startproc
	endbr64
	push	r12
	.cfi_def_cfa_offset 16
	.cfi_offset 12, -16
	mov	r12d, esi
	push	rbp
	.cfi_def_cfa_offset 24
	.cfi_offset 6, -24
	mov	rbp, rdi
	push	rbx
	.cfi_def_cfa_offset 32
	.cfi_offset 3, -32
	call	netdev_priv@PLT
	mov	ecx, DWORD PTR [rax]
	mov	rbx, rax
	test	ecx, ecx
	js	.L13
.L2:
	mov	edi, DWORD PTR DE4X5_SISR[rip]
	call	inl@PLT
	mov	ebp, eax
	test	DWORD PTR SISR_NCR[rip], eax
	je	.L3
.L7:
	mov	eax, 1
.L4:
	mov	DWORD PTR [rbx], -1
.L1:
	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
.L3:
	.cfi_restore_state
	mov	rdx, QWORD PTR 8[rbx]
	mov	rax, QWORD PTR 32[rbx]
	mov	edi, DWORD PTR [rax+rdx*4]
	call	le32_to_cpu@PLT
	test	eax, eax
	js	.L14
.L5:
	test	DWORD PTR SISR_NCR[rip], ebp
	jne	.L7
	mov	rdx, QWORD PTR 8[rbx]
	mov	rax, QWORD PTR 32[rbx]
	mov	edi, DWORD PTR [rax+rdx*4]
	call	le32_to_cpu@PLT
	mov	r8d, eax
	mov	eax, DWORD PTR T_OWN[rip]
	or	eax, DWORD PTR TD_ES[rip]
	test	eax, r8d
	jne	.L7
	mov	edx, DWORD PTR [rbx]
	xor	eax, eax
	test	edx, edx
	sete	al
	jmp	.L4
	.p2align 4,,10
	.p2align 3
.L13:
	movsx	rax, r12d
	sar	r12d, 31
	mov	esi, DWORD PTR 40[rbx]
	mov	edx, DWORD PTR TD_LS[rip]
	imul	rax, rax, 1374389535
	or	edx, DWORD PTR TD_FS[rip]
	mov	rdi, rbp
	mov	ecx, 1
	or	edx, 4
	sar	rax, 37
	sub	eax, r12d
	mov	DWORD PTR [rbx], eax
	mov	rax, QWORD PTR 16[rbx]
	mov	QWORD PTR 8[rbx], rax
	call	load_packet@PLT
	mov	rax, QWORD PTR 16[rbx]
	movsx	rcx, DWORD PTR 24[rbx]
	xor	edx, edx
	mov	esi, DWORD PTR DE4X5_TPD[rip]
	mov	edi, DWORD PTR POLL_DEMAND[rip]
	add	rax, 1
	div	rcx
	mov	QWORD PTR 16[rbx], rdx
	call	outl@PLT
	jmp	.L2
	.p2align 4,,10
	.p2align 3
.L14:
	sub	DWORD PTR [rbx], 1
	je	.L5
	mov	eax, DWORD PTR TIMER_CB[rip]
	or	eax, 100
	jmp	.L1
	.cfi_endproc
.LFE0:
	.size	ping_media, .-ping_media
	.comm	T_OWN,4,4
	.comm	TIMER_CB,4,4
	.comm	TD_LS,4,4
	.comm	TD_FS,4,4
	.comm	TD_ES,4,4
	.comm	SISR_NCR,4,4
	.comm	POLL_DEMAND,4,4
	.comm	DE4X5_TPD,4,4
	.comm	DE4X5_SISR,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_de4x5.c_ping_media.c"
	.text
	.global	__aeabi_uidivmod
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	ping_media, %function
ping_media:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, lr}
	mov	r5, r1
	mov	r6, r0
	bl	netdev_priv
	ldr	r2, [r0]
	mov	r4, r0
	cmp	r2, #0
	blt	.L13
.L2:
	ldr	r3, .L15
	ldr	r6, .L15+4
	ldr	r0, [r3]
	bl	inl
	ldr	r3, [r6]
	mov	r5, r0
	tst	r0, r3
	beq	.L3
.L7:
	mov	r0, #1
.L4:
	mvn	r3, #0
	str	r3, [r4]
	pop	{r4, r5, r6, pc}
.L3:
	ldr	r2, [r4, #4]
	ldr	r3, [r4, #16]
	ldr	r0, [r3, r2, lsl #2]
	bl	le32_to_cpu
	cmp	r0, #0
	blt	.L14
.L5:
	ldr	r3, [r6]
	tst	r5, r3
	bne	.L7
	ldr	r2, [r4, #4]
	ldr	r3, [r4, #16]
	ldr	r0, [r3, r2, lsl #2]
	bl	le32_to_cpu
	ldr	r3, .L15+8
	ldr	r2, .L15+12
	ldr	r3, [r3]
	ldr	r2, [r2]
	orr	r3, r3, r2
	tst	r3, r0
	bne	.L7
	ldr	r0, [r4]
	clz	r0, r0
	lsr	r0, r0, #5
	b	.L4
.L13:
	ldr	r3, .L15+16
	ldr	r2, .L15+20
	smull	r0, r1, r3, r5
	ldr	r3, .L15+24
	ldr	r2, [r2]
	ldr	r0, [r3]
	asr	r3, r5, #31
	rsb	r3, r3, r1, asr #5
	ldr	r1, [r4, #8]
	orr	r2, r2, r0
	str	r3, [r4]
	orr	r2, r2, #4
	mov	r3, #1
	str	r1, [r4, #4]
	mov	r0, r6
	ldr	r1, [r4, #20]
	bl	load_packet
	ldr	r0, [r4, #8]
	ldr	r1, [r4, #12]
	add	r0, r0, #1
	bl	__aeabi_uidivmod
	ldr	r2, .L15+28
	ldr	r3, .L15+32
	str	r1, [r4, #8]
	ldr	r0, [r3]
	ldr	r1, [r2]
	bl	outl
	b	.L2
.L14:
	ldr	r3, [r4]
	sub	r3, r3, #1
	cmp	r3, #0
	str	r3, [r4]
	beq	.L5
	ldr	r3, .L15+36
	ldr	r0, [r3]
	orr	r0, r0, #100
	pop	{r4, r5, r6, pc}
.L16:
	.align	2
.L15:
	.word	DE4X5_SISR
	.word	SISR_NCR
	.word	T_OWN
	.word	TD_ES
	.word	1374389535
	.word	TD_LS
	.word	TD_FS
	.word	DE4X5_TPD
	.word	POLL_DEMAND
	.word	TIMER_CB
	.size	ping_media, .-ping_media
	.comm	T_OWN,4,4
	.comm	TIMER_CB,4,4
	.comm	TD_LS,4,4
	.comm	TD_FS,4,4
	.comm	TD_ES,4,4
	.comm	SISR_NCR,4,4
	.comm	POLL_DEMAND,4,4
	.comm	DE4X5_TPD,4,4
	.comm	DE4X5_SISR,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
