	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function prep_ext_rule
_prep_ext_rule:                         ## @prep_ext_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, 8(%rsi)
	je	LBB0_2
## %bb.1:
	movq	_EOPNOTSUPP@GOTPCREL(%rip), %rax
	xorl	%ebx, %ebx
	subl	(%rax), %ebx
	jmp	LBB0_4
LBB0_2:
	movq	%rsi, %r12
	xorl	%ebx, %ebx
	cmpq	$0, (%rsi)
	je	LBB0_4
## %bb.3:
	movq	%rcx, %r15
	movq	%rdx, %r13
	movq	%rdi, %r14
	movq	_NET_PROT_VLAN@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_NH_FLD_VLAN_TCI@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r8, -48(%rbp)                  ## 8-byte Spill
	callq	_dpaa2_eth_cls_fld_off
	movq	(%r14), %rcx
	cltq
	movq	%rcx, (%r13,%rax)
	movq	(%r12), %rcx
	movq	%rcx, (%r15,%rax)
	movq	_DPAA2_ETH_DIST_VLAN@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	-48(%rbp), %rcx                 ## 8-byte Reload
	orl	%eax, (%rcx)
LBB0_4:
	movl	%ebx, %eax
	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_VLAN,4,2              ## @NET_PROT_VLAN
	.comm	_NH_FLD_VLAN_TCI,4,2            ## @NH_FLD_VLAN_TCI
	.comm	_DPAA2_ETH_DIST_VLAN,4,2        ## @DPAA2_ETH_DIST_VLAN
	.no_dead_strip	_prep_ext_rule
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function prep_ext_rule
_prep_ext_rule:                         ; @prep_ext_rule
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	ldr	x8, [x1, #8]
	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_5
LBB0_2:
	mov	x21, x1
	ldr	x8, [x1]
	cbz	x8, LBB0_4
; %bb.3:
	mov	x19, x4
	mov	x20, x3
	mov	x22, x2
	mov	x23, x0
Lloh3:
	adrp	x8, _NET_PROT_VLAN@GOTPAGE
Lloh4:
	ldr	x8, [x8, _NET_PROT_VLAN@GOTPAGEOFF]
Lloh5:
	ldr	w0, [x8]
Lloh6:
	adrp	x8, _NH_FLD_VLAN_TCI@GOTPAGE
Lloh7:
	ldr	x8, [x8, _NH_FLD_VLAN_TCI@GOTPAGEOFF]
Lloh8:
	ldr	w1, [x8]
	bl	_dpaa2_eth_cls_fld_off
	mov	x8, x0
	mov	w0, #0
	ldr	x9, [x23]
	sxtw	x8, w8
	str	x9, [x22, x8]
	ldr	x9, [x21]
	str	x9, [x20, x8]
Lloh9:
	adrp	x8, _DPAA2_ETH_DIST_VLAN@GOTPAGE
Lloh10:
	ldr	x8, [x8, _DPAA2_ETH_DIST_VLAN@GOTPAGEOFF]
Lloh11:
	ldr	w8, [x8]
	ldr	w9, [x19]
	orr	w8, w9, w8
	str	w8, [x19]
	b	LBB0_5
LBB0_4:
	mov	w0, #0
LBB0_5:
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_EOPNOTSUPP,4,2                 ; @EOPNOTSUPP
	.comm	_NET_PROT_VLAN,4,2              ; @NET_PROT_VLAN
	.comm	_NH_FLD_VLAN_TCI,4,2            ; @NH_FLD_VLAN_TCI
	.comm	_DPAA2_ETH_DIST_VLAN,4,2        ; @DPAA2_ETH_DIST_VLAN
	.no_dead_strip	_prep_ext_rule
.subsections_via_symbols
