	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function validate_flow
_validate_flow:                         ## @validate_flow
	.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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r14
	movq	(%rsi), %rax
	movq	_MAX_NUM_OF_ETHTOOL_RULES@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jge	LBB0_1
## %bb.3:
	movq	8(%r14), %rdx
	movq	_RX_CLS_FLOW_DISC@GOTPCREL(%rip), %rax
	cmpq	(%rax), %rdx
	je	LBB0_6
## %bb.4:
	movq	%rdi, %rsi
	movl	4(%rdi), %edi
	callq	_mlx5e_qid_validate
	testl	%eax, %eax
	je	LBB0_5
LBB0_6:
	movq	_FLOW_EXT@GOTPCREL(%rip), %r12
	movq	_FLOW_MAC_EXT@GOTPCREL(%rip), %r15
	movl	(%r15), %eax
	orl	(%r12), %eax
	notl	%eax
	andl	16(%r14), %eax
	addl	$-128, %eax
	cmpl	$6, %eax
	ja	LBB0_13
## %bb.7:
	leaq	LJTI0_0(%rip), %rcx
	movslq	(%rcx,%rax,4), %rax
	addq	%rcx, %rax
	jmpq	*%rax
LBB0_11:
	movq	%r14, %rdi
	callq	_validate_tcpudp6
	jmp	LBB0_9
LBB0_1:
	movq	_ENOSPC@GOTPCREL(%rip), %rax
LBB0_2:
	xorl	%ebx, %ebx
	subl	(%rax), %ebx
LBB0_21:
	movl	%ebx, %eax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_8:
	movq	%r14, %rdi
	callq	_validate_tcpudp4
	jmp	LBB0_9
LBB0_5:
	movq	_EINVAL@GOTPCREL(%rip), %rax
	jmp	LBB0_2
LBB0_13:
	movq	_ENOTSUPP@GOTPCREL(%rip), %rax
	jmp	LBB0_2
LBB0_12:
	movq	%r14, %rdi
	callq	_validate_ip6
	jmp	LBB0_9
LBB0_14:
	movq	%r14, %rdi
	callq	_validate_ethter
	movl	%eax, %ebx
	jmp	LBB0_15
LBB0_10:
	movq	%r14, %rdi
	callq	_validate_ip4
LBB0_9:
	movl	%eax, %ebx
	testl	%eax, %eax
	js	LBB0_21
LBB0_15:
	movl	16(%r14), %eax
	testl	%eax, (%r12)
	je	LBB0_19
## %bb.16:
	movq	%r14, %rdi
	callq	_validate_vlan
	testl	%eax, %eax
	js	LBB0_17
## %bb.18:
	addl	%eax, %ebx
	movl	16(%r14), %eax
LBB0_19:
	testl	%eax, (%r15)
	je	LBB0_21
## %bb.20:
	movl	20(%r14), %edi
	callq	_is_zero_ether_addr
	cmpl	$1, %eax
	adcl	$0, %ebx
	jmp	LBB0_21
LBB0_17:
	movl	%eax, %ebx
	jmp	LBB0_21
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_11, LBB0_11-LJTI0_0
.set L0_0_set_8, LBB0_8-LJTI0_0
.set L0_0_set_10, LBB0_10-LJTI0_0
.set L0_0_set_12, LBB0_12-LJTI0_0
.set L0_0_set_14, LBB0_14-LJTI0_0
LJTI0_0:
	.long	L0_0_set_11
	.long	L0_0_set_8
	.long	L0_0_set_11
	.long	L0_0_set_8
	.long	L0_0_set_10
	.long	L0_0_set_12
	.long	L0_0_set_14
	.end_data_region
                                        ## -- End function
	.comm	_MAX_NUM_OF_ETHTOOL_RULES,8,3   ## @MAX_NUM_OF_ETHTOOL_RULES
	.comm	_ENOSPC,4,2                     ## @ENOSPC
	.comm	_RX_CLS_FLOW_DISC,8,3           ## @RX_CLS_FLOW_DISC
	.comm	_EINVAL,4,2                     ## @EINVAL
	.comm	_FLOW_EXT,4,2                   ## @FLOW_EXT
	.comm	_FLOW_MAC_EXT,4,2               ## @FLOW_MAC_EXT
	.comm	_ENOTSUPP,4,2                   ## @ENOTSUPP
	.no_dead_strip	_validate_flow
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function validate_flow
_validate_flow:                         ; @validate_flow
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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
	mov	x19, x1
	ldr	x8, [x1]
Lloh0:
	adrp	x9, _MAX_NUM_OF_ETHTOOL_RULES@GOTPAGE
Lloh1:
	ldr	x9, [x9, _MAX_NUM_OF_ETHTOOL_RULES@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ge	LBB0_6
; %bb.1:
	ldr	x2, [x19, #8]
Lloh3:
	adrp	x8, _RX_CLS_FLOW_DISC@GOTPAGE
Lloh4:
	ldr	x8, [x8, _RX_CLS_FLOW_DISC@GOTPAGEOFF]
Lloh5:
	ldr	x8, [x8]
	cmp	x2, x8
	b.eq	LBB0_3
; %bb.2:
	mov	x1, x0
	ldr	w0, [x0, #4]
	bl	_mlx5e_qid_validate
	cbz	w0, LBB0_10
LBB0_3:
	ldr	w8, [x19, #16]
Lloh6:
	adrp	x22, _FLOW_EXT@GOTPAGE
Lloh7:
	ldr	x22, [x22, _FLOW_EXT@GOTPAGEOFF]
Lloh8:
	adrp	x21, _FLOW_MAC_EXT@GOTPAGE
Lloh9:
	ldr	x21, [x21, _FLOW_MAC_EXT@GOTPAGEOFF]
	ldr	w9, [x22]
	ldr	w10, [x21]
	orr	w9, w10, w9
	bic	w8, w8, w9
	sub	w8, w8, #128
	cmp	w8, #6
	b.hi	LBB0_11
; %bb.4:
Lloh10:
	adrp	x9, lJTI0_0@PAGE
Lloh11:
	add	x9, x9, lJTI0_0@PAGEOFF
	adr	x10, LBB0_5
	ldrb	w11, [x9, x8]
	add	x10, x10, x11, lsl #2
	br	x10
LBB0_5:
	mov	x0, x19
	bl	_validate_tcpudp6
	b	LBB0_15
LBB0_6:
Lloh12:
	adrp	x8, _ENOSPC@GOTPAGE
Lloh13:
	ldr	x8, [x8, _ENOSPC@GOTPAGEOFF]
LBB0_7:
	ldr	w8, [x8]
	neg	w20, w8
LBB0_8:
	mov	x0, x20
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
LBB0_9:
	mov	x0, x19
	bl	_validate_tcpudp4
	b	LBB0_15
LBB0_10:
Lloh14:
	adrp	x8, _EINVAL@GOTPAGE
Lloh15:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
	b	LBB0_7
LBB0_11:
Lloh16:
	adrp	x8, _ENOTSUPP@GOTPAGE
Lloh17:
	ldr	x8, [x8, _ENOTSUPP@GOTPAGEOFF]
	b	LBB0_7
LBB0_12:
	mov	x0, x19
	bl	_validate_ip6
	b	LBB0_15
LBB0_13:
	mov	x0, x19
	bl	_validate_ethter
	mov	x20, x0
	b	LBB0_16
LBB0_14:
	mov	x0, x19
	bl	_validate_ip4
LBB0_15:
	mov	x20, x0
	tbnz	w0, #31, LBB0_8
LBB0_16:
	ldr	w8, [x19, #16]
	ldr	w9, [x22]
	tst	w9, w8
	b.eq	LBB0_19
; %bb.17:
	mov	x0, x19
	bl	_validate_vlan
	tbnz	w0, #31, LBB0_21
; %bb.18:
	add	w20, w0, w20
	ldr	w8, [x19, #16]
LBB0_19:
	ldr	w9, [x21]
	tst	w9, w8
	b.eq	LBB0_8
; %bb.20:
	ldr	w0, [x19, #20]
	bl	_is_zero_ether_addr
	cmp	w0, #0
	cinc	w20, w20, eq
	b	LBB0_8
LBB0_21:
	mov	x20, x0
	b	LBB0_8
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh12, Lloh13
	.loh AdrpLdrGot	Lloh14, Lloh15
	.loh AdrpLdrGot	Lloh16, Lloh17
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_5-LBB0_5)>>2
	.byte	(LBB0_9-LBB0_5)>>2
	.byte	(LBB0_5-LBB0_5)>>2
	.byte	(LBB0_9-LBB0_5)>>2
	.byte	(LBB0_14-LBB0_5)>>2
	.byte	(LBB0_12-LBB0_5)>>2
	.byte	(LBB0_13-LBB0_5)>>2
                                        ; -- End function
	.comm	_MAX_NUM_OF_ETHTOOL_RULES,8,3   ; @MAX_NUM_OF_ETHTOOL_RULES
	.comm	_ENOSPC,4,2                     ; @ENOSPC
	.comm	_RX_CLS_FLOW_DISC,8,3           ; @RX_CLS_FLOW_DISC
	.comm	_EINVAL,4,2                     ; @EINVAL
	.comm	_FLOW_EXT,4,2                   ; @FLOW_EXT
	.comm	_FLOW_MAC_EXT,4,2               ; @FLOW_MAC_EXT
	.comm	_ENOTSUPP,4,2                   ; @ENOTSUPP
	.no_dead_strip	_validate_flow
.subsections_via_symbols
