	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function qede_flow_spec_validate
_qede_flow_spec_validate:               ## @qede_flow_spec_validate
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r14
	movq	_QEDE_RFS_MAX_FLTR@GOTPCREL(%rip), %rax
	cmpq	%rcx, (%rax)
	jle	LBB0_3
## %bb.1:
	movq	%rdx, %rbx
	movq	%rsi, %r15
	movq	(%r14), %rax
	movl	16(%rax), %esi
	movq	%rcx, %rdi
	callq	_test_bit
	testq	%rax, %rax
	je	LBB0_8
## %bb.2:
	leaq	L_.str.1(%rip), %rsi
	jmp	LBB0_4
LBB0_3:
	leaq	L_.str(%rip), %rsi
LBB0_4:
	xorl	%ebx, %ebx
	movq	%r14, %rdi
	xorl	%eax, %eax
	callq	_DP_INFO
LBB0_5:
	movq	_EINVAL@GOTPCREL(%rip), %rax
LBB0_6:
	subl	(%rax), %ebx
LBB0_7:
	movl	%ebx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_8:
	movq	(%r14), %rax
	movq	8(%rax), %rcx
	testq	%rcx, %rcx
	je	LBB0_10
## %bb.9:
	movq	(%rbx), %rdx
	cmpq	%rdx, (%rax)
	jne	LBB0_12
LBB0_10:
	movq	%r14, %rdi
	movq	%r15, %rsi
	callq	_qede_parse_actions
	testq	%rax, %rax
	je	LBB0_13
## %bb.11:
	movq	_EINVAL@GOTPCREL(%rip), %rax
	xorl	%ebx, %ebx
	jmp	LBB0_6
LBB0_12:
	leaq	L_.str.2(%rip), %rsi
	xorl	%ebx, %ebx
	movq	%r14, %rdi
	xorl	%eax, %eax
	callq	_DP_INFO
	jmp	LBB0_5
LBB0_13:
	xorl	%ebx, %ebx
	jmp	LBB0_7
	.cfi_endproc
                                        ## -- End function
	.comm	_QEDE_RFS_MAX_FLTR,8,3          ## @QEDE_RFS_MAX_FLTR
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Location out-of-bounds\n"

	.comm	_EINVAL,4,2                     ## @EINVAL
L_.str.1:                               ## @.str.1
	.asciz	"Location already in use\n"

L_.str.2:                               ## @.str.2
	.asciz	"flow_spec would require filtering mode %08x, but %08x is configured\n"

	.no_dead_strip	_qede_flow_spec_validate
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function qede_flow_spec_validate
_qede_flow_spec_validate:               ; @qede_flow_spec_validate
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.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
	mov	x19, x0
Lloh0:
	adrp	x8, _QEDE_RFS_MAX_FLTR@GOTPAGE
Lloh1:
	ldr	x8, [x8, _QEDE_RFS_MAX_FLTR@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	cmp	x8, x3
	b.le	LBB0_3
; %bb.1:
	mov	x21, x2
	mov	x20, x1
	ldr	x8, [x19]
	ldr	w1, [x8, #16]
	mov	x0, x3
	bl	_test_bit
	cbz	x0, LBB0_7
; %bb.2:
Lloh3:
	adrp	x1, l_.str.1@PAGE
Lloh4:
	add	x1, x1, l_.str.1@PAGEOFF
	b	LBB0_4
LBB0_3:
Lloh5:
	adrp	x1, l_.str@PAGE
Lloh6:
	add	x1, x1, l_.str@PAGEOFF
LBB0_4:
	mov	x0, x19
	bl	_DP_INFO
LBB0_5:
Lloh7:
	adrp	x8, _EINVAL@GOTPAGE
Lloh8:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh9:
	ldr	w8, [x8]
	neg	w0, w8
LBB0_6:
	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
	add	sp, sp, #64
	ret
LBB0_7:
	ldr	x9, [x19]
	ldr	x8, [x9, #8]
	cbz	x8, LBB0_9
; %bb.8:
	ldr	x10, [x9]
	ldr	x9, [x21]
	cmp	x10, x9
	b.ne	LBB0_10
LBB0_9:
	mov	x0, x19
	mov	x1, x20
	bl	_qede_parse_actions
	cbnz	x0, LBB0_5
	b	LBB0_6
LBB0_10:
	stp	x9, x8, [sp]
Lloh10:
	adrp	x1, l_.str.2@PAGE
Lloh11:
	add	x1, x1, l_.str.2@PAGEOFF
	b	LBB0_4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpAdd	Lloh10, Lloh11
	.cfi_endproc
                                        ; -- End function
	.comm	_QEDE_RFS_MAX_FLTR,8,3          ; @QEDE_RFS_MAX_FLTR
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Location out-of-bounds\n"

	.comm	_EINVAL,4,2                     ; @EINVAL
l_.str.1:                               ; @.str.1
	.asciz	"Location already in use\n"

l_.str.2:                               ; @.str.2
	.asciz	"flow_spec would require filtering mode %08x, but %08x is configured\n"

	.no_dead_strip	_qede_flow_spec_validate
.subsections_via_symbols
