	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_bnx2x_fan_failure_det_req      ## -- Begin function bnx2x_fan_failure_det_req
	.p2align	4, 0x90
_bnx2x_fan_failure_det_req:             ## @bnx2x_fan_failure_det_req
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r15
	pushq	%r14
	pushq	%r13
	pushq	%r12
	pushq	%rbx
	subq	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	_EXT_PHY1@GOTPCREL(%rip), %rax
	movq	(%rax), %r14
	movq	_MAX_PHYS@GOTPCREL(%rip), %rax
	cmpq	(%rax), %r14
	jge	LBB0_6
## %bb.1:
	movq	%rcx, %rbx
	movl	%edx, %ecx
	movl	%esi, %edx
	xorl	%r15d, %r15d
	movl	%esi, -44(%rbp)                 ## 4-byte Spill
	movq	%rdi, -56(%rbp)                 ## 8-byte Spill
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movq	%r14, %rsi
	movl	%ecx, %r13d
	movq	%rbx, %r12
	movq	%rbx, %r8
	leaq	-64(%rbp), %r9
	callq	_bnx2x_populate_phy
	testq	%rax, %rax
	jne	LBB0_5
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	_FLAGS_FAN_FAILURE_DET_REQ@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	andq	-64(%rbp), %rax
	orq	%rax, %r15
	incq	%r14
	movq	_MAX_PHYS@GOTPCREL(%rip), %rax
	cmpq	(%rax), %r14
	movq	%r12, %rbx
	movl	%r13d, %ecx
	movl	-44(%rbp), %edx                 ## 4-byte Reload
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	jl	LBB0_2
	jmp	LBB0_7
LBB0_5:
	movq	_NETIF_MSG_LINK@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str(%rip), %rsi
	callq	_DP
LBB0_6:
	xorl	%r15d, %r15d
LBB0_7:
	movq	%r15, %rax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_EXT_PHY1,8,3                   ## @EXT_PHY1
	.comm	_MAX_PHYS,8,3                   ## @MAX_PHYS
	.comm	_NETIF_MSG_LINK,4,2             ## @NETIF_MSG_LINK
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"populate phy failed\n"

	.comm	_FLAGS_FAN_FAILURE_DET_REQ,8,3  ## @FLAGS_FAN_FAILURE_DET_REQ
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_bnx2x_fan_failure_det_req      ; -- Begin function bnx2x_fan_failure_det_req
	.p2align	2
_bnx2x_fan_failure_det_req:             ; @bnx2x_fan_failure_det_req
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #96
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	.cfi_offset w25, -72
	.cfi_offset w26, -80
Lloh0:
	adrp	x8, _EXT_PHY1@GOTPAGE
Lloh1:
	ldr	x8, [x8, _EXT_PHY1@GOTPAGEOFF]
Lloh2:
	ldr	x24, [x8]
Lloh3:
	adrp	x25, _MAX_PHYS@GOTPAGE
Lloh4:
	ldr	x25, [x25, _MAX_PHYS@GOTPAGEOFF]
	ldr	x8, [x25]
	cmp	x24, x8
	b.ge	LBB0_5
; %bb.1:
	mov	x19, x3
	mov	x20, x2
	mov	x21, x1
	mov	x22, x0
	mov	x23, #0
Lloh5:
	adrp	x26, _FLAGS_FAN_FAILURE_DET_REQ@GOTPAGE
Lloh6:
	ldr	x26, [x26, _FLAGS_FAN_FAILURE_DET_REQ@GOTPAGEOFF]
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	add	x5, sp, #8
	mov	x0, x22
	mov	x1, x24
	mov	x2, x21
	mov	x3, x20
	mov	x4, x19
	bl	_bnx2x_populate_phy
	cbnz	x0, LBB0_4
; %bb.3:                                ;   in Loop: Header=BB0_2 Depth=1
	ldr	x8, [sp, #8]
	ldr	x9, [x26]
	and	x8, x9, x8
	orr	x23, x8, x23
	add	x24, x24, #1
	ldr	x8, [x25]
	cmp	x24, x8
	b.lt	LBB0_2
	b	LBB0_6
LBB0_4:
Lloh7:
	adrp	x8, _NETIF_MSG_LINK@GOTPAGE
Lloh8:
	ldr	x8, [x8, _NETIF_MSG_LINK@GOTPAGEOFF]
Lloh9:
	ldr	w0, [x8]
Lloh10:
	adrp	x1, l_.str@PAGE
Lloh11:
	add	x1, x1, l_.str@PAGEOFF
	bl	_DP
LBB0_5:
	mov	x23, #0
LBB0_6:
	mov	x0, x23
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #96
	ret
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.cfi_endproc
                                        ; -- End function
	.comm	_EXT_PHY1,8,3                   ; @EXT_PHY1
	.comm	_MAX_PHYS,8,3                   ; @MAX_PHYS
	.comm	_NETIF_MSG_LINK,4,2             ; @NETIF_MSG_LINK
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"populate phy failed\n"

	.comm	_FLAGS_FAN_FAILURE_DET_REQ,8,3  ; @FLAGS_FAN_FAILURE_DET_REQ
.subsections_via_symbols
