	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function bnx2x_emac_get_pfc_stat
_bnx2x_emac_get_pfc_stat:               ## @bnx2x_emac_get_pfc_stat
	.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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %r12
	movq	%rsi, %r14
	movq	8(%rdi), %r15
	cmpq	$0, (%rdi)
	jne	LBB0_1
## %bb.2:
	movq	_GRCBASE_EMAC0@GOTPCREL(%rip), %rax
	jmp	LBB0_3
LBB0_1:
	movq	_GRCBASE_EMAC1@GOTPCREL(%rip), %rax
LBB0_3:
	movq	(%rax), %r13
	movq	_NETIF_MSG_LINK@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str(%rip), %rsi
	callq	_DP
	movq	_EMAC_REG_RX_PFC_STATS_XOFF_RCVD@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	addq	%r13, %rsi
	movq	%r15, %rdi
	callq	_REG_RD
	movq	%rax, %rbx
	movq	_EMAC_REG_RX_PFC_STATS_XOFF_RCVD_COUNT@GOTPCREL(%rip), %rax
	andq	(%rax), %rbx
	movq	_EMAC_REG_RX_PFC_STATS_XON_RCVD@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	addq	%r13, %rsi
	movq	%r15, %rdi
	callq	_REG_RD
	movq	_EMAC_REG_RX_PFC_STATS_XON_RCVD_COUNT@GOTPCREL(%rip), %rcx
	andq	(%rcx), %rax
	addq	%rbx, %rax
	movq	%rax, (%r12)
	movq	_EMAC_REG_RX_PFC_STATS_XOFF_SENT@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	addq	%r13, %rsi
	movq	%r15, %rdi
	callq	_REG_RD
	movq	%rax, %rbx
	movq	_EMAC_REG_RX_PFC_STATS_XOFF_SENT_COUNT@GOTPCREL(%rip), %rax
	andq	(%rax), %rbx
	movq	_EMAC_REG_RX_PFC_STATS_XON_SENT@GOTPCREL(%rip), %rax
	addq	(%rax), %r13
	movq	%r15, %rdi
	movq	%r13, %rsi
	callq	_REG_RD
	movq	_EMAC_REG_RX_PFC_STATS_XON_SENT_COUNT@GOTPCREL(%rip), %rcx
	andq	(%rcx), %rax
	addq	%rbx, %rax
	movq	%rax, (%r14)
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_GRCBASE_EMAC1,8,3              ## @GRCBASE_EMAC1
	.comm	_GRCBASE_EMAC0,8,3              ## @GRCBASE_EMAC0
	.comm	_NETIF_MSG_LINK,4,2             ## @NETIF_MSG_LINK
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"pfc statistic read from EMAC\n"

	.comm	_EMAC_REG_RX_PFC_STATS_XOFF_RCVD,8,3 ## @EMAC_REG_RX_PFC_STATS_XOFF_RCVD
	.comm	_EMAC_REG_RX_PFC_STATS_XOFF_RCVD_COUNT,8,3 ## @EMAC_REG_RX_PFC_STATS_XOFF_RCVD_COUNT
	.comm	_EMAC_REG_RX_PFC_STATS_XON_RCVD,8,3 ## @EMAC_REG_RX_PFC_STATS_XON_RCVD
	.comm	_EMAC_REG_RX_PFC_STATS_XON_RCVD_COUNT,8,3 ## @EMAC_REG_RX_PFC_STATS_XON_RCVD_COUNT
	.comm	_EMAC_REG_RX_PFC_STATS_XOFF_SENT,8,3 ## @EMAC_REG_RX_PFC_STATS_XOFF_SENT
	.comm	_EMAC_REG_RX_PFC_STATS_XOFF_SENT_COUNT,8,3 ## @EMAC_REG_RX_PFC_STATS_XOFF_SENT_COUNT
	.comm	_EMAC_REG_RX_PFC_STATS_XON_SENT,8,3 ## @EMAC_REG_RX_PFC_STATS_XON_SENT
	.comm	_EMAC_REG_RX_PFC_STATS_XON_SENT_COUNT,8,3 ## @EMAC_REG_RX_PFC_STATS_XON_SENT_COUNT
	.no_dead_strip	_bnx2x_emac_get_pfc_stat
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function bnx2x_emac_get_pfc_stat
_bnx2x_emac_get_pfc_stat:               ; @bnx2x_emac_get_pfc_stat
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	mov	x20, x2
	mov	x19, x1
	ldp	x8, x21, [x0]
Lloh0:
	adrp	x9, _GRCBASE_EMAC1@GOTPAGE
Lloh1:
	ldr	x9, [x9, _GRCBASE_EMAC1@GOTPAGEOFF]
Lloh2:
	adrp	x10, _GRCBASE_EMAC0@GOTPAGE
Lloh3:
	ldr	x10, [x10, _GRCBASE_EMAC0@GOTPAGEOFF]
	cmp	x8, #0
	csel	x8, x10, x9, eq
	ldr	x22, [x8]
Lloh4:
	adrp	x8, _NETIF_MSG_LINK@GOTPAGE
Lloh5:
	ldr	x8, [x8, _NETIF_MSG_LINK@GOTPAGEOFF]
Lloh6:
	ldr	w0, [x8]
Lloh7:
	adrp	x1, l_.str@PAGE
Lloh8:
	add	x1, x1, l_.str@PAGEOFF
	bl	_DP
Lloh9:
	adrp	x8, _EMAC_REG_RX_PFC_STATS_XOFF_RCVD@GOTPAGE
Lloh10:
	ldr	x8, [x8, _EMAC_REG_RX_PFC_STATS_XOFF_RCVD@GOTPAGEOFF]
Lloh11:
	ldr	x8, [x8]
	add	x1, x8, x22
	mov	x0, x21
	bl	_REG_RD
Lloh12:
	adrp	x8, _EMAC_REG_RX_PFC_STATS_XOFF_RCVD_COUNT@GOTPAGE
Lloh13:
	ldr	x8, [x8, _EMAC_REG_RX_PFC_STATS_XOFF_RCVD_COUNT@GOTPAGEOFF]
Lloh14:
	ldr	x8, [x8]
	and	x23, x8, x0
Lloh15:
	adrp	x8, _EMAC_REG_RX_PFC_STATS_XON_RCVD@GOTPAGE
Lloh16:
	ldr	x8, [x8, _EMAC_REG_RX_PFC_STATS_XON_RCVD@GOTPAGEOFF]
Lloh17:
	ldr	x8, [x8]
	add	x1, x8, x22
	mov	x0, x21
	bl	_REG_RD
Lloh18:
	adrp	x8, _EMAC_REG_RX_PFC_STATS_XON_RCVD_COUNT@GOTPAGE
Lloh19:
	ldr	x8, [x8, _EMAC_REG_RX_PFC_STATS_XON_RCVD_COUNT@GOTPAGEOFF]
Lloh20:
	ldr	x8, [x8]
	and	x8, x8, x0
	add	x8, x8, x23
	str	x8, [x20]
Lloh21:
	adrp	x8, _EMAC_REG_RX_PFC_STATS_XOFF_SENT@GOTPAGE
Lloh22:
	ldr	x8, [x8, _EMAC_REG_RX_PFC_STATS_XOFF_SENT@GOTPAGEOFF]
Lloh23:
	ldr	x8, [x8]
	add	x1, x8, x22
	mov	x0, x21
	bl	_REG_RD
Lloh24:
	adrp	x8, _EMAC_REG_RX_PFC_STATS_XOFF_SENT_COUNT@GOTPAGE
Lloh25:
	ldr	x8, [x8, _EMAC_REG_RX_PFC_STATS_XOFF_SENT_COUNT@GOTPAGEOFF]
Lloh26:
	ldr	x8, [x8]
	and	x20, x8, x0
Lloh27:
	adrp	x8, _EMAC_REG_RX_PFC_STATS_XON_SENT@GOTPAGE
Lloh28:
	ldr	x8, [x8, _EMAC_REG_RX_PFC_STATS_XON_SENT@GOTPAGEOFF]
Lloh29:
	ldr	x8, [x8]
	add	x1, x8, x22
	mov	x0, x21
	bl	_REG_RD
Lloh30:
	adrp	x8, _EMAC_REG_RX_PFC_STATS_XON_SENT_COUNT@GOTPAGE
Lloh31:
	ldr	x8, [x8, _EMAC_REG_RX_PFC_STATS_XON_SENT_COUNT@GOTPAGEOFF]
Lloh32:
	ldr	x8, [x8]
	and	x8, x8, x0
	add	x8, x8, x20
	str	x8, [x19]
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh30, Lloh31, Lloh32
	.loh AdrpLdrGotLdr	Lloh27, Lloh28, Lloh29
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpAdd	Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_GRCBASE_EMAC1,8,3              ; @GRCBASE_EMAC1
	.comm	_GRCBASE_EMAC0,8,3              ; @GRCBASE_EMAC0
	.comm	_NETIF_MSG_LINK,4,2             ; @NETIF_MSG_LINK
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"pfc statistic read from EMAC\n"

	.comm	_EMAC_REG_RX_PFC_STATS_XOFF_RCVD,8,3 ; @EMAC_REG_RX_PFC_STATS_XOFF_RCVD
	.comm	_EMAC_REG_RX_PFC_STATS_XOFF_RCVD_COUNT,8,3 ; @EMAC_REG_RX_PFC_STATS_XOFF_RCVD_COUNT
	.comm	_EMAC_REG_RX_PFC_STATS_XON_RCVD,8,3 ; @EMAC_REG_RX_PFC_STATS_XON_RCVD
	.comm	_EMAC_REG_RX_PFC_STATS_XON_RCVD_COUNT,8,3 ; @EMAC_REG_RX_PFC_STATS_XON_RCVD_COUNT
	.comm	_EMAC_REG_RX_PFC_STATS_XOFF_SENT,8,3 ; @EMAC_REG_RX_PFC_STATS_XOFF_SENT
	.comm	_EMAC_REG_RX_PFC_STATS_XOFF_SENT_COUNT,8,3 ; @EMAC_REG_RX_PFC_STATS_XOFF_SENT_COUNT
	.comm	_EMAC_REG_RX_PFC_STATS_XON_SENT,8,3 ; @EMAC_REG_RX_PFC_STATS_XON_SENT
	.comm	_EMAC_REG_RX_PFC_STATS_XON_SENT_COUNT,8,3 ; @EMAC_REG_RX_PFC_STATS_XON_SENT_COUNT
	.no_dead_strip	_bnx2x_emac_get_pfc_stat
.subsections_via_symbols
