	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function enetc_set_cls_entry
_enetc_set_cls_entry:                   ## @enetc_set_cls_entry
	.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
	subq	$128, %rsp
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rsi, %rbx
	movq	%rdi, %r14
	xorps	%xmm0, %xmm0
	movaps	%xmm0, -48(%rbp)
	movaps	%xmm0, -64(%rbp)
	movaps	%xmm0, -80(%rbp)
	movaps	%xmm0, -96(%rbp)
	movaps	%xmm0, -112(%rbp)
	movaps	%xmm0, -128(%rbp)
	movaps	%xmm0, -144(%rbp)
	movq	$0, -32(%rbp)
	testl	%edx, %edx
	je	LBB0_4
## %bb.1:
	cmpb	$-124, (%rbx)
	jne	LBB0_6
## %bb.2:
	movl	112(%rbx), %esi
	xorl	%edi, %edi
	callq	_ether_addr_copy_swap
	movl	28(%rbx), %esi
	xorl	%edi, %edi
	callq	_ether_addr_copy_swap
	movl	108(%rbx), %esi
	xorl	%edi, %edi
	callq	_ether_addr_copy_swap
	movl	24(%rbx), %esi
	xorl	%edi, %edi
	callq	_ether_addr_copy_swap
	movl	104(%rbx), %edi
	callq	_ntohs
	movq	%rax, -120(%rbp)
	movl	20(%rbx), %edi
	callq	_ntohs
	movl	%eax, -144(%rbp)
	movq	_ENETC_RFSE_EN@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -128(%rbp)
	movq	8(%rbx), %rcx
	movq	_RX_CLS_FLOW_DISC@GOTPCREL(%rip), %rdx
	cmpq	(%rdx), %rcx
	je	LBB0_4
## %bb.3:
	movq	_ENETC_RFSE_MODE_BD@GOTPCREL(%rip), %rdx
	orl	(%rdx), %eax
	movl	%eax, -128(%rbp)
	movq	%rcx, -136(%rbp)
LBB0_4:
	movl	16(%rbx), %edx
	leaq	-144(%rbp), %rsi
	movq	%r14, %rdi
	callq	_enetc_set_fs_entry
	jmp	LBB0_5
LBB0_6:
	movq	_EOPNOTSUPP@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	subl	(%rcx), %eax
LBB0_5:
	addq	$128, %rsp
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_ETH_P_IP,8,3                   ## @ETH_P_IP
	.comm	_EOPNOTSUPP,4,2                 ## @EOPNOTSUPP
	.comm	_ENETC_RFSE_EN,4,2              ## @ENETC_RFSE_EN
	.comm	_RX_CLS_FLOW_DISC,8,3           ## @RX_CLS_FLOW_DISC
	.comm	_ENETC_RFSE_MODE_BD,4,2         ## @ENETC_RFSE_MODE_BD
	.no_dead_strip	_enetc_set_cls_entry
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function enetc_set_cls_entry
_enetc_set_cls_entry:                   ; @enetc_set_cls_entry
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #160
	.cfi_def_cfa_offset 160
	stp	x20, x19, [sp, #128]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #144]            ; 16-byte Folded Spill
	add	x29, sp, #144
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x20, x1
	mov	x19, x0
	str	xzr, [sp, #112]
	movi.2d	v0, #0000000000000000
	stp	q0, q0, [sp, #80]
	stp	q0, q0, [sp, #48]
	stp	q0, q0, [sp, #16]
	str	q0, [sp]
	cbz	w2, LBB0_4
; %bb.1:
	ldrb	w8, [x20]
	cmp	w8, #132
	b.ne	LBB0_5
; %bb.2:
	ldr	w1, [x20, #112]
	mov	w0, #0
	bl	_ether_addr_copy_swap
	ldr	w1, [x20, #28]
	mov	w0, #0
	bl	_ether_addr_copy_swap
	ldr	w1, [x20, #108]
	mov	w0, #0
	bl	_ether_addr_copy_swap
	ldr	w1, [x20, #24]
	mov	w0, #0
	bl	_ether_addr_copy_swap
	ldr	w0, [x20, #104]
	bl	_ntohs
	str	x0, [sp, #24]
	ldr	w0, [x20, #20]
	bl	_ntohs
Lloh0:
	adrp	x8, _ENETC_RFSE_EN@GOTPAGE
Lloh1:
	ldr	x8, [x8, _ENETC_RFSE_EN@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	str	w0, [sp]
	str	w8, [sp, #16]
	ldr	x9, [x20, #8]
Lloh3:
	adrp	x10, _RX_CLS_FLOW_DISC@GOTPAGE
Lloh4:
	ldr	x10, [x10, _RX_CLS_FLOW_DISC@GOTPAGEOFF]
Lloh5:
	ldr	x10, [x10]
	cmp	x9, x10
	b.eq	LBB0_4
; %bb.3:
Lloh6:
	adrp	x10, _ENETC_RFSE_MODE_BD@GOTPAGE
Lloh7:
	ldr	x10, [x10, _ENETC_RFSE_MODE_BD@GOTPAGEOFF]
Lloh8:
	ldr	w10, [x10]
	orr	w8, w10, w8
	str	w8, [sp, #16]
	str	x9, [sp, #8]
LBB0_4:
	ldr	w2, [x20, #16]
	mov	x1, sp
	mov	x0, x19
	bl	_enetc_set_fs_entry
	b	LBB0_6
LBB0_5:
Lloh9:
	adrp	x8, _EOPNOTSUPP@GOTPAGE
Lloh10:
	ldr	x8, [x8, _EOPNOTSUPP@GOTPAGEOFF]
Lloh11:
	ldr	w8, [x8]
	neg	w0, w8
LBB0_6:
	ldp	x29, x30, [sp, #144]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #128]            ; 16-byte Folded Reload
	add	sp, sp, #160
	ret
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.cfi_endproc
                                        ; -- End function
	.comm	_ETH_P_IP,8,3                   ; @ETH_P_IP
	.comm	_EOPNOTSUPP,4,2                 ; @EOPNOTSUPP
	.comm	_ENETC_RFSE_EN,4,2              ; @ENETC_RFSE_EN
	.comm	_RX_CLS_FLOW_DISC,8,3           ; @RX_CLS_FLOW_DISC
	.comm	_ENETC_RFSE_MODE_BD,4,2         ; @ENETC_RFSE_MODE_BD
	.no_dead_strip	_enetc_set_cls_entry
.subsections_via_symbols
