	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function bnx2x_poll_hw_usage_counters
_bnx2x_poll_hw_usage_counters:          ## @bnx2x_poll_hw_usage_counters
	.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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%esi, %r14d
	movq	%rdi, %rbx
	movq	_CFC_REG_NUM_LCIDS_INSIDE_PF@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	leaq	L_.str(%rip), %rdx
	movl	%r14d, %ecx
	callq	_bnx2x_flr_clnup_poll_hw_counter
	movl	$1, %r15d
	testq	%rax, %rax
	jne	LBB0_6
## %bb.1:
	movq	_DORQ_REG_PF_USAGE_CNT@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	leaq	L_.str.1(%rip), %rdx
	movq	%rbx, %rdi
	movl	%r14d, %ecx
	callq	_bnx2x_flr_clnup_poll_hw_counter
	testq	%rax, %rax
	jne	LBB0_6
## %bb.2:
	movq	_QM_REG_PF_USG_CNT_0@GOTPCREL(%rip), %rax
	movq	(%rax), %r12
	movq	%rbx, %rdi
	callq	_BP_FUNC
	shll	$2, %eax
	movslq	%eax, %rsi
	addq	%r12, %rsi
	leaq	L_.str.2(%rip), %rdx
	movq	%rbx, %rdi
	movl	%r14d, %ecx
	callq	_bnx2x_flr_clnup_poll_hw_counter
	testq	%rax, %rax
	jne	LBB0_6
## %bb.3:
	movq	_TM_REG_LIN0_VNIC_UC@GOTPCREL(%rip), %rax
	movq	(%rax), %r12
	movq	%rbx, %rdi
	callq	_BP_PORT
	shll	$2, %eax
	movslq	%eax, %rsi
	addq	%r12, %rsi
	leaq	L_.str.3(%rip), %rdx
	movq	%rbx, %rdi
	movl	%r14d, %ecx
	callq	_bnx2x_flr_clnup_poll_hw_counter
	testq	%rax, %rax
	jne	LBB0_6
## %bb.4:
	movq	_TM_REG_LIN0_NUM_SCANS@GOTPCREL(%rip), %rax
	movq	(%rax), %r12
	movq	%rbx, %rdi
	callq	_BP_PORT
	shll	$2, %eax
	movslq	%eax, %rsi
	addq	%r12, %rsi
	leaq	L_.str.4(%rip), %rdx
	movq	%rbx, %rdi
	movl	%r14d, %ecx
	callq	_bnx2x_flr_clnup_poll_hw_counter
	testq	%rax, %rax
	jne	LBB0_6
## %bb.5:
	movq	_dmae_reg_go_c@GOTPCREL(%rip), %rax
	movq	(%rax), %r15
	movq	%rbx, %rdi
	callq	_INIT_DMAE_C
	movq	(%r15,%rax,8), %rsi
	leaq	L_.str.5(%rip), %rdx
	movq	%rbx, %rdi
	movl	%r14d, %ecx
	callq	_bnx2x_flr_clnup_poll_hw_counter
	xorl	%r15d, %r15d
	testq	%rax, %rax
	setne	%r15b
LBB0_6:
	movl	%r15d, %eax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_CFC_REG_NUM_LCIDS_INSIDE_PF,8,3 ## @CFC_REG_NUM_LCIDS_INSIDE_PF
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"CFC PF usage counter timed out"

	.comm	_DORQ_REG_PF_USAGE_CNT,8,3      ## @DORQ_REG_PF_USAGE_CNT
L_.str.1:                               ## @.str.1
	.asciz	"DQ PF usage counter timed out"

	.comm	_QM_REG_PF_USG_CNT_0,8,3        ## @QM_REG_PF_USG_CNT_0
L_.str.2:                               ## @.str.2
	.asciz	"QM PF usage counter timed out"

	.comm	_TM_REG_LIN0_VNIC_UC,8,3        ## @TM_REG_LIN0_VNIC_UC
L_.str.3:                               ## @.str.3
	.asciz	"Timers VNIC usage counter timed out"

	.comm	_TM_REG_LIN0_NUM_SCANS,8,3      ## @TM_REG_LIN0_NUM_SCANS
L_.str.4:                               ## @.str.4
	.asciz	"Timers NUM_SCANS usage counter timed out"

	.comm	_dmae_reg_go_c,8,3              ## @dmae_reg_go_c
L_.str.5:                               ## @.str.5
	.asciz	"DMAE command register timed out"

	.no_dead_strip	_bnx2x_poll_hw_usage_counters
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function bnx2x_poll_hw_usage_counters
_bnx2x_poll_hw_usage_counters:          ; @bnx2x_poll_hw_usage_counters
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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
	mov	x19, x1
	mov	x20, x0
Lloh0:
	adrp	x8, _CFC_REG_NUM_LCIDS_INSIDE_PF@GOTPAGE
Lloh1:
	ldr	x8, [x8, _CFC_REG_NUM_LCIDS_INSIDE_PF@GOTPAGEOFF]
Lloh2:
	ldr	x1, [x8]
Lloh3:
	adrp	x2, l_.str@PAGE
Lloh4:
	add	x2, x2, l_.str@PAGEOFF
	mov	x3, x19
	bl	_bnx2x_flr_clnup_poll_hw_counter
	cbnz	x0, LBB0_5
; %bb.1:
Lloh5:
	adrp	x8, _DORQ_REG_PF_USAGE_CNT@GOTPAGE
Lloh6:
	ldr	x8, [x8, _DORQ_REG_PF_USAGE_CNT@GOTPAGEOFF]
Lloh7:
	ldr	x1, [x8]
Lloh8:
	adrp	x2, l_.str.1@PAGE
Lloh9:
	add	x2, x2, l_.str.1@PAGEOFF
	mov	x0, x20
	mov	x3, x19
	bl	_bnx2x_flr_clnup_poll_hw_counter
	cbnz	x0, LBB0_5
; %bb.2:
Lloh10:
	adrp	x8, _QM_REG_PF_USG_CNT_0@GOTPAGE
Lloh11:
	ldr	x8, [x8, _QM_REG_PF_USG_CNT_0@GOTPAGEOFF]
Lloh12:
	ldr	x21, [x8]
	mov	x0, x20
	bl	_BP_FUNC
	lsl	w8, w0, #2
	add	x1, x21, w8, sxtw
Lloh13:
	adrp	x2, l_.str.2@PAGE
Lloh14:
	add	x2, x2, l_.str.2@PAGEOFF
	mov	x0, x20
	mov	x3, x19
	bl	_bnx2x_flr_clnup_poll_hw_counter
	cbnz	x0, LBB0_5
; %bb.3:
Lloh15:
	adrp	x8, _TM_REG_LIN0_VNIC_UC@GOTPAGE
Lloh16:
	ldr	x8, [x8, _TM_REG_LIN0_VNIC_UC@GOTPAGEOFF]
Lloh17:
	ldr	x21, [x8]
	mov	x0, x20
	bl	_BP_PORT
	lsl	w8, w0, #2
	add	x1, x21, w8, sxtw
Lloh18:
	adrp	x2, l_.str.3@PAGE
Lloh19:
	add	x2, x2, l_.str.3@PAGEOFF
	mov	x0, x20
	mov	x3, x19
	bl	_bnx2x_flr_clnup_poll_hw_counter
	cbnz	x0, LBB0_5
; %bb.4:
Lloh20:
	adrp	x8, _TM_REG_LIN0_NUM_SCANS@GOTPAGE
Lloh21:
	ldr	x8, [x8, _TM_REG_LIN0_NUM_SCANS@GOTPAGEOFF]
Lloh22:
	ldr	x21, [x8]
	mov	x0, x20
	bl	_BP_PORT
	lsl	w8, w0, #2
	add	x1, x21, w8, sxtw
Lloh23:
	adrp	x2, l_.str.4@PAGE
Lloh24:
	add	x2, x2, l_.str.4@PAGEOFF
	mov	x0, x20
	mov	x3, x19
	bl	_bnx2x_flr_clnup_poll_hw_counter
	cbz	x0, LBB0_7
LBB0_5:
	mov	w0, #1
LBB0_6:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
LBB0_7:
Lloh25:
	adrp	x8, _dmae_reg_go_c@GOTPAGE
Lloh26:
	ldr	x8, [x8, _dmae_reg_go_c@GOTPAGEOFF]
Lloh27:
	ldr	x21, [x8]
	mov	x0, x20
	bl	_INIT_DMAE_C
	ldr	x1, [x21, x0, lsl #3]
Lloh28:
	adrp	x2, l_.str.5@PAGE
Lloh29:
	add	x2, x2, l_.str.5@PAGEOFF
	mov	x0, x20
	mov	x3, x19
	bl	_bnx2x_flr_clnup_poll_hw_counter
	cmp	x0, #0
	cset	w0, ne
	b	LBB0_6
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpAdd	Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpAdd	Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpAdd	Lloh23, Lloh24
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpAdd	Lloh28, Lloh29
	.loh AdrpLdrGotLdr	Lloh25, Lloh26, Lloh27
	.cfi_endproc
                                        ; -- End function
	.comm	_CFC_REG_NUM_LCIDS_INSIDE_PF,8,3 ; @CFC_REG_NUM_LCIDS_INSIDE_PF
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"CFC PF usage counter timed out"

	.comm	_DORQ_REG_PF_USAGE_CNT,8,3      ; @DORQ_REG_PF_USAGE_CNT
l_.str.1:                               ; @.str.1
	.asciz	"DQ PF usage counter timed out"

	.comm	_QM_REG_PF_USG_CNT_0,8,3        ; @QM_REG_PF_USG_CNT_0
l_.str.2:                               ; @.str.2
	.asciz	"QM PF usage counter timed out"

	.comm	_TM_REG_LIN0_VNIC_UC,8,3        ; @TM_REG_LIN0_VNIC_UC
l_.str.3:                               ; @.str.3
	.asciz	"Timers VNIC usage counter timed out"

	.comm	_TM_REG_LIN0_NUM_SCANS,8,3      ; @TM_REG_LIN0_NUM_SCANS
l_.str.4:                               ; @.str.4
	.asciz	"Timers NUM_SCANS usage counter timed out"

	.comm	_dmae_reg_go_c,8,3              ; @dmae_reg_go_c
l_.str.5:                               ; @.str.5
	.asciz	"DMAE command register timed out"

	.no_dead_strip	_bnx2x_poll_hw_usage_counters
.subsections_via_symbols
