	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function prep_eth_rule
_prep_eth_rule:                         ## @prep_eth_rule
	.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	%r8, %r14
	movq	%rcx, %r15
	movq	%rdx, %r12
	movq	%rsi, %rbx
	movq	%rdi, %r13
	cmpq	$0, 8(%rsi)
	je	LBB0_2
## %bb.1:
	movq	_NET_PROT_ETH@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_NH_FLD_ETH_TYPE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_dpaa2_eth_cls_fld_off
	movq	8(%r13), %rcx
	cltq
	movq	%rcx, (%r12,%rax)
	movq	8(%rbx), %rcx
	movq	%rcx, (%r15,%rax)
	movq	_DPAA2_ETH_DIST_ETHTYPE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	orl	%eax, (%r14)
LBB0_2:
	movl	4(%rbx), %edi
	callq	_is_zero_ether_addr
	testl	%eax, %eax
	jne	LBB0_4
## %bb.3:
	movq	_NET_PROT_ETH@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_NH_FLD_ETH_SA@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_dpaa2_eth_cls_fld_off
	movq	%r14, -48(%rbp)                 ## 8-byte Spill
	movslq	%eax, %r14
	leaq	(%r12,%r14), %rdi
	movl	4(%r13), %esi
	callq	_ether_addr_copy
	addq	%r15, %r14
	movl	4(%rbx), %esi
	movq	%r14, %rdi
	movq	-48(%rbp), %r14                 ## 8-byte Reload
	callq	_ether_addr_copy
	movq	_DPAA2_ETH_DIST_ETHSRC@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	orl	%eax, (%r14)
LBB0_4:
	movl	(%rbx), %edi
	callq	_is_zero_ether_addr
	testl	%eax, %eax
	jne	LBB0_6
## %bb.5:
	movq	_NET_PROT_ETH@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_NH_FLD_ETH_DA@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_dpaa2_eth_cls_fld_off
	movq	%r14, -48(%rbp)                 ## 8-byte Spill
	movslq	%eax, %r14
	addq	%r14, %r12
	movl	(%r13), %esi
	movq	%r12, %rdi
	callq	_ether_addr_copy
	addq	%r14, %r15
	movl	(%rbx), %esi
	movq	%r15, %rdi
	callq	_ether_addr_copy
	movq	_DPAA2_ETH_DIST_ETHDST@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	-48(%rbp), %rcx                 ## 8-byte Reload
	orl	%eax, (%rcx)
LBB0_6:
	xorl	%eax, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_NET_PROT_ETH,4,2               ## @NET_PROT_ETH
	.comm	_NH_FLD_ETH_TYPE,4,2            ## @NH_FLD_ETH_TYPE
	.comm	_DPAA2_ETH_DIST_ETHTYPE,4,2     ## @DPAA2_ETH_DIST_ETHTYPE
	.comm	_NH_FLD_ETH_SA,4,2              ## @NH_FLD_ETH_SA
	.comm	_DPAA2_ETH_DIST_ETHSRC,4,2      ## @DPAA2_ETH_DIST_ETHSRC
	.comm	_NH_FLD_ETH_DA,4,2              ## @NH_FLD_ETH_DA
	.comm	_DPAA2_ETH_DIST_ETHDST,4,2      ## @DPAA2_ETH_DIST_ETHDST
	.no_dead_strip	_prep_eth_rule
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function prep_eth_rule
_prep_eth_rule:                         ; @prep_eth_rule
	.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, x4
	mov	x20, x3
	mov	x22, x2
	mov	x21, x1
	mov	x23, x0
	ldr	x8, [x1, #8]
Lloh0:
	adrp	x24, _NET_PROT_ETH@GOTPAGE
Lloh1:
	ldr	x24, [x24, _NET_PROT_ETH@GOTPAGEOFF]
	cbz	x8, LBB0_2
; %bb.1:
	ldr	w0, [x24]
Lloh2:
	adrp	x8, _NH_FLD_ETH_TYPE@GOTPAGE
Lloh3:
	ldr	x8, [x8, _NH_FLD_ETH_TYPE@GOTPAGEOFF]
Lloh4:
	ldr	w1, [x8]
	bl	_dpaa2_eth_cls_fld_off
                                        ; kill: def $w0 killed $w0 def $x0
	ldr	x8, [x23, #8]
	sxtw	x9, w0
	str	x8, [x22, x9]
	ldr	x8, [x21, #8]
	str	x8, [x20, x9]
Lloh5:
	adrp	x8, _DPAA2_ETH_DIST_ETHTYPE@GOTPAGE
Lloh6:
	ldr	x8, [x8, _DPAA2_ETH_DIST_ETHTYPE@GOTPAGEOFF]
Lloh7:
	ldr	w8, [x8]
	ldr	w9, [x19]
	orr	w8, w9, w8
	str	w8, [x19]
LBB0_2:
	ldr	w0, [x21, #4]
	bl	_is_zero_ether_addr
	cbnz	w0, LBB0_4
; %bb.3:
	ldr	w0, [x24]
Lloh8:
	adrp	x8, _NH_FLD_ETH_SA@GOTPAGE
Lloh9:
	ldr	x8, [x8, _NH_FLD_ETH_SA@GOTPAGEOFF]
Lloh10:
	ldr	w1, [x8]
	bl	_dpaa2_eth_cls_fld_off
                                        ; kill: def $w0 killed $w0 def $x0
	sxtw	x25, w0
	add	x0, x22, x25
	ldr	w1, [x23, #4]
	bl	_ether_addr_copy
	add	x0, x20, x25
	ldr	w1, [x21, #4]
	bl	_ether_addr_copy
Lloh11:
	adrp	x8, _DPAA2_ETH_DIST_ETHSRC@GOTPAGE
Lloh12:
	ldr	x8, [x8, _DPAA2_ETH_DIST_ETHSRC@GOTPAGEOFF]
Lloh13:
	ldr	w8, [x8]
	ldr	w9, [x19]
	orr	w8, w9, w8
	str	w8, [x19]
LBB0_4:
	ldr	w0, [x21]
	bl	_is_zero_ether_addr
	cbnz	w0, LBB0_6
; %bb.5:
	ldr	w0, [x24]
Lloh14:
	adrp	x8, _NH_FLD_ETH_DA@GOTPAGE
Lloh15:
	ldr	x8, [x8, _NH_FLD_ETH_DA@GOTPAGEOFF]
Lloh16:
	ldr	w1, [x8]
	bl	_dpaa2_eth_cls_fld_off
                                        ; kill: def $w0 killed $w0 def $x0
	sxtw	x24, w0
	add	x0, x22, x24
	ldr	w1, [x23]
	bl	_ether_addr_copy
	add	x0, x20, x24
	ldr	w1, [x21]
	bl	_ether_addr_copy
Lloh17:
	adrp	x8, _DPAA2_ETH_DIST_ETHDST@GOTPAGE
Lloh18:
	ldr	x8, [x8, _DPAA2_ETH_DIST_ETHDST@GOTPAGEOFF]
Lloh19:
	ldr	w8, [x8]
	ldr	w9, [x19]
	orr	w8, w9, w8
	str	w8, [x19]
LBB0_6:
	mov	w0, #0
	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
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.cfi_endproc
                                        ; -- End function
	.comm	_NET_PROT_ETH,4,2               ; @NET_PROT_ETH
	.comm	_NH_FLD_ETH_TYPE,4,2            ; @NH_FLD_ETH_TYPE
	.comm	_DPAA2_ETH_DIST_ETHTYPE,4,2     ; @DPAA2_ETH_DIST_ETHTYPE
	.comm	_NH_FLD_ETH_SA,4,2              ; @NH_FLD_ETH_SA
	.comm	_DPAA2_ETH_DIST_ETHSRC,4,2      ; @DPAA2_ETH_DIST_ETHSRC
	.comm	_NH_FLD_ETH_DA,4,2              ; @NH_FLD_ETH_DA
	.comm	_DPAA2_ETH_DIST_ETHDST,4,2      ; @DPAA2_ETH_DIST_ETHDST
	.no_dead_strip	_prep_eth_rule
.subsections_via_symbols
