	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function rocker_cmd_get_port_stats_ethtool_proc
_rocker_cmd_get_port_stats_ethtool_proc: ## @rocker_cmd_get_port_stats_ethtool_proc
	.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	%rdx, -56(%rbp)                 ## 8-byte Spill
	movq	%rsi, %r12
	movq	%rdi, -64(%rbp)                 ## 8-byte Spill
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movq	_ROCKER_TLV_CMD_MAX@GOTPCREL(%rip), %rax
	movl	(%rax), %r13d
	leal	1(%r13), %eax
	shlq	$3, %rax
	callq	____chkstk_darwin
	addq	$15, %rax
	andq	$-16, %rax
	subq	%rax, %rsp
	movq	%rsp, %r15
	movq	_ROCKER_TLV_CMD_PORT_STATS_MAX@GOTPCREL(%rip), %rbx
	movl	(%rbx), %eax
	incl	%eax
	shlq	$3, %rax
	callq	____chkstk_darwin
	addq	$15, %rax
	andq	$-16, %rax
	subq	%rax, %rsp
	movq	%rsp, %r14
	movq	%r15, %rdi
	movl	%r13d, %esi
	movq	%r12, %rdx
	callq	_rocker_tlv_parse_desc
	movq	_ROCKER_TLV_CMD_INFO@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	(%r15,%rax,8), %rdx
	testq	%rdx, %rdx
	je	LBB0_1
## %bb.2:
	movl	(%rbx), %esi
	movq	%r14, %rdi
	callq	_rocker_tlv_parse_nested
	movq	_ROCKER_TLV_CMD_PORT_STATS_PPORT@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	(%r14,%rax,8), %rdi
	testq	%rdi, %rdi
	je	LBB0_1
## %bb.3:
	callq	_rocker_tlv_get_u32
	movq	-64(%rbp), %rcx                 ## 8-byte Reload
	cmpq	(%rcx), %rax
	jne	LBB0_1
## %bb.4:
	movq	_rocker_port_stats@GOTPCREL(%rip), %r15
	movq	(%r15), %rdi
	callq	_ARRAY_SIZE
	testl	%eax, %eax
	jle	LBB0_9
## %bb.5:
	xorl	%ebx, %ebx
	movq	-56(%rbp), %r12                 ## 8-byte Reload
	jmp	LBB0_6
	.p2align	4, 0x90
LBB0_8:                                 ##   in Loop: Header=BB0_6 Depth=1
	incq	%rbx
	callq	_ARRAY_SIZE
	cltq
	cmpq	%rax, %rbx
	jge	LBB0_9
LBB0_6:                                 ## =>This Inner Loop Header: Depth=1
	movq	(%r15), %rdi
	movq	(%rdi,%rbx,8), %rax
	movq	(%r14,%rax,8), %rax
	testq	%rax, %rax
	je	LBB0_8
## %bb.7:                               ##   in Loop: Header=BB0_6 Depth=1
	movq	%rax, %rdi
	callq	_rocker_tlv_get_u64
	movl	%eax, (%r12,%rbx,4)
	movq	(%r15), %rdi
	jmp	LBB0_8
LBB0_1:
	movq	_EIO@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	subl	(%rcx), %eax
LBB0_10:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	cmpq	-48(%rbp), %rcx
	jne	LBB0_12
## %bb.11:
	leaq	-40(%rbp), %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_9:
	xorl	%eax, %eax
	jmp	LBB0_10
LBB0_12:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_ROCKER_TLV_CMD_MAX,4,2         ## @ROCKER_TLV_CMD_MAX
	.comm	_ROCKER_TLV_CMD_PORT_STATS_MAX,4,2 ## @ROCKER_TLV_CMD_PORT_STATS_MAX
	.comm	_ROCKER_TLV_CMD_INFO,8,3        ## @ROCKER_TLV_CMD_INFO
	.comm	_EIO,4,2                        ## @EIO
	.comm	_ROCKER_TLV_CMD_PORT_STATS_PPORT,8,3 ## @ROCKER_TLV_CMD_PORT_STATS_PPORT
	.comm	_rocker_port_stats,8,3          ## @rocker_port_stats
	.no_dead_strip	_rocker_cmd_get_port_stats_ethtool_proc
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function rocker_cmd_get_port_stats_ethtool_proc
_rocker_cmd_get_port_stats_ethtool_proc: ; @rocker_cmd_get_port_stats_ethtool_proc
	.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
	sub	sp, sp, #16
	mov	x19, x2
	mov	x2, x1
	mov	x21, x0
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-56]
Lloh3:
	adrp	x8, _ROCKER_TLV_CMD_MAX@GOTPAGE
Lloh4:
	ldr	x8, [x8, _ROCKER_TLV_CMD_MAX@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
	add	w8, w1, #1
	lsl	x8, x8, #3
	mov	x9, x8
Lloh6:
	adrp	x16, ___chkstk_darwin@GOTPAGE
Lloh7:
	ldr	x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
	blr	x16
	mov	x9, sp
	add	x8, x8, #15
	and	x8, x8, #0xffffffff0
	sub	x22, x9, x8
	mov	sp, x22
Lloh8:
	adrp	x23, _ROCKER_TLV_CMD_PORT_STATS_MAX@GOTPAGE
Lloh9:
	ldr	x23, [x23, _ROCKER_TLV_CMD_PORT_STATS_MAX@GOTPAGEOFF]
	ldr	w8, [x23]
	add	w8, w8, #1
	lsl	x8, x8, #3
	mov	x9, x8
Lloh10:
	adrp	x16, ___chkstk_darwin@GOTPAGE
Lloh11:
	ldr	x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
	blr	x16
	mov	x9, sp
	add	x8, x8, #15
	and	x8, x8, #0xffffffff0
	sub	x20, x9, x8
	mov	sp, x20
	mov	x0, x22
	bl	_rocker_tlv_parse_desc
Lloh12:
	adrp	x8, _ROCKER_TLV_CMD_INFO@GOTPAGE
Lloh13:
	ldr	x8, [x8, _ROCKER_TLV_CMD_INFO@GOTPAGEOFF]
Lloh14:
	ldr	x8, [x8]
	ldr	x2, [x22, x8, lsl #3]
	cbz	x2, LBB0_8
; %bb.1:
	ldr	w1, [x23]
	mov	x0, x20
	bl	_rocker_tlv_parse_nested
Lloh15:
	adrp	x8, _ROCKER_TLV_CMD_PORT_STATS_PPORT@GOTPAGE
Lloh16:
	ldr	x8, [x8, _ROCKER_TLV_CMD_PORT_STATS_PPORT@GOTPAGEOFF]
Lloh17:
	ldr	x8, [x8]
	ldr	x0, [x20, x8, lsl #3]
	cbz	x0, LBB0_8
; %bb.2:
	bl	_rocker_tlv_get_u32
	ldr	x8, [x21]
	cmp	x0, x8
	b.ne	LBB0_8
; %bb.3:
Lloh18:
	adrp	x21, _rocker_port_stats@GOTPAGE
Lloh19:
	ldr	x21, [x21, _rocker_port_stats@GOTPAGEOFF]
	ldr	x0, [x21]
	bl	_ARRAY_SIZE
	cmp	w0, #1
	b.lt	LBB0_11
; %bb.4:
	mov	x22, #0
	b	LBB0_6
LBB0_5:                                 ;   in Loop: Header=BB0_6 Depth=1
	add	x22, x22, #1
	bl	_ARRAY_SIZE
	cmp	x22, w0, sxtw
	b.ge	LBB0_11
LBB0_6:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x0, [x21]
	ldr	x8, [x0, x22, lsl #3]
	ldr	x8, [x20, x8, lsl #3]
	cbz	x8, LBB0_5
; %bb.7:                                ;   in Loop: Header=BB0_6 Depth=1
	mov	x0, x8
	bl	_rocker_tlv_get_u64
	str	w0, [x19, x22, lsl #2]
	ldr	x0, [x21]
	b	LBB0_5
LBB0_8:
Lloh20:
	adrp	x8, _EIO@GOTPAGE
Lloh21:
	ldr	x8, [x8, _EIO@GOTPAGEOFF]
Lloh22:
	ldr	w8, [x8]
	neg	w0, w8
LBB0_9:
	ldur	x8, [x29, #-56]
Lloh23:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh24:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh25:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_12
; %bb.10:
	sub	sp, x29, #48
	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_11:
	mov	w0, #0
	b	LBB0_9
LBB0_12:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGot	Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh25
	.cfi_endproc
                                        ; -- End function
	.comm	_ROCKER_TLV_CMD_MAX,4,2         ; @ROCKER_TLV_CMD_MAX
	.comm	_ROCKER_TLV_CMD_PORT_STATS_MAX,4,2 ; @ROCKER_TLV_CMD_PORT_STATS_MAX
	.comm	_ROCKER_TLV_CMD_INFO,8,3        ; @ROCKER_TLV_CMD_INFO
	.comm	_EIO,4,2                        ; @EIO
	.comm	_ROCKER_TLV_CMD_PORT_STATS_PPORT,8,3 ; @ROCKER_TLV_CMD_PORT_STATS_PPORT
	.comm	_rocker_port_stats,8,3          ; @rocker_port_stats
	.no_dead_strip	_rocker_cmd_get_port_stats_ethtool_proc
.subsections_via_symbols
