	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function prep_l4_rule
_prep_l4_rule:                          ## @prep_l4_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
	cmpq	$0, 32(%rsi)
	je	LBB0_2
## %bb.1:
	movq	_EOPNOTSUPP@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	subl	(%rcx), %eax
	jmp	LBB0_11
LBB0_2:
	movq	%r9, %r14
	movq	%rcx, %r12
	movq	%rdx, %r13
	movq	%rsi, %rbx
	movq	%rdi, %r15
	movl	%r8d, -44(%rbp)                 ## 4-byte Spill
	cmpq	$0, 24(%rsi)
	je	LBB0_4
## %bb.3:
	movq	_NET_PROT_IP@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_NH_FLD_IP_SRC@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_dpaa2_eth_cls_fld_off
	movq	24(%r15), %rcx
	cltq
	movq	%rcx, (%r13,%rax)
	movq	24(%rbx), %rcx
	movq	%rcx, (%r12,%rax)
	movq	_DPAA2_ETH_DIST_IPSRC@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	orl	%eax, (%r14)
LBB0_4:
	cmpq	$0, 16(%rbx)
	je	LBB0_6
## %bb.5:
	movq	_NET_PROT_IP@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_NH_FLD_IP_DST@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_dpaa2_eth_cls_fld_off
	movq	16(%r15), %rcx
	cltq
	movq	%rcx, (%r13,%rax)
	movq	16(%rbx), %rcx
	movq	%rcx, (%r12,%rax)
	movq	_DPAA2_ETH_DIST_IPDST@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	orl	%eax, (%r14)
LBB0_6:
	cmpq	$0, 8(%rbx)
	je	LBB0_8
## %bb.7:
	movq	_NET_PROT_UDP@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_NH_FLD_UDP_PORT_SRC@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_dpaa2_eth_cls_fld_off
	movq	8(%r15), %rcx
	cltq
	movq	%rcx, (%r13,%rax)
	movq	8(%rbx), %rcx
	movq	%rcx, (%r12,%rax)
	movq	_DPAA2_ETH_DIST_L4SRC@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	orl	%eax, (%r14)
LBB0_8:
	cmpq	$0, (%rbx)
	je	LBB0_10
## %bb.9:
	movq	_NET_PROT_UDP@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_NH_FLD_UDP_PORT_DST@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_dpaa2_eth_cls_fld_off
	movq	(%r15), %rcx
	cltq
	movq	%rcx, (%r13,%rax)
	movq	(%rbx), %rcx
	movq	%rcx, (%r12,%rax)
	movq	_DPAA2_ETH_DIST_L4DST@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	orl	%eax, (%r14)
LBB0_10:
	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
	movl	%eax, %ebx
	movq	_ETH_P_IP@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_htons
	movslq	%ebx, %rbx
	movq	%rax, (%r13,%rbx)
	movl	$65535, %edi                    ## imm = 0xFFFF
	callq	_htons
	movq	%rax, (%r12,%rbx)
	movq	_DPAA2_ETH_DIST_ETHTYPE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	orl	%eax, (%r14)
	movq	_NET_PROT_IP@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_NH_FLD_IP_PROTO@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_dpaa2_eth_cls_fld_off
	cltq
	movl	-44(%rbp), %ecx                 ## 4-byte Reload
	movl	%ecx, (%r13,%rax)
	movl	$255, (%r12,%rax)
	movq	_DPAA2_ETH_DIST_IPPROTO@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	orl	%eax, (%r14)
	xorl	%eax, %eax
LBB0_11:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_EOPNOTSUPP,4,2                 ## @EOPNOTSUPP
	.comm	_NET_PROT_IP,4,2                ## @NET_PROT_IP
	.comm	_NH_FLD_IP_SRC,4,2              ## @NH_FLD_IP_SRC
	.comm	_DPAA2_ETH_DIST_IPSRC,4,2       ## @DPAA2_ETH_DIST_IPSRC
	.comm	_NH_FLD_IP_DST,4,2              ## @NH_FLD_IP_DST
	.comm	_DPAA2_ETH_DIST_IPDST,4,2       ## @DPAA2_ETH_DIST_IPDST
	.comm	_NET_PROT_UDP,4,2               ## @NET_PROT_UDP
	.comm	_NH_FLD_UDP_PORT_SRC,4,2        ## @NH_FLD_UDP_PORT_SRC
	.comm	_DPAA2_ETH_DIST_L4SRC,4,2       ## @DPAA2_ETH_DIST_L4SRC
	.comm	_NH_FLD_UDP_PORT_DST,4,2        ## @NH_FLD_UDP_PORT_DST
	.comm	_DPAA2_ETH_DIST_L4DST,4,2       ## @DPAA2_ETH_DIST_L4DST
	.comm	_NET_PROT_ETH,4,2               ## @NET_PROT_ETH
	.comm	_NH_FLD_ETH_TYPE,4,2            ## @NH_FLD_ETH_TYPE
	.comm	_ETH_P_IP,4,2                   ## @ETH_P_IP
	.comm	_DPAA2_ETH_DIST_ETHTYPE,4,2     ## @DPAA2_ETH_DIST_ETHTYPE
	.comm	_NH_FLD_IP_PROTO,4,2            ## @NH_FLD_IP_PROTO
	.comm	_DPAA2_ETH_DIST_IPPROTO,4,2     ## @DPAA2_ETH_DIST_IPPROTO
	.no_dead_strip	_prep_l4_rule
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function prep_l4_rule
_prep_l4_rule:                          ; @prep_l4_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
	ldr	x8, [x1, #32]
	cbz	x8, LBB0_2
; %bb.1:
Lloh0:
	adrp	x8, _EOPNOTSUPP@GOTPAGE
Lloh1:
	ldr	x8, [x8, _EOPNOTSUPP@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	neg	w0, w8
	b	LBB0_11
LBB0_2:
	mov	x19, x5
	mov	x21, x4
	mov	x20, x3
	mov	x22, x2
	mov	x23, x1
	mov	x24, x0
	ldr	x8, [x1, #24]
Lloh3:
	adrp	x25, _NET_PROT_IP@GOTPAGE
Lloh4:
	ldr	x25, [x25, _NET_PROT_IP@GOTPAGEOFF]
	cbz	x8, LBB0_4
; %bb.3:
	ldr	w0, [x25]
Lloh5:
	adrp	x8, _NH_FLD_IP_SRC@GOTPAGE
Lloh6:
	ldr	x8, [x8, _NH_FLD_IP_SRC@GOTPAGEOFF]
Lloh7:
	ldr	w1, [x8]
	bl	_dpaa2_eth_cls_fld_off
                                        ; kill: def $w0 killed $w0 def $x0
	ldr	x8, [x24, #24]
	sxtw	x9, w0
	str	x8, [x22, x9]
	ldr	x8, [x23, #24]
	str	x8, [x20, x9]
Lloh8:
	adrp	x8, _DPAA2_ETH_DIST_IPSRC@GOTPAGE
Lloh9:
	ldr	x8, [x8, _DPAA2_ETH_DIST_IPSRC@GOTPAGEOFF]
Lloh10:
	ldr	w8, [x8]
	ldr	w9, [x19]
	orr	w8, w9, w8
	str	w8, [x19]
LBB0_4:
	ldr	x8, [x23, #16]
	cbz	x8, LBB0_6
; %bb.5:
	ldr	w0, [x25]
Lloh11:
	adrp	x8, _NH_FLD_IP_DST@GOTPAGE
Lloh12:
	ldr	x8, [x8, _NH_FLD_IP_DST@GOTPAGEOFF]
Lloh13:
	ldr	w1, [x8]
	bl	_dpaa2_eth_cls_fld_off
                                        ; kill: def $w0 killed $w0 def $x0
	ldr	x8, [x24, #16]
	sxtw	x9, w0
	str	x8, [x22, x9]
	ldr	x8, [x23, #16]
	str	x8, [x20, x9]
Lloh14:
	adrp	x8, _DPAA2_ETH_DIST_IPDST@GOTPAGE
Lloh15:
	ldr	x8, [x8, _DPAA2_ETH_DIST_IPDST@GOTPAGEOFF]
Lloh16:
	ldr	w8, [x8]
	ldr	w9, [x19]
	orr	w8, w9, w8
	str	w8, [x19]
LBB0_6:
	ldr	x8, [x23, #8]
Lloh17:
	adrp	x26, _NET_PROT_UDP@GOTPAGE
Lloh18:
	ldr	x26, [x26, _NET_PROT_UDP@GOTPAGEOFF]
	cbz	x8, LBB0_8
; %bb.7:
	ldr	w0, [x26]
Lloh19:
	adrp	x8, _NH_FLD_UDP_PORT_SRC@GOTPAGE
Lloh20:
	ldr	x8, [x8, _NH_FLD_UDP_PORT_SRC@GOTPAGEOFF]
Lloh21:
	ldr	w1, [x8]
	bl	_dpaa2_eth_cls_fld_off
                                        ; kill: def $w0 killed $w0 def $x0
	ldr	x8, [x24, #8]
	sxtw	x9, w0
	str	x8, [x22, x9]
	ldr	x8, [x23, #8]
	str	x8, [x20, x9]
Lloh22:
	adrp	x8, _DPAA2_ETH_DIST_L4SRC@GOTPAGE
Lloh23:
	ldr	x8, [x8, _DPAA2_ETH_DIST_L4SRC@GOTPAGEOFF]
Lloh24:
	ldr	w8, [x8]
	ldr	w9, [x19]
	orr	w8, w9, w8
	str	w8, [x19]
LBB0_8:
	ldr	x8, [x23]
	cbz	x8, LBB0_10
; %bb.9:
	ldr	w0, [x26]
Lloh25:
	adrp	x8, _NH_FLD_UDP_PORT_DST@GOTPAGE
Lloh26:
	ldr	x8, [x8, _NH_FLD_UDP_PORT_DST@GOTPAGEOFF]
Lloh27:
	ldr	w1, [x8]
	bl	_dpaa2_eth_cls_fld_off
                                        ; kill: def $w0 killed $w0 def $x0
	ldr	x8, [x24]
	sxtw	x9, w0
	str	x8, [x22, x9]
	ldr	x8, [x23]
	str	x8, [x20, x9]
Lloh28:
	adrp	x8, _DPAA2_ETH_DIST_L4DST@GOTPAGE
Lloh29:
	ldr	x8, [x8, _DPAA2_ETH_DIST_L4DST@GOTPAGEOFF]
Lloh30:
	ldr	w8, [x8]
	ldr	w9, [x19]
	orr	w8, w9, w8
	str	w8, [x19]
LBB0_10:
Lloh31:
	adrp	x8, _NET_PROT_ETH@GOTPAGE
Lloh32:
	ldr	x8, [x8, _NET_PROT_ETH@GOTPAGEOFF]
Lloh33:
	ldr	w0, [x8]
Lloh34:
	adrp	x8, _NH_FLD_ETH_TYPE@GOTPAGE
Lloh35:
	ldr	x8, [x8, _NH_FLD_ETH_TYPE@GOTPAGEOFF]
Lloh36:
	ldr	w1, [x8]
	bl	_dpaa2_eth_cls_fld_off
	mov	x23, x0
Lloh37:
	adrp	x8, _ETH_P_IP@GOTPAGE
Lloh38:
	ldr	x8, [x8, _ETH_P_IP@GOTPAGEOFF]
Lloh39:
	ldr	w0, [x8]
	bl	_htons
	sxtw	x23, w23
	str	x0, [x22, x23]
	mov	w0, #65535
	bl	_htons
	str	x0, [x20, x23]
Lloh40:
	adrp	x8, _DPAA2_ETH_DIST_ETHTYPE@GOTPAGE
Lloh41:
	ldr	x8, [x8, _DPAA2_ETH_DIST_ETHTYPE@GOTPAGEOFF]
Lloh42:
	ldr	w8, [x8]
	ldr	w9, [x19]
	orr	w8, w9, w8
	str	w8, [x19]
	ldr	w0, [x25]
Lloh43:
	adrp	x8, _NH_FLD_IP_PROTO@GOTPAGE
Lloh44:
	ldr	x8, [x8, _NH_FLD_IP_PROTO@GOTPAGEOFF]
Lloh45:
	ldr	w1, [x8]
	bl	_dpaa2_eth_cls_fld_off
	mov	x8, x0
	mov	w0, #0
	sxtw	x8, w8
	str	w21, [x22, x8]
	mov	w9, #255
	str	w9, [x20, x8]
Lloh46:
	adrp	x8, _DPAA2_ETH_DIST_IPPROTO@GOTPAGE
Lloh47:
	ldr	x8, [x8, _DPAA2_ETH_DIST_IPPROTO@GOTPAGEOFF]
Lloh48:
	ldr	w8, [x8]
	ldr	w9, [x19]
	orr	w8, w9, w8
	str	w8, [x19]
LBB0_11:
	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 AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGot	Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh22, Lloh23, Lloh24
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh28, Lloh29, Lloh30
	.loh AdrpLdrGotLdr	Lloh25, Lloh26, Lloh27
	.loh AdrpLdrGotLdr	Lloh46, Lloh47, Lloh48
	.loh AdrpLdrGotLdr	Lloh43, Lloh44, Lloh45
	.loh AdrpLdrGotLdr	Lloh40, Lloh41, Lloh42
	.loh AdrpLdrGotLdr	Lloh37, Lloh38, Lloh39
	.loh AdrpLdrGotLdr	Lloh34, Lloh35, Lloh36
	.loh AdrpLdrGotLdr	Lloh31, Lloh32, Lloh33
	.cfi_endproc
                                        ; -- End function
	.comm	_EOPNOTSUPP,4,2                 ; @EOPNOTSUPP
	.comm	_NET_PROT_IP,4,2                ; @NET_PROT_IP
	.comm	_NH_FLD_IP_SRC,4,2              ; @NH_FLD_IP_SRC
	.comm	_DPAA2_ETH_DIST_IPSRC,4,2       ; @DPAA2_ETH_DIST_IPSRC
	.comm	_NH_FLD_IP_DST,4,2              ; @NH_FLD_IP_DST
	.comm	_DPAA2_ETH_DIST_IPDST,4,2       ; @DPAA2_ETH_DIST_IPDST
	.comm	_NET_PROT_UDP,4,2               ; @NET_PROT_UDP
	.comm	_NH_FLD_UDP_PORT_SRC,4,2        ; @NH_FLD_UDP_PORT_SRC
	.comm	_DPAA2_ETH_DIST_L4SRC,4,2       ; @DPAA2_ETH_DIST_L4SRC
	.comm	_NH_FLD_UDP_PORT_DST,4,2        ; @NH_FLD_UDP_PORT_DST
	.comm	_DPAA2_ETH_DIST_L4DST,4,2       ; @DPAA2_ETH_DIST_L4DST
	.comm	_NET_PROT_ETH,4,2               ; @NET_PROT_ETH
	.comm	_NH_FLD_ETH_TYPE,4,2            ; @NH_FLD_ETH_TYPE
	.comm	_ETH_P_IP,4,2                   ; @ETH_P_IP
	.comm	_DPAA2_ETH_DIST_ETHTYPE,4,2     ; @DPAA2_ETH_DIST_ETHTYPE
	.comm	_NH_FLD_IP_PROTO,4,2            ; @NH_FLD_IP_PROTO
	.comm	_DPAA2_ETH_DIST_IPPROTO,4,2     ; @DPAA2_ETH_DIST_IPPROTO
	.no_dead_strip	_prep_l4_rule
.subsections_via_symbols
