	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function mlxsw_sp_port_get_stats
_mlxsw_sp_port_get_stats:               ## @mlxsw_sp_port_get_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, %r15
	movq	%rdi, %r12
	callq	_netdev_priv
	movq	%rax, -48(%rbp)                 ## 8-byte Spill
	movq	_MLXSW_REG_PPCNT_IEEE_8023_CNT@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	xorl	%r13d, %r13d
	movq	%r12, %rdi
	xorl	%edx, %edx
	movq	%r15, %rcx
	xorl	%r8d, %r8d
	callq	___mlxsw_sp_port_get_stats
	movq	_MLXSW_SP_PORT_HW_STATS_LEN@GOTPCREL(%rip), %rax
	movl	(%rax), %r14d
	movq	_MLXSW_REG_PPCNT_RFC_2863_CNT@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r12, %rdi
	xorl	%edx, %edx
	movq	%r15, %rcx
	movl	%r14d, %r8d
	callq	___mlxsw_sp_port_get_stats
	movq	_MLXSW_SP_PORT_HW_RFC_2863_STATS_LEN@GOTPCREL(%rip), %rax
	addl	(%rax), %r14d
	movq	_MLXSW_REG_PPCNT_RFC_2819_CNT@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r12, %rdi
	xorl	%edx, %edx
	movq	%r15, %rcx
	movl	%r14d, %r8d
	callq	___mlxsw_sp_port_get_stats
	movq	_MLXSW_SP_PORT_HW_RFC_2819_STATS_LEN@GOTPCREL(%rip), %rax
	addl	(%rax), %r14d
	movq	_MLXSW_REG_PPCNT_RFC_3635_CNT@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r12, %rdi
	xorl	%edx, %edx
	movq	%r15, %rcx
	movl	%r14d, %r8d
	callq	___mlxsw_sp_port_get_stats
	movq	_MLXSW_SP_PORT_HW_RFC_3635_STATS_LEN@GOTPCREL(%rip), %rax
	addl	(%rax), %r14d
	movq	_MLXSW_REG_PPCNT_DISCARD_CNT@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r12, %rdi
	xorl	%edx, %edx
	movq	%r15, %rcx
	movl	%r14d, %r8d
	callq	___mlxsw_sp_port_get_stats
	movq	_MLXSW_SP_PORT_HW_DISCARD_STATS_LEN@GOTPCREL(%rip), %rax
	movq	_IEEE_8021QAZ_MAX_TCS@GOTPCREL(%rip), %rbx
	addl	(%rax), %r14d
	cmpl	$0, (%rbx)
	jle	LBB0_1
	.p2align	4, 0x90
LBB0_5:                                 ## =>This Inner Loop Header: Depth=1
	movq	_MLXSW_REG_PPCNT_PRIO_CNT@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r12, %rdi
	movl	%r13d, %edx
	movq	%r15, %rcx
	movl	%r14d, %r8d
	callq	___mlxsw_sp_port_get_stats
	movq	_MLXSW_SP_PORT_HW_PRIO_STATS_LEN@GOTPCREL(%rip), %rax
	addl	(%rax), %r14d
	incl	%r13d
	cmpl	(%rbx), %r13d
	jl	LBB0_5
LBB0_1:
	movq	_TC_MAX_QUEUE@GOTPCREL(%rip), %r13
	cmpl	$0, (%r13)
	jle	LBB0_4
## %bb.2:
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	movq	_MLXSW_REG_PPCNT_TC_CNT@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	movq	%r12, %rdi
	movl	%ebx, %edx
	movq	%r15, %rcx
	movl	%r14d, %r8d
	callq	___mlxsw_sp_port_get_stats
	movq	_MLXSW_SP_PORT_HW_TC_STATS_LEN@GOTPCREL(%rip), %rcx
	addl	(%rcx), %r14d
	incl	%ebx
	cmpl	(%r13), %ebx
	jl	LBB0_3
LBB0_4:
	movq	-48(%rbp), %rbx                 ## 8-byte Reload
	movq	(%rbx), %rax
	movq	(%rax), %rax
	movq	%rbx, %rdi
	movq	%r15, %rsi
	movl	%r14d, %edx
	callq	*8(%rax)
	movq	(%rbx), %rax
	movq	(%rax), %rcx
	xorl	%eax, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmpq	*(%rcx)                         ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_MLXSW_REG_PPCNT_IEEE_8023_CNT,4,2 ## @MLXSW_REG_PPCNT_IEEE_8023_CNT
	.comm	_MLXSW_SP_PORT_HW_STATS_LEN,4,2 ## @MLXSW_SP_PORT_HW_STATS_LEN
	.comm	_MLXSW_REG_PPCNT_RFC_2863_CNT,4,2 ## @MLXSW_REG_PPCNT_RFC_2863_CNT
	.comm	_MLXSW_SP_PORT_HW_RFC_2863_STATS_LEN,8,3 ## @MLXSW_SP_PORT_HW_RFC_2863_STATS_LEN
	.comm	_MLXSW_REG_PPCNT_RFC_2819_CNT,4,2 ## @MLXSW_REG_PPCNT_RFC_2819_CNT
	.comm	_MLXSW_SP_PORT_HW_RFC_2819_STATS_LEN,8,3 ## @MLXSW_SP_PORT_HW_RFC_2819_STATS_LEN
	.comm	_MLXSW_REG_PPCNT_RFC_3635_CNT,4,2 ## @MLXSW_REG_PPCNT_RFC_3635_CNT
	.comm	_MLXSW_SP_PORT_HW_RFC_3635_STATS_LEN,8,3 ## @MLXSW_SP_PORT_HW_RFC_3635_STATS_LEN
	.comm	_MLXSW_REG_PPCNT_DISCARD_CNT,4,2 ## @MLXSW_REG_PPCNT_DISCARD_CNT
	.comm	_MLXSW_SP_PORT_HW_DISCARD_STATS_LEN,8,3 ## @MLXSW_SP_PORT_HW_DISCARD_STATS_LEN
	.comm	_IEEE_8021QAZ_MAX_TCS,4,2       ## @IEEE_8021QAZ_MAX_TCS
	.comm	_MLXSW_REG_PPCNT_PRIO_CNT,4,2   ## @MLXSW_REG_PPCNT_PRIO_CNT
	.comm	_MLXSW_SP_PORT_HW_PRIO_STATS_LEN,8,3 ## @MLXSW_SP_PORT_HW_PRIO_STATS_LEN
	.comm	_TC_MAX_QUEUE,4,2               ## @TC_MAX_QUEUE
	.comm	_MLXSW_REG_PPCNT_TC_CNT,4,2     ## @MLXSW_REG_PPCNT_TC_CNT
	.comm	_MLXSW_SP_PORT_HW_TC_STATS_LEN,8,3 ## @MLXSW_SP_PORT_HW_TC_STATS_LEN
	.no_dead_strip	_mlxsw_sp_port_get_stats
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function mlxsw_sp_port_get_stats
_mlxsw_sp_port_get_stats:               ; @mlxsw_sp_port_get_stats
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	mov	x19, x2
	mov	x21, x0
	bl	_netdev_priv
	mov	x20, x0
Lloh0:
	adrp	x8, _MLXSW_REG_PPCNT_IEEE_8023_CNT@GOTPAGE
Lloh1:
	ldr	x8, [x8, _MLXSW_REG_PPCNT_IEEE_8023_CNT@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	mov	x0, x21
	mov	w2, #0
	mov	x3, x19
	mov	w4, #0
	bl	___mlxsw_sp_port_get_stats
Lloh3:
	adrp	x8, _MLXSW_SP_PORT_HW_STATS_LEN@GOTPAGE
Lloh4:
	ldr	x8, [x8, _MLXSW_SP_PORT_HW_STATS_LEN@GOTPAGEOFF]
Lloh5:
	ldr	w22, [x8]
Lloh6:
	adrp	x8, _MLXSW_REG_PPCNT_RFC_2863_CNT@GOTPAGE
Lloh7:
	ldr	x8, [x8, _MLXSW_REG_PPCNT_RFC_2863_CNT@GOTPAGEOFF]
Lloh8:
	ldr	w1, [x8]
	mov	x0, x21
	mov	w2, #0
	mov	x3, x19
	mov	x4, x22
	bl	___mlxsw_sp_port_get_stats
Lloh9:
	adrp	x8, _MLXSW_SP_PORT_HW_RFC_2863_STATS_LEN@GOTPAGE
Lloh10:
	ldr	x8, [x8, _MLXSW_SP_PORT_HW_RFC_2863_STATS_LEN@GOTPAGEOFF]
Lloh11:
	ldr	w8, [x8]
	add	w22, w22, w8
Lloh12:
	adrp	x8, _MLXSW_REG_PPCNT_RFC_2819_CNT@GOTPAGE
Lloh13:
	ldr	x8, [x8, _MLXSW_REG_PPCNT_RFC_2819_CNT@GOTPAGEOFF]
Lloh14:
	ldr	w1, [x8]
	mov	x0, x21
	mov	w2, #0
	mov	x3, x19
	mov	x4, x22
	bl	___mlxsw_sp_port_get_stats
Lloh15:
	adrp	x8, _MLXSW_SP_PORT_HW_RFC_2819_STATS_LEN@GOTPAGE
Lloh16:
	ldr	x8, [x8, _MLXSW_SP_PORT_HW_RFC_2819_STATS_LEN@GOTPAGEOFF]
Lloh17:
	ldr	w8, [x8]
	add	w22, w22, w8
Lloh18:
	adrp	x8, _MLXSW_REG_PPCNT_RFC_3635_CNT@GOTPAGE
Lloh19:
	ldr	x8, [x8, _MLXSW_REG_PPCNT_RFC_3635_CNT@GOTPAGEOFF]
Lloh20:
	ldr	w1, [x8]
	mov	x0, x21
	mov	w2, #0
	mov	x3, x19
	mov	x4, x22
	bl	___mlxsw_sp_port_get_stats
Lloh21:
	adrp	x8, _MLXSW_SP_PORT_HW_RFC_3635_STATS_LEN@GOTPAGE
Lloh22:
	ldr	x8, [x8, _MLXSW_SP_PORT_HW_RFC_3635_STATS_LEN@GOTPAGEOFF]
Lloh23:
	ldr	w8, [x8]
	add	w22, w22, w8
Lloh24:
	adrp	x8, _MLXSW_REG_PPCNT_DISCARD_CNT@GOTPAGE
Lloh25:
	ldr	x8, [x8, _MLXSW_REG_PPCNT_DISCARD_CNT@GOTPAGEOFF]
Lloh26:
	ldr	w1, [x8]
	mov	x0, x21
	mov	w2, #0
	mov	x3, x19
	mov	x4, x22
	bl	___mlxsw_sp_port_get_stats
Lloh27:
	adrp	x8, _MLXSW_SP_PORT_HW_DISCARD_STATS_LEN@GOTPAGE
Lloh28:
	ldr	x8, [x8, _MLXSW_SP_PORT_HW_DISCARD_STATS_LEN@GOTPAGEOFF]
Lloh29:
	ldr	w8, [x8]
	add	w22, w22, w8
Lloh30:
	adrp	x24, _IEEE_8021QAZ_MAX_TCS@GOTPAGE
Lloh31:
	ldr	x24, [x24, _IEEE_8021QAZ_MAX_TCS@GOTPAGEOFF]
	ldr	w8, [x24]
	cmp	w8, #1
	b.lt	LBB0_3
; %bb.1:
	mov	w23, #0
Lloh32:
	adrp	x25, _MLXSW_REG_PPCNT_PRIO_CNT@GOTPAGE
Lloh33:
	ldr	x25, [x25, _MLXSW_REG_PPCNT_PRIO_CNT@GOTPAGEOFF]
Lloh34:
	adrp	x26, _MLXSW_SP_PORT_HW_PRIO_STATS_LEN@GOTPAGE
Lloh35:
	ldr	x26, [x26, _MLXSW_SP_PORT_HW_PRIO_STATS_LEN@GOTPAGEOFF]
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w1, [x25]
	mov	x0, x21
	mov	x2, x23
	mov	x3, x19
	mov	x4, x22
	bl	___mlxsw_sp_port_get_stats
	ldr	w8, [x26]
	add	w22, w22, w8
	add	w23, w23, #1
	ldr	w8, [x24]
	cmp	w23, w8
	b.lt	LBB0_2
LBB0_3:
Lloh36:
	adrp	x24, _TC_MAX_QUEUE@GOTPAGE
Lloh37:
	ldr	x24, [x24, _TC_MAX_QUEUE@GOTPAGEOFF]
	ldr	w8, [x24]
	cmp	w8, #1
	b.lt	LBB0_6
; %bb.4:
	mov	w23, #0
Lloh38:
	adrp	x25, _MLXSW_REG_PPCNT_TC_CNT@GOTPAGE
Lloh39:
	ldr	x25, [x25, _MLXSW_REG_PPCNT_TC_CNT@GOTPAGEOFF]
Lloh40:
	adrp	x26, _MLXSW_SP_PORT_HW_TC_STATS_LEN@GOTPAGE
Lloh41:
	ldr	x26, [x26, _MLXSW_SP_PORT_HW_TC_STATS_LEN@GOTPAGEOFF]
LBB0_5:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w1, [x25]
	mov	x0, x21
	mov	x2, x23
	mov	x3, x19
	mov	x4, x22
	bl	___mlxsw_sp_port_get_stats
	ldr	w8, [x26]
	add	w22, w22, w8
	add	w23, w23, #1
	ldr	w8, [x24]
	cmp	w23, w8
	b.lt	LBB0_5
LBB0_6:
	ldr	x8, [x20]
	ldr	x8, [x8]
	ldr	x8, [x8, #8]
	mov	x0, x20
	mov	x1, x19
	mov	x2, x22
	blr	x8
	ldr	x8, [x20]
	ldr	x8, [x8]
	ldr	x0, [x8]
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	br	x0
	.loh AdrpLdrGot	Lloh30, Lloh31
	.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 AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh34, Lloh35
	.loh AdrpLdrGot	Lloh32, Lloh33
	.loh AdrpLdrGot	Lloh36, Lloh37
	.loh AdrpLdrGot	Lloh40, Lloh41
	.loh AdrpLdrGot	Lloh38, Lloh39
	.cfi_endproc
                                        ; -- End function
	.comm	_MLXSW_REG_PPCNT_IEEE_8023_CNT,4,2 ; @MLXSW_REG_PPCNT_IEEE_8023_CNT
	.comm	_MLXSW_SP_PORT_HW_STATS_LEN,4,2 ; @MLXSW_SP_PORT_HW_STATS_LEN
	.comm	_MLXSW_REG_PPCNT_RFC_2863_CNT,4,2 ; @MLXSW_REG_PPCNT_RFC_2863_CNT
	.comm	_MLXSW_SP_PORT_HW_RFC_2863_STATS_LEN,8,3 ; @MLXSW_SP_PORT_HW_RFC_2863_STATS_LEN
	.comm	_MLXSW_REG_PPCNT_RFC_2819_CNT,4,2 ; @MLXSW_REG_PPCNT_RFC_2819_CNT
	.comm	_MLXSW_SP_PORT_HW_RFC_2819_STATS_LEN,8,3 ; @MLXSW_SP_PORT_HW_RFC_2819_STATS_LEN
	.comm	_MLXSW_REG_PPCNT_RFC_3635_CNT,4,2 ; @MLXSW_REG_PPCNT_RFC_3635_CNT
	.comm	_MLXSW_SP_PORT_HW_RFC_3635_STATS_LEN,8,3 ; @MLXSW_SP_PORT_HW_RFC_3635_STATS_LEN
	.comm	_MLXSW_REG_PPCNT_DISCARD_CNT,4,2 ; @MLXSW_REG_PPCNT_DISCARD_CNT
	.comm	_MLXSW_SP_PORT_HW_DISCARD_STATS_LEN,8,3 ; @MLXSW_SP_PORT_HW_DISCARD_STATS_LEN
	.comm	_IEEE_8021QAZ_MAX_TCS,4,2       ; @IEEE_8021QAZ_MAX_TCS
	.comm	_MLXSW_REG_PPCNT_PRIO_CNT,4,2   ; @MLXSW_REG_PPCNT_PRIO_CNT
	.comm	_MLXSW_SP_PORT_HW_PRIO_STATS_LEN,8,3 ; @MLXSW_SP_PORT_HW_PRIO_STATS_LEN
	.comm	_TC_MAX_QUEUE,4,2               ; @TC_MAX_QUEUE
	.comm	_MLXSW_REG_PPCNT_TC_CNT,4,2     ; @MLXSW_REG_PPCNT_TC_CNT
	.comm	_MLXSW_SP_PORT_HW_TC_STATS_LEN,8,3 ; @MLXSW_SP_PORT_HW_TC_STATS_LEN
	.no_dead_strip	_mlxsw_sp_port_get_stats
.subsections_via_symbols
