	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function mtk_hwlro_get_fdir_all
_mtk_hwlro_get_fdir_all:                ## @mtk_hwlro_get_fdir_all
	.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	%rdx, %rbx
	movq	%rsi, %r14
	callq	_netdev_priv
	movq	_MTK_MAX_LRO_IP_CNT@GOTPCREL(%rip), %r8
	movl	(%r8), %edi
	testl	%edi, %edi
	jle	LBB0_1
## %bb.2:
	movq	(%rax), %rax
	xorl	%esi, %esi
	xorl	%edx, %edx
	jmp	LBB0_3
	.p2align	4, 0x90
LBB0_5:                                 ##   in Loop: Header=BB0_3 Depth=1
	incq	%rsi
	movslq	%edi, %rcx
	cmpq	%rcx, %rsi
	jge	LBB0_6
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	cmpq	$0, (%rax,%rsi,8)
	je	LBB0_5
## %bb.4:                               ##   in Loop: Header=BB0_3 Depth=1
	movslq	%edx, %rdx
	movl	%esi, (%rbx,%rdx,4)
	incl	%edx
	movl	(%r8), %edi
	jmp	LBB0_5
LBB0_1:
	xorl	%edx, %edx
LBB0_6:
	movl	%edx, (%r14)
	xorl	%eax, %eax
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_MTK_MAX_LRO_IP_CNT,4,2         ## @MTK_MAX_LRO_IP_CNT
	.no_dead_strip	_mtk_hwlro_get_fdir_all
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function mtk_hwlro_get_fdir_all
_mtk_hwlro_get_fdir_all:                ; @mtk_hwlro_get_fdir_all
	.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	x20, x2
	mov	x19, x1
	bl	_netdev_priv
Lloh0:
	adrp	x8, _MTK_MAX_LRO_IP_CNT@GOTPAGE
Lloh1:
	ldr	x8, [x8, _MTK_MAX_LRO_IP_CNT@GOTPAGEOFF]
	ldr	w11, [x8]
	cmp	w11, #1
	b.lt	LBB0_5
; %bb.1:
	mov	x10, #0
	mov	w9, #0
	ldr	x12, [x0]
	b	LBB0_3
LBB0_2:                                 ;   in Loop: Header=BB0_3 Depth=1
	add	x10, x10, #1
	cmp	x10, w11, sxtw
	b.ge	LBB0_6
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x13, [x12, x10, lsl #3]
	cbz	x13, LBB0_2
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	str	w10, [x20, w9, sxtw #2]
	add	w9, w9, #1
	ldr	w11, [x8]
	b	LBB0_2
LBB0_5:
	mov	w9, #0
LBB0_6:
	str	w9, [x19]
	mov	w0, #0
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_MTK_MAX_LRO_IP_CNT,4,2         ; @MTK_MAX_LRO_IP_CNT
	.no_dead_strip	_mtk_hwlro_get_fdir_all
.subsections_via_symbols
