	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function bnx2_get_ethtool_stats
_bnx2_get_ethtool_stats:                ## @bnx2_get_ethtool_stats
	.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, %r13
	callq	_netdev_priv
	movq	8(%rax), %r15
	testq	%r15, %r15
	je	LBB0_15
## %bb.1:
	movq	%rax, %r14
	movq	(%rax), %r12
	movq	%rax, %rdi
	callq	_BNX2_CHIP_ID
	movq	_BNX2_CHIP_ID_5706_A0@GOTPCREL(%rip), %rcx
	movq	_bnx2_5706_stats_len_arr@GOTPCREL(%rip), %rbx
	cmpq	(%rcx), %rax
	je	LBB0_7
## %bb.2:
	movq	%r14, %rdi
	callq	_BNX2_CHIP_ID
	movq	_BNX2_CHIP_ID_5706_A1@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	je	LBB0_7
## %bb.3:
	movq	%r14, %rdi
	callq	_BNX2_CHIP_ID
	movq	_BNX2_CHIP_ID_5706_A2@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	je	LBB0_7
## %bb.4:
	movq	%r14, %rdi
	callq	_BNX2_CHIP_ID
	movq	_BNX2_CHIP_ID_5708_A0@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_5
## %bb.6:
	movq	_bnx2_5706_stats_len_arr@GOTPCREL(%rip), %rbx
	jmp	LBB0_7
LBB0_15:
	movq	_BNX2_NUM_STATS@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	shll	$2, %edx
	movq	%r13, %rdi
	xorl	%esi, %esi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_memset                         ## TAILCALL
LBB0_5:
	movq	_bnx2_5708_stats_len_arr@GOTPCREL(%rip), %rbx
LBB0_7:
	movq	_BNX2_NUM_STATS@GOTPCREL(%rip), %rax
	cmpl	$0, (%rax)
	jle	LBB0_14
## %bb.8:
	movq	(%rbx), %rcx
	movq	_bnx2_stats_offset_arr@GOTPCREL(%rip), %rdx
	movq	(%rdx), %rdx
	xorl	%esi, %esi
	jmp	LBB0_9
	.p2align	4, 0x90
LBB0_12:                                ##   in Loop: Header=BB0_9 Depth=1
	movl	%edi, (%r13,%rsi,4)
LBB0_13:                                ##   in Loop: Header=BB0_9 Depth=1
	incq	%rsi
	movslq	(%rax), %rdi
	cmpq	%rdi, %rsi
	jge	LBB0_14
LBB0_9:                                 ## =>This Inner Loop Header: Depth=1
	movl	(%rcx,%rsi,4), %edi
	testl	%edi, %edi
	je	LBB0_12
## %bb.10:                              ##   in Loop: Header=BB0_9 Depth=1
	cmpl	$4, %edi
	jne	LBB0_13
## %bb.11:                              ##   in Loop: Header=BB0_9 Depth=1
	movq	(%rdx,%rsi,8), %rbx
	movl	(%r12,%rbx,4), %edi
	addl	(%r15,%rbx,4), %edi
	jmp	LBB0_12
LBB0_14:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_BNX2_NUM_STATS,4,2             ## @BNX2_NUM_STATS
	.comm	_BNX2_CHIP_ID_5706_A0,8,3       ## @BNX2_CHIP_ID_5706_A0
	.comm	_BNX2_CHIP_ID_5706_A1,8,3       ## @BNX2_CHIP_ID_5706_A1
	.comm	_BNX2_CHIP_ID_5706_A2,8,3       ## @BNX2_CHIP_ID_5706_A2
	.comm	_BNX2_CHIP_ID_5708_A0,8,3       ## @BNX2_CHIP_ID_5708_A0
	.comm	_bnx2_5706_stats_len_arr,8,3    ## @bnx2_5706_stats_len_arr
	.comm	_bnx2_5708_stats_len_arr,8,3    ## @bnx2_5708_stats_len_arr
	.comm	_bnx2_stats_offset_arr,8,3      ## @bnx2_stats_offset_arr
	.no_dead_strip	_bnx2_get_ethtool_stats
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function bnx2_get_ethtool_stats
_bnx2_get_ethtool_stats:                ; @bnx2_get_ethtool_stats
	.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	x19, x2
	bl	_netdev_priv
	ldr	x21, [x0, #8]
	cbz	x21, LBB0_12
; %bb.1:
	mov	x20, x0
	ldr	x22, [x0]
	bl	_BNX2_CHIP_ID
Lloh0:
	adrp	x8, _BNX2_CHIP_ID_5706_A0@GOTPAGE
Lloh1:
	ldr	x8, [x8, _BNX2_CHIP_ID_5706_A0@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	cmp	x0, x8
	b.eq	LBB0_3
; %bb.2:
	mov	x0, x20
	bl	_BNX2_CHIP_ID
Lloh3:
	adrp	x8, _BNX2_CHIP_ID_5706_A1@GOTPAGE
Lloh4:
	ldr	x8, [x8, _BNX2_CHIP_ID_5706_A1@GOTPAGEOFF]
Lloh5:
	ldr	x8, [x8]
	cmp	x0, x8
	b.ne	LBB0_13
LBB0_3:
Lloh6:
	adrp	x23, _bnx2_5706_stats_len_arr@GOTPAGE
Lloh7:
	ldr	x23, [x23, _bnx2_5706_stats_len_arr@GOTPAGEOFF]
LBB0_4:
Lloh8:
	adrp	x8, _BNX2_NUM_STATS@GOTPAGE
Lloh9:
	ldr	x8, [x8, _BNX2_NUM_STATS@GOTPAGEOFF]
	ldr	w9, [x8]
	cmp	w9, #1
	b.lt	LBB0_11
; %bb.5:
	mov	x9, #0
	ldr	x10, [x23]
Lloh10:
	adrp	x11, _bnx2_stats_offset_arr@GOTPAGE
Lloh11:
	ldr	x11, [x11, _bnx2_stats_offset_arr@GOTPAGEOFF]
Lloh12:
	ldr	x11, [x11]
	b	LBB0_8
LBB0_6:                                 ;   in Loop: Header=BB0_8 Depth=1
	str	w12, [x19, x9, lsl #2]
LBB0_7:                                 ;   in Loop: Header=BB0_8 Depth=1
	add	x9, x9, #1
	ldrsw	x12, [x8]
	cmp	x9, x12
	b.ge	LBB0_11
LBB0_8:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w12, [x10, x9, lsl #2]
	cbz	w12, LBB0_6
; %bb.9:                                ;   in Loop: Header=BB0_8 Depth=1
	cmp	w12, #4
	b.ne	LBB0_7
; %bb.10:                               ;   in Loop: Header=BB0_8 Depth=1
	ldr	x12, [x11, x9, lsl #3]
	lsl	x12, x12, #2
	ldr	w13, [x21, x12]
	ldr	w12, [x22, x12]
	add	w12, w12, w13
	b	LBB0_6
LBB0_11:
	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
LBB0_12:
Lloh13:
	adrp	x8, _BNX2_NUM_STATS@GOTPAGE
Lloh14:
	ldr	x8, [x8, _BNX2_NUM_STATS@GOTPAGEOFF]
Lloh15:
	ldr	w8, [x8]
	lsl	w2, w8, #2
	mov	x0, x19
	mov	w1, #0
	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
	b	_memset
LBB0_13:
	mov	x0, x20
	bl	_BNX2_CHIP_ID
Lloh16:
	adrp	x8, _BNX2_CHIP_ID_5706_A2@GOTPAGE
Lloh17:
	ldr	x8, [x8, _BNX2_CHIP_ID_5706_A2@GOTPAGEOFF]
Lloh18:
	ldr	x8, [x8]
Lloh19:
	adrp	x23, _bnx2_5706_stats_len_arr@GOTPAGE
Lloh20:
	ldr	x23, [x23, _bnx2_5706_stats_len_arr@GOTPAGEOFF]
	cmp	x0, x8
	b.eq	LBB0_4
; %bb.14:
	mov	x0, x20
	bl	_BNX2_CHIP_ID
Lloh21:
	adrp	x8, _BNX2_CHIP_ID_5708_A0@GOTPAGE
Lloh22:
	ldr	x8, [x8, _BNX2_CHIP_ID_5708_A0@GOTPAGEOFF]
Lloh23:
	ldr	x8, [x8]
Lloh24:
	adrp	x9, _bnx2_5708_stats_len_arr@GOTPAGE
Lloh25:
	ldr	x9, [x9, _bnx2_5708_stats_len_arr@GOTPAGEOFF]
	cmp	x0, x8
	csel	x23, x23, x9, eq
	b	LBB0_4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGot	Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpLdrGot	Lloh24, Lloh25
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.cfi_endproc
                                        ; -- End function
	.comm	_BNX2_NUM_STATS,4,2             ; @BNX2_NUM_STATS
	.comm	_BNX2_CHIP_ID_5706_A0,8,3       ; @BNX2_CHIP_ID_5706_A0
	.comm	_BNX2_CHIP_ID_5706_A1,8,3       ; @BNX2_CHIP_ID_5706_A1
	.comm	_BNX2_CHIP_ID_5706_A2,8,3       ; @BNX2_CHIP_ID_5706_A2
	.comm	_BNX2_CHIP_ID_5708_A0,8,3       ; @BNX2_CHIP_ID_5708_A0
	.comm	_bnx2_5706_stats_len_arr,8,3    ; @bnx2_5706_stats_len_arr
	.comm	_bnx2_5708_stats_len_arr,8,3    ; @bnx2_5708_stats_len_arr
	.comm	_bnx2_stats_offset_arr,8,3      ; @bnx2_stats_offset_arr
	.no_dead_strip	_bnx2_get_ethtool_stats
.subsections_via_symbols
