	.file	"extr_bnx2x_link.c_bnx2x_fan_failure_det_req.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"populate phy failed\n"
	.text
	.p2align 4
	.globl	bnx2x_fan_failure_det_req
	.type	bnx2x_fan_failure_det_req, @function
bnx2x_fan_failure_det_req:
.LFB0:
	.cfi_startproc
	endbr64
	push	r15
	.cfi_def_cfa_offset 16
	.cfi_offset 15, -16
	push	r14
	.cfi_def_cfa_offset 24
	.cfi_offset 14, -24
	push	r13
	.cfi_def_cfa_offset 32
	.cfi_offset 13, -32
	push	r12
	.cfi_def_cfa_offset 40
	.cfi_offset 12, -40
	push	rbp
	.cfi_def_cfa_offset 48
	.cfi_offset 6, -48
	push	rbx
	.cfi_def_cfa_offset 56
	.cfi_offset 3, -56
	sub	rsp, 40
	.cfi_def_cfa_offset 96
	mov	rbx, QWORD PTR EXT_PHY1[rip]
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 24[rsp], rax
	xor	eax, eax
	cmp	rbx, QWORD PTR MAX_PHYS[rip]
	jge	.L6
	mov	rbp, rdi
	mov	r13d, esi
	mov	r14d, edx
	mov	r15, rcx
	xor	r12d, r12d
	lea	r9, 16[rsp]
	jmp	.L4
	.p2align 4,,10
	.p2align 3
.L3:
	mov	rax, QWORD PTR 16[rsp]
	and	rax, QWORD PTR FLAGS_FAN_FAILURE_DET_REQ[rip]
	add	rbx, 1
	or	r12, rax
	cmp	QWORD PTR MAX_PHYS[rip], rbx
	jle	.L1
.L4:
	mov	r8, r15
	mov	ecx, r14d
	mov	edx, r13d
	mov	rsi, rbx
	mov	rdi, rbp
	mov	QWORD PTR 8[rsp], r9
	call	bnx2x_populate_phy@PLT
	mov	r9, QWORD PTR 8[rsp]
	test	rax, rax
	je	.L3
	mov	edi, DWORD PTR NETIF_MSG_LINK[rip]
	lea	rsi, .LC0[rip]
	xor	r12d, r12d
	call	DP@PLT
.L1:
	mov	rax, QWORD PTR 24[rsp]
	xor	rax, QWORD PTR fs:40
	jne	.L10
	add	rsp, 40
	.cfi_remember_state
	.cfi_def_cfa_offset 56
	mov	rax, r12
	pop	rbx
	.cfi_def_cfa_offset 48
	pop	rbp
	.cfi_def_cfa_offset 40
	pop	r12
	.cfi_def_cfa_offset 32
	pop	r13
	.cfi_def_cfa_offset 24
	pop	r14
	.cfi_def_cfa_offset 16
	pop	r15
	.cfi_def_cfa_offset 8
	ret
.L6:
	.cfi_restore_state
	xor	r12d, r12d
	jmp	.L1
.L10:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	bnx2x_fan_failure_det_req, .-bnx2x_fan_failure_det_req
	.comm	NETIF_MSG_LINK,4,4
	.comm	MAX_PHYS,8,8
	.comm	FLAGS_FAN_FAILURE_DET_REQ,8,8
	.comm	EXT_PHY1,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_bnx2x_link.c_bnx2x_fan_failure_det_req.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"populate phy failed\012\000"
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC1:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	bnx2x_fan_failure_det_req
	.syntax unified
	.arm
	.fpu softvfp
	.type	bnx2x_fan_failure_det_req, %function
bnx2x_fan_failure_det_req:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, r10, fp, lr}
	mov	r8, r3
	ldr	r9, .L11
	ldr	r3, .L11+4
	sub	sp, sp, #20
	ldr	r4, [r3]
	ldr	r3, [r9]
	cmp	r4, r3
	ldr	r3, .L11+8
	ldr	r3, [r3]
	str	r3, [sp, #12]
	mov	r3,#0
	bge	.L6
	mov	r6, r0
	mov	r7, r1
	mov	r10, r2
	mov	r5, #0
	ldr	fp, .L11+12
	b	.L4
.L3:
	ldr	r2, [r9]
	ldr	r1, [sp, #8]
	ldr	r3, [fp]
	add	r4, r4, #1
	and	r1, r1, r3
	cmp	r2, r4
	orr	r5, r5, r1
	ble	.L1
.L4:
	add	r3, sp, #8
	str	r3, [sp, #4]
	mov	r2, r7
	mov	r3, r10
	mov	r1, r4
	mov	r0, r6
	str	r8, [sp]
	bl	bnx2x_populate_phy
	cmp	r0, #0
	beq	.L3
	ldr	r3, .L11+16
	ldr	r1, .L11+20
	ldr	r0, [r3]
	bl	DP
	mov	r5, #0
.L1:
	ldr	r3, .L11+8
	ldr	r2, [r3]
	ldr	r3, [sp, #12]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L10
	mov	r0, r5
	add	sp, sp, #20
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, r10, fp, pc}
.L6:
	mov	r5, #0
	b	.L1
.L10:
	bl	__stack_chk_fail
.L12:
	.align	2
.L11:
	.word	MAX_PHYS
	.word	EXT_PHY1
	.word	.LC1
	.word	FLAGS_FAN_FAILURE_DET_REQ
	.word	NETIF_MSG_LINK
	.word	.LC0
	.size	bnx2x_fan_failure_det_req, .-bnx2x_fan_failure_det_req
	.comm	NETIF_MSG_LINK,4,4
	.comm	MAX_PHYS,4,4
	.comm	FLAGS_FAN_FAILURE_DET_REQ,4,4
	.comm	EXT_PHY1,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
