	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function nfp_bpf_ctrl_op_cache_put
_nfp_bpf_ctrl_op_cache_put:             ## @nfp_bpf_ctrl_op_cache_put
	.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
	subq	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rcx, %r15
	movq	%rdx, %r14
	movl	%esi, %ebx
	movq	%rdi, %r12
	movl	%esi, %edi
	callq	_nfp_bpf_ctrl_op_cache_invalidate
	movl	%eax, %r13d
	movl	%ebx, %edi
	callq	_nfp_bpf_ctrl_op_cache_fill
	movl	%eax, %ebx
	movl	%r13d, %eax
	orl	%ebx, %eax
	je	LBB0_11
## %bb.1:
	testl	%ebx, %ebx
	movq	%r15, -56(%rbp)                 ## 8-byte Spill
	je	LBB0_2
## %bb.3:
	xorl	%eax, %eax
	callq	_ktime_get_ns
	movq	_NFP_BPF_MAP_CACHE_TIME_NS@GOTPCREL(%rip), %rcx
	addq	(%rcx), %rax
	jmp	LBB0_4
LBB0_2:
	xorl	%eax, %eax
LBB0_4:
	movq	%rax, -48(%rbp)                 ## 8-byte Spill
	leaq	8(%r12), %r15
	movq	%r15, %rdi
	callq	_spin_lock
	testl	%r13d, %r13d
	je	LBB0_6
## %bb.5:
	decl	24(%r12)
	incq	(%r12)
LBB0_6:
	testl	%ebx, %ebx
	je	LBB0_10
## %bb.7:
	cmpl	$0, 24(%r12)
	jne	LBB0_10
## %bb.8:
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	cmpq	%rax, (%r12)
	jne	LBB0_10
## %bb.9:
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	movq	%rax, 16(%r12)
	movl	12(%r12), %edi
	movq	%r14, %rsi
	callq	_swap
LBB0_10:
	movq	%r15, %rdi
	callq	_spin_unlock
LBB0_11:
	movq	%r14, %rdi
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_dev_consume_skb_any            ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_NFP_BPF_MAP_CACHE_TIME_NS,8,3  ## @NFP_BPF_MAP_CACHE_TIME_NS
	.no_dead_strip	_nfp_bpf_ctrl_op_cache_put
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function nfp_bpf_ctrl_op_cache_put
_nfp_bpf_ctrl_op_cache_put:             ; @nfp_bpf_ctrl_op_cache_put
	.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
	mov	x21, x3
	mov	x19, x2
	mov	x22, x1
	mov	x20, x0
	mov	x0, x1
	bl	_nfp_bpf_ctrl_op_cache_invalidate
	mov	x24, x0
	mov	x0, x22
	bl	_nfp_bpf_ctrl_op_cache_fill
	orr	w8, w24, w0
	cbz	w8, LBB0_11
; %bb.1:
	mov	x22, x0
	cbz	w0, LBB0_3
; %bb.2:
	bl	_ktime_get_ns
Lloh0:
	adrp	x8, _NFP_BPF_MAP_CACHE_TIME_NS@GOTPAGE
Lloh1:
	ldr	x8, [x8, _NFP_BPF_MAP_CACHE_TIME_NS@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	add	x25, x8, x0
	b	LBB0_4
LBB0_3:
	mov	x25, #0
LBB0_4:
	add	x23, x20, #8
	mov	x0, x23
	bl	_spin_lock
	cbz	w24, LBB0_6
; %bb.5:
	ldr	w8, [x20, #24]
	sub	w8, w8, #1
	str	w8, [x20, #24]
	ldr	x8, [x20]
	add	x8, x8, #1
	str	x8, [x20]
LBB0_6:
	cbz	w22, LBB0_10
; %bb.7:
	ldr	w8, [x20, #24]
	cbnz	w8, LBB0_10
; %bb.8:
	ldr	x8, [x20]
	cmp	x8, x21
	b.ne	LBB0_10
; %bb.9:
	str	x25, [x20, #16]
	ldr	w0, [x20, #12]
	mov	x1, x19
	bl	_swap
LBB0_10:
	mov	x0, x23
	bl	_spin_unlock
LBB0_11:
	mov	x0, x19
	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
	b	_dev_consume_skb_any
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_NFP_BPF_MAP_CACHE_TIME_NS,8,3  ; @NFP_BPF_MAP_CACHE_TIME_NS
	.no_dead_strip	_nfp_bpf_ctrl_op_cache_put
.subsections_via_symbols
