	.file	"extr_sky2.c_sky2_watchdog.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"receiver hang detected\n"
	.text
	.p2align 4
	.type	sky2_watchdog, @function
sky2_watchdog:
.LFB0:
	.cfi_startproc
	endbr64
	push	r13
	.cfi_def_cfa_offset 16
	.cfi_offset 13, -16
	mov	rsi, rdi
	xor	edi, edi
	push	r12
	.cfi_def_cfa_offset 24
	.cfi_offset 12, -24
	push	rbp
	.cfi_def_cfa_offset 32
	.cfi_offset 6, -32
	push	rbx
	.cfi_def_cfa_offset 40
	.cfi_offset 3, -40
	sub	rsp, 8
	.cfi_def_cfa_offset 48
	mov	edx, DWORD PTR watchdog_timer[rip]
	call	from_timer@PLT
	mov	esi, DWORD PTR B0_ISRC[rip]
	mov	rdi, rax
	mov	rbp, rax
	call	sky2_read32@PLT
	test	rax, rax
	jne	.L2
	mov	eax, DWORD PTR 0[rbp]
	xor	ebx, ebx
	xor	r13d, r13d
	test	eax, eax
	jg	.L3
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L6:
	add	rbx, 1
	cmp	DWORD PTR 0[rbp], ebx
	jle	.L26
.L3:
	mov	rax, QWORD PTR 16[rbp]
	mov	r12, QWORD PTR [rax+rbx*8]
	mov	rdi, r12
	call	netif_running@PLT
	test	eax, eax
	je	.L6
	mov	eax, DWORD PTR 4[rbp]
	add	r13d, 1
	test	DWORD PTR SKY2_HW_RAM_BUFFER[rip], eax
	je	.L6
	mov	rdi, r12
	call	sky2_rx_hung@PLT
	test	rax, rax
	je	.L6
	mov	rdi, r12
	lea	rsi, .LC0[rip]
	call	netdev_info@PLT
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	lea	rdi, 12[rbp]
	pop	rbx
	.cfi_def_cfa_offset 32
	pop	rbp
	.cfi_def_cfa_offset 24
	pop	r12
	.cfi_def_cfa_offset 16
	pop	r13
	.cfi_def_cfa_offset 8
	jmp	schedule_work@PLT
	.p2align 4,,10
	.p2align 3
.L26:
	.cfi_restore_state
	test	r13d, r13d
	je	.L1
.L5:
	mov	rdi, QWORD PTR HZ[rip]
	add	rdi, QWORD PTR jiffies[rip]
	call	round_jiffies@PLT
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	lea	rdi, 8[rbp]
	pop	rbx
	.cfi_def_cfa_offset 32
	mov	esi, eax
	pop	rbp
	.cfi_def_cfa_offset 24
	pop	r12
	.cfi_def_cfa_offset 16
	pop	r13
	.cfi_def_cfa_offset 8
	jmp	mod_timer@PLT
	.p2align 4,,10
	.p2align 3
.L2:
	.cfi_restore_state
	lea	rdi, 24[rbp]
	call	napi_schedule@PLT
	jmp	.L5
	.p2align 4,,10
	.p2align 3
.L1:
	add	rsp, 8
	.cfi_def_cfa_offset 40
	pop	rbx
	.cfi_def_cfa_offset 32
	pop	rbp
	.cfi_def_cfa_offset 24
	pop	r12
	.cfi_def_cfa_offset 16
	pop	r13
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE0:
	.size	sky2_watchdog, .-sky2_watchdog
	.comm	watchdog_timer,4,4
	.comm	jiffies,8,8
	.comm	hw,8,8
	.comm	SKY2_HW_RAM_BUFFER,4,4
	.comm	HZ,8,8
	.comm	B0_ISRC,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_sky2.c_sky2_watchdog.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"receiver hang detected\012\000"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	sky2_watchdog, %function
sky2_watchdog:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	ldr	r3, .L27
	push	{r4, r5, r6, r7, r8, lr}
	mov	r1, r0
	ldr	r2, [r3]
	mov	r0, #0
	bl	from_timer
	ldr	r3, .L27+4
	mov	r5, r0
	ldr	r1, [r3]
	bl	sky2_read32
	subs	r7, r0, #0
	bne	.L2
	ldr	r3, [r5]
	cmp	r3, #0
	pople	{r4, r5, r6, r7, r8, pc}
	mov	r4, r7
	ldr	r8, .L27+8
	b	.L3
.L6:
	ldr	r3, [r5]
	cmp	r3, r4
	ble	.L26
.L3:
	ldr	r3, [r5, #16]
	ldr	r6, [r3, r4, lsl #2]
	add	r4, r4, #1
	mov	r0, r6
	bl	netif_running
	cmp	r0, #0
	beq	.L6
	ldr	r2, [r5, #4]
	ldr	r3, [r8]
	add	r7, r7, #1
	tst	r2, r3
	beq	.L6
	mov	r0, r6
	bl	sky2_rx_hung
	cmp	r0, #0
	beq	.L6
	mov	r0, r6
	ldr	r1, .L27+12
	bl	netdev_info
	add	r0, r5, #12
	pop	{r4, r5, r6, r7, r8, lr}
	b	schedule_work
.L26:
	cmp	r7, #0
	popeq	{r4, r5, r6, r7, r8, pc}
.L5:
	ldr	r2, .L27+16
	ldr	r3, .L27+20
	ldr	r0, [r2]
	ldr	r3, [r3]
	add	r0, r0, r3
	bl	round_jiffies
	mov	r1, r0
	add	r0, r5, #8
	pop	{r4, r5, r6, r7, r8, lr}
	b	mod_timer
.L2:
	add	r0, r5, #20
	bl	napi_schedule
	b	.L5
.L28:
	.align	2
.L27:
	.word	watchdog_timer
	.word	B0_ISRC
	.word	SKY2_HW_RAM_BUFFER
	.word	.LC0
	.word	jiffies
	.word	HZ
	.size	sky2_watchdog, .-sky2_watchdog
	.comm	watchdog_timer,4,4
	.comm	jiffies,4,4
	.comm	hw,4,4
	.comm	SKY2_HW_RAM_BUFFER,4,4
	.comm	HZ,4,4
	.comm	B0_ISRC,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
