	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function octnet_nic_stats_callback
_octnet_nic_stats_callback:             ## @octnet_nic_stats_callback
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rdi, %r14
	movq	(%rdx), %rbx
	movq	_OCTEON_REQUEST_TIMEOUT@GOTPCREL(%rip), %rax
	cmpq	%rsi, (%rax)
	je	LBB0_3
## %bb.1:
	cmpl	$0, (%rbx)
	je	LBB0_2
LBB0_3:
	movq	(%r14), %rdi
	leaq	L_.str(%rip), %rsi
	callq	_dev_err
	movl	$-1, (%rbx)
	jmp	LBB0_4
LBB0_2:
	leaq	4(%rbx), %rdi
	xorl	%esi, %esi
	callq	_octeon_swap_8B_data
	movl	220(%rbx), %eax
	movl	%eax, 224(%r14)
	movl	216(%rbx), %eax
	movl	%eax, 220(%r14)
	movl	212(%rbx), %eax
	movl	%eax, 216(%r14)
	movups	196(%rbx), %xmm0
	movups	%xmm0, 200(%r14)
	movups	180(%rbx), %xmm0
	movups	%xmm0, 184(%r14)
	movups	164(%rbx), %xmm0
	movups	%xmm0, 168(%r14)
	movups	148(%rbx), %xmm0
	movups	%xmm0, 152(%r14)
	movups	132(%rbx), %xmm0
	movups	%xmm0, 136(%r14)
	movups	116(%rbx), %xmm0
	movups	%xmm0, 120(%r14)
	movups	100(%rbx), %xmm0
	movups	%xmm0, 104(%r14)
	movups	84(%rbx), %xmm0
	movups	%xmm0, 88(%r14)
	movups	68(%rbx), %xmm0
	movups	%xmm0, 72(%r14)
	movups	52(%rbx), %xmm0
	movups	%xmm0, 56(%r14)
	movups	36(%rbx), %xmm0
	movups	%xmm0, 40(%r14)
	movups	20(%rbx), %xmm0
	movups	%xmm0, 24(%r14)
	movups	4(%rbx), %xmm0
	movups	%xmm0, 8(%r14)
	movl	$1, (%rbx)
LBB0_4:
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_OCTEON_REQUEST_TIMEOUT,8,3     ## @OCTEON_REQUEST_TIMEOUT
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"sc OPCODE_NIC_PORT_STATS command failed\n"

	.no_dead_strip	_octnet_nic_stats_callback
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function octnet_nic_stats_callback
_octnet_nic_stats_callback:             ; @octnet_nic_stats_callback
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x0
	ldr	x20, [x2]
Lloh0:
	adrp	x8, _OCTEON_REQUEST_TIMEOUT@GOTPAGE
Lloh1:
	ldr	x8, [x8, _OCTEON_REQUEST_TIMEOUT@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	cmp	x8, x1
	b.eq	LBB0_2
; %bb.1:
	ldr	w8, [x20]
	cbz	w8, LBB0_3
LBB0_2:
	ldr	x0, [x19]
Lloh3:
	adrp	x1, l_.str@PAGE
Lloh4:
	add	x1, x1, l_.str@PAGEOFF
	bl	_dev_err
	mov	w8, #-1
	b	LBB0_4
LBB0_3:
	add	x0, x20, #4
	mov	w1, #0
	bl	_octeon_swap_8B_data
	ldr	w8, [x20, #220]
	str	w8, [x19, #224]
	ldur	d0, [x20, #212]
	str	d0, [x19, #216]
	ldur	q0, [x20, #196]
	stur	q0, [x19, #200]
	ldur	q0, [x20, #180]
	stur	q0, [x19, #184]
	ldur	q0, [x20, #164]
	stur	q0, [x19, #168]
	ldur	q0, [x20, #148]
	stur	q0, [x19, #152]
	ldur	q0, [x20, #132]
	stur	q0, [x19, #136]
	ldur	q0, [x20, #116]
	stur	q0, [x19, #120]
	ldur	q0, [x20, #100]
	stur	q0, [x19, #104]
	ldur	q0, [x20, #84]
	stur	q0, [x19, #88]
	ldur	q0, [x20, #68]
	stur	q0, [x19, #72]
	ldur	q0, [x20, #52]
	stur	q0, [x19, #56]
	ldur	q0, [x20, #36]
	stur	q0, [x19, #40]
	ldur	q0, [x20, #20]
	stur	q0, [x19, #24]
	ldur	q0, [x20, #4]
	stur	q0, [x19, #8]
	mov	w8, #1
LBB0_4:
	str	w8, [x20]
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh3, Lloh4
	.cfi_endproc
                                        ; -- End function
	.comm	_OCTEON_REQUEST_TIMEOUT,8,3     ; @OCTEON_REQUEST_TIMEOUT
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"sc OPCODE_NIC_PORT_STATS command failed\n"

	.no_dead_strip	_octnet_nic_stats_callback
.subsections_via_symbols
