	.file	"extr_devlink.c_devlink_health_report.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.globl	devlink_health_report
	.type	devlink_health_report, @function
devlink_health_report:
.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	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	rbp, rdi
	sub	rsp, 8
	.cfi_def_cfa_offset 48
	mov	r14, QWORD PTR 48[rdi]
	xor	edi, edi
	test	rsi, rsi
	sete	dil
	call	WARN_ON@PLT
	mov	rax, QWORD PTR 32[rbp]
	mov	rdx, r12
	mov	rdi, r14
	mov	esi, DWORD PTR [rax]
	call	trace_devlink_health_report@PLT
	mov	rax, QWORD PTR DEVLINK_HEALTH_REPORTER_STATE_ERROR[rip]
	add	DWORD PTR 44[rbp], 1
	cmp	QWORD PTR 16[rbp], 0
	mov	ecx, DWORD PTR 0[rbp]
	mov	edx, eax
	mov	DWORD PTR 0[rbp], eax
	je	.L2
	mov	r12, QWORD PTR jiffies[rip]
	sub	r12, QWORD PTR 8[rbp]
	cmp	ecx, DWORD PTR DEVLINK_HEALTH_REPORTER_STATE_HEALTHY[rip]
	je	.L9
.L3:
	mov	rax, QWORD PTR 32[rbp]
	mov	rcx, r12
	mov	rdi, r14
	mov	esi, DWORD PTR [rax]
	call	trace_devlink_health_recover_aborted@PLT
	mov	eax, DWORD PTR ECANCELED[rip]
	neg	eax
.L1:
	add	rsp, 8
	.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
.L9:
	.cfi_restore_state
	mov	edi, DWORD PTR 40[rbp]
	call	msecs_to_jiffies@PLT
	mov	edx, DWORD PTR DEVLINK_HEALTH_REPORTER_STATE_ERROR[rip]
	cmp	rax, r12
	jg	.L10
.L2:
	mov	DWORD PTR 0[rbp], edx
	lea	r12, 24[rbp]
	mov	rdi, r12
	call	mutex_lock@PLT
	mov	rsi, r13
	mov	rdi, rbp
	call	devlink_health_do_dump@PLT
	mov	rdi, r12
	call	mutex_unlock@PLT
	xor	eax, eax
	cmp	QWORD PTR 16[rbp], 0
	je	.L1
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	mov	rsi, r13
	mov	rdi, rbp
	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
	jmp	devlink_health_reporter_recover@PLT
	.p2align 4,,10
	.p2align 3
.L10:
	.cfi_restore_state
	mov	r12, QWORD PTR jiffies[rip]
	mov	edx, DWORD PTR 0[rbp]
	sub	r12, QWORD PTR 8[rbp]
	jmp	.L3
	.cfi_endproc
.LFE0:
	.size	devlink_health_report, .-devlink_health_report
	.comm	jiffies,8,8
	.comm	ECANCELED,4,4
	.comm	DEVLINK_HEALTH_REPORTER_STATE_HEALTHY,4,4
	.comm	DEVLINK_HEALTH_REPORTER_STATE_ERROR,8,8
	.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_devlink.c_devlink_health_report.c"
	.text
	.align	2
	.global	devlink_health_report
	.syntax unified
	.arm
	.fpu softvfp
	.type	devlink_health_report, %function
devlink_health_report:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, r10, lr}
	mov	r4, r0
	clz	r0, r1
	mov	r5, r1
	lsr	r0, r0, #5
	mov	r6, r2
	ldr	r7, [r4, #28]
	bl	WARN_ON
	ldr	r3, [r4, #16]
	mov	r2, r5
	ldr	r1, [r3]
	mov	r0, r7
	ldr	r8, .L14
	bl	trace_devlink_health_report
	ldr	r3, [r4, #24]
	ldr	r1, [r4, #8]
	ldr	r2, [r8]
	add	r3, r3, #1
	cmp	r1, #0
	str	r3, [r4, #24]
	ldr	r3, [r4]
	str	r2, [r4]
	beq	.L2
	ldr	r1, .L14+4
	ldr	r9, .L14+8
	ldr	r1, [r1]
	ldr	r5, [r9]
	cmp	r3, r1
	ldr	r3, [r4, #4]
	sub	r5, r5, r3
	bne	.L3
	ldr	r0, [r4, #20]
	bl	msecs_to_jiffies
	cmp	r0, r5
	bgt	.L4
	ldr	r2, [r8]
.L2:
	mov	r5, r4
	str	r2, [r5], #12
	mov	r0, r5
	bl	mutex_lock
	mov	r1, r6
	mov	r0, r4
	bl	devlink_health_do_dump
	mov	r0, r5
	bl	mutex_unlock
	ldr	r0, [r4, #8]
	cmp	r0, #0
	popeq	{r4, r5, r6, r7, r8, r9, r10, pc}
	mov	r1, r6
	mov	r0, r4
	pop	{r4, r5, r6, r7, r8, r9, r10, lr}
	b	devlink_health_reporter_recover
.L4:
	ldr	r5, [r9]
	ldm	r4, {r2, r3}
	sub	r5, r5, r3
.L3:
	ldr	r1, [r4, #16]
	mov	r3, r5
	mov	r0, r7
	ldr	r1, [r1]
	bl	trace_devlink_health_recover_aborted
	ldr	r3, .L14+12
	ldr	r0, [r3]
	rsb	r0, r0, #0
	pop	{r4, r5, r6, r7, r8, r9, r10, pc}
.L15:
	.align	2
.L14:
	.word	DEVLINK_HEALTH_REPORTER_STATE_ERROR
	.word	DEVLINK_HEALTH_REPORTER_STATE_HEALTHY
	.word	jiffies
	.word	ECANCELED
	.size	devlink_health_report, .-devlink_health_report
	.comm	jiffies,4,4
	.comm	ECANCELED,4,4
	.comm	DEVLINK_HEALTH_REPORTER_STATE_HEALTHY,4,4
	.comm	DEVLINK_HEALTH_REPORTER_STATE_ERROR,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
