	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function qede_enqueue_fltr_and_config_searcher
_qede_enqueue_fltr_and_config_searcher: ## @qede_enqueue_fltr_and_config_searcher
	.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
	movl	%edx, %r15d
	movq	%rsi, %r14
	movq	%rdi, %r12
	movq	24(%rdi), %rdi
	movl	16(%rsi), %edx
	movl	20(%rsi), %esi
	movq	_DMA_TO_DEVICE@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	callq	_dma_map_single
	movl	%eax, 12(%r14)
	movq	24(%r12), %rdi
	movl	%eax, %esi
	callq	_dma_mapping_error
	testq	%rax, %rax
	je	LBB0_2
## %bb.1:
	leaq	L_.str(%rip), %rsi
	movq	%r12, %rdi
	callq	_DP_NOTICE
	movq	%r12, %rdi
	movq	%r14, %rsi
	callq	_qede_free_arfs_filter
	movq	_ENOMEM@GOTPCREL(%rip), %rax
	xorl	%ebx, %ebx
	subl	(%rax), %ebx
	jmp	LBB0_5
LBB0_2:
	leaq	8(%r14), %rbx
	movq	%rbx, %rdi
	callq	_INIT_HLIST_NODE
	movq	%r12, %rdi
	movl	%r15d, %esi
	callq	_QEDE_ARFS_BUCKET_HEAD
	movq	%rbx, %rdi
	movl	%eax, %esi
	callq	_hlist_add_head
	movq	(%r12), %rax
	movl	(%rax), %ecx
	leal	1(%rcx), %edx
	movl	%edx, (%rax)
	xorl	%ebx, %ebx
	testl	%ecx, %ecx
	jne	LBB0_5
## %bb.3:
	movq	8(%rax), %rax
	movq	_QED_FILTER_CONFIG_MODE_DISABLE@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_5
## %bb.4:
	movq	16(%r12), %rax
	movl	8(%r12), %edi
	movq	(%r14), %rsi
	callq	*(%rax)
	movq	(%r14), %rax
	movq	(%r12), %rcx
	movq	%rax, 8(%rcx)
LBB0_5:
	movl	%ebx, %eax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_DMA_TO_DEVICE,4,2              ## @DMA_TO_DEVICE
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Failed to map DMA memory for rule\n"

	.comm	_ENOMEM,4,2                     ## @ENOMEM
	.comm	_QED_FILTER_CONFIG_MODE_DISABLE,8,3 ## @QED_FILTER_CONFIG_MODE_DISABLE
	.no_dead_strip	_qede_enqueue_fltr_and_config_searcher
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function qede_enqueue_fltr_and_config_searcher
_qede_enqueue_fltr_and_config_searcher: ; @qede_enqueue_fltr_and_config_searcher
	.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	x21, x2
	mov	x19, x1
	mov	x20, x0
	ldr	x0, [x0, #24]
	ldr	w1, [x1, #20]
	ldr	w2, [x19, #16]
Lloh0:
	adrp	x8, _DMA_TO_DEVICE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _DMA_TO_DEVICE@GOTPAGEOFF]
Lloh2:
	ldr	w3, [x8]
	bl	_dma_map_single
	mov	x1, x0
	str	w0, [x19, #12]
	ldr	x0, [x20, #24]
	bl	_dma_mapping_error
	cbz	x0, LBB0_2
; %bb.1:
Lloh3:
	adrp	x1, l_.str@PAGE
Lloh4:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x20
	bl	_DP_NOTICE
	mov	x0, x20
	mov	x1, x19
	bl	_qede_free_arfs_filter
Lloh5:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh6:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh7:
	ldr	w8, [x8]
	neg	w0, w8
	b	LBB0_6
LBB0_2:
	add	x22, x19, #8
	mov	x0, x22
	bl	_INIT_HLIST_NODE
	mov	x0, x20
	mov	x1, x21
	bl	_QEDE_ARFS_BUCKET_HEAD
	mov	x1, x0
	mov	x0, x22
	bl	_hlist_add_head
	ldr	x8, [x20]
	ldr	w9, [x8]
	add	w10, w9, #1
	str	w10, [x8]
	cbnz	w9, LBB0_5
; %bb.3:
	ldr	x8, [x8, #8]
Lloh8:
	adrp	x9, _QED_FILTER_CONFIG_MODE_DISABLE@GOTPAGE
Lloh9:
	ldr	x9, [x9, _QED_FILTER_CONFIG_MODE_DISABLE@GOTPAGEOFF]
Lloh10:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_5
; %bb.4:
	ldr	x8, [x20, #16]
	ldr	x8, [x8]
	ldr	w0, [x20, #8]
	ldr	x1, [x19]
	blr	x8
	mov	w0, #0
	ldr	x8, [x19]
	ldr	x9, [x20]
	str	x8, [x9, #8]
	b	LBB0_6
LBB0_5:
	mov	w0, #0
LBB0_6:
	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
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.cfi_endproc
                                        ; -- End function
	.comm	_DMA_TO_DEVICE,4,2              ; @DMA_TO_DEVICE
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Failed to map DMA memory for rule\n"

	.comm	_ENOMEM,4,2                     ; @ENOMEM
	.comm	_QED_FILTER_CONFIG_MODE_DISABLE,8,3 ; @QED_FILTER_CONFIG_MODE_DISABLE
	.no_dead_strip	_qede_enqueue_fltr_and_config_searcher
.subsections_via_symbols
