	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function nfp_bpf_ctrl_entry_op
_nfp_bpf_ctrl_entry_op:                 ## @nfp_bpf_ctrl_entry_op
	.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	$56, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%r9, %rbx
	movl	%r8d, -84(%rbp)                 ## 4-byte Spill
	movq	%rcx, -56(%rbp)                 ## 8-byte Spill
	movq	%rdx, %r15
	movl	%esi, %r13d
	movq	%rdi, %r12
	movq	16(%rbp), %r8
	movq	8(%rdi), %rdi
	movq	8(%rdi), %r14
	leaq	-60(%rbp), %r9
	movq	%rdi, -80(%rbp)                 ## 8-byte Spill
	movq	%rbx, %rcx
	callq	_nfp_bpf_ctrl_op_cache_get
	movl	%eax, -48(%rbp)                 ## 4-byte Spill
	testl	%eax, %eax
	je	LBB0_23
## %bb.1:
	movq	%rbx, -96(%rbp)                 ## 8-byte Spill
	movq	%r14, %rdi
	movl	$1, %esi
	callq	_nfp_bpf_cmsg_map_req_alloc
	testq	%rax, %rax
	je	LBB0_2
## %bb.3:
	movq	%r14, -72(%rbp)                 ## 8-byte Spill
	movl	%r13d, -44(%rbp)                ## 4-byte Spill
	movq	%rax, %r13
	movq	8(%rax), %r14
	movq	-80(%rbp), %rax                 ## 8-byte Reload
	movl	(%rax), %edi
	callq	_cpu_to_be32
	movq	%rax, 16(%r14)
	movl	-48(%rbp), %edi                 ## 4-byte Reload
	callq	_cpu_to_be32
	movq	%rax, 8(%r14)
	movl	-84(%rbp), %edi                 ## 4-byte Reload
	callq	_cpu_to_be32
	movq	%rax, (%r14)
	testq	%r15, %r15
	je	LBB0_5
## %bb.4:
	movq	-72(%rbp), %rdi                 ## 8-byte Reload
	movq	%r14, %rsi
	xorl	%edx, %edx
	callq	_nfp_bpf_ctrl_req_key
	movl	4(%r12), %edx
	movq	%rax, %rdi
	movq	%r15, %rsi
	callq	_memcpy
LBB0_5:
	movq	-56(%rbp), %rbx                 ## 8-byte Reload
	testq	%rbx, %rbx
	movq	-72(%rbp), %r15                 ## 8-byte Reload
	je	LBB0_7
## %bb.6:
	movq	%r15, %rdi
	movq	%r14, %rsi
	xorl	%edx, %edx
	callq	_nfp_bpf_ctrl_req_val
	movl	(%r12), %edx
	movq	%rax, %rdi
	movq	%rbx, %rsi
	callq	_memcpy
LBB0_7:
	movq	%r15, %rdi
	movq	%r13, %rsi
	movl	-44(%rbp), %r13d                ## 4-byte Reload
	movl	%r13d, %edx
	xorl	%ecx, %ecx
	callq	_nfp_ccm_communicate
	movq	%rax, %rbx
	movq	%rax, %rdi
	callq	_IS_ERR
	testq	%rax, %rax
	je	LBB0_10
## %bb.8:
	movq	%rbx, %rdi
	callq	_PTR_ERR
	movl	%eax, %r14d
	jmp	LBB0_9
LBB0_2:
	movq	_ENOMEM@GOTPCREL(%rip), %rax
	xorl	%r14d, %r14d
	subl	(%rax), %r14d
	jmp	LBB0_9
LBB0_10:
	movl	(%rbx), %ecx
	cmpl	$7, %ecx
	movq	%rbx, -56(%rbp)                 ## 8-byte Spill
	ja	LBB0_14
## %bb.11:
	leaq	L_.str(%rip), %rsi
	xorl	%r14d, %r14d
	movq	%r15, %rdi
	movl	%r13d, %edx
	xorl	%eax, %eax
	callq	_cmsg_warn
LBB0_12:
	movq	_EIO@GOTPCREL(%rip), %rax
	subl	(%rax), %r14d
	jmp	LBB0_13
LBB0_14:
	movq	8(%rbx), %rbx
	movl	4(%rbx), %edi
	callq	_be32_to_cpu
	movl	%eax, %r13d
	movq	%r15, %rdi
	movq	%rbx, %rsi
	callq	_nfp_bpf_ctrl_rc_to_errno
	movl	%eax, %r14d
	cmpl	$1, %eax
	movl	%r13d, %r15d
	sbbl	$-1, %r15d
	cmpl	$2, -48(%rbp)                   ## 4-byte Folded Reload
	setae	%al
	testl	%r13d, %r13d
	setne	%cl
	testb	%cl, %al
	jne	LBB0_16
## %bb.15:
	testl	%r14d, %r14d
	je	LBB0_16
LBB0_13:
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	callq	_dev_kfree_skb_any
	movl	-44(%rbp), %r13d                ## 4-byte Reload
LBB0_9:
	movl	-60(%rbp), %ecx
	movq	-80(%rbp), %rdi                 ## 8-byte Reload
	movl	%r13d, %esi
	xorl	%edx, %edx
	callq	_nfp_bpf_ctrl_op_cache_put
	jmp	LBB0_24
LBB0_16:
	movq	-56(%rbp), %r14                 ## 8-byte Reload
	movl	(%r14), %eax
	movl	%eax, -48(%rbp)                 ## 4-byte Spill
	movq	-72(%rbp), %r13                 ## 8-byte Reload
	movq	%r13, %rdi
	movl	%r15d, %esi
	callq	_nfp_bpf_cmsg_map_reply_size
	cmpl	%eax, -48(%rbp)                 ## 4-byte Folded Reload
	jne	LBB0_17
## %bb.18:
	movq	-96(%rbp), %r15                 ## 8-byte Reload
	testq	%r15, %r15
	je	LBB0_20
## %bb.19:
	movq	%r13, %rdi
	movq	%rbx, %rsi
	xorl	%edx, %edx
	callq	_nfp_bpf_ctrl_reply_key
	movl	4(%r12), %edx
	movq	%r15, %rdi
	movq	%rax, %rsi
	callq	_memcpy
LBB0_20:
	movq	16(%rbp), %r15
	testq	%r15, %r15
	je	LBB0_22
## %bb.21:
	movq	%r13, %rdi
	movq	%rbx, %rsi
	xorl	%edx, %edx
	callq	_nfp_bpf_ctrl_reply_val
	movl	(%r12), %edx
	movq	%r15, %rdi
	movq	%rax, %rsi
	callq	_memcpy
LBB0_22:
	movl	-60(%rbp), %ecx
	movq	-80(%rbp), %rdi                 ## 8-byte Reload
	movl	-44(%rbp), %esi                 ## 4-byte Reload
	movq	-56(%rbp), %rdx                 ## 8-byte Reload
	callq	_nfp_bpf_ctrl_op_cache_put
LBB0_23:
	xorl	%r14d, %r14d
LBB0_24:
	movl	%r14d, %eax
	addq	$56, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_17:
	movl	(%r14), %ecx
	leaq	L_.str.1(%rip), %rsi
	xorl	%r14d, %r14d
	movq	%r13, %rdi
	movl	-44(%rbp), %edx                 ## 4-byte Reload
	movl	%r15d, %r8d
	xorl	%eax, %eax
	callq	_cmsg_warn
	jmp	LBB0_12
	.cfi_endproc
                                        ## -- End function
	.comm	_EOPNOTSUPP,4,2                 ## @EOPNOTSUPP
	.comm	_ENOMEM,4,2                     ## @ENOMEM
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"cmsg drop - type 0x%02x too short %d!\n"

	.comm	_EIO,4,2                        ## @EIO
L_.str.1:                               ## @.str.1
	.asciz	"cmsg drop - type 0x%02x too short %d for %d entries!\n"

	.no_dead_strip	_nfp_bpf_ctrl_entry_op
.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_entry_op
_nfp_bpf_ctrl_entry_op:                 ; @nfp_bpf_ctrl_entry_op
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #128
	.cfi_def_cfa_offset 128
	stp	x28, x27, [sp, #32]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #48]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #64]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #80]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #96]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #112]            ; 16-byte Folded Spill
	add	x29, sp, #112
	.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
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	mov	x24, x6
	mov	x27, x5
	mov	x21, x4
	mov	x25, x3
	mov	x28, x2
	mov	x19, x1
	mov	x23, x0
	ldr	x20, [x0, #8]
	ldr	x22, [x20, #8]
	add	x5, sp, #28
	mov	x0, x20
	mov	x3, x27
	mov	x4, x6
	bl	_nfp_bpf_ctrl_op_cache_get
	cbz	w0, LBB0_19
; %bb.1:
	mov	x26, x0
	str	x27, [sp, #16]                  ; 8-byte Folded Spill
	mov	x0, x22
	mov	w1, #1
	bl	_nfp_bpf_cmsg_map_req_alloc
	cbz	x0, LBB0_8
; %bb.2:
	mov	x27, x0
	str	x24, [sp, #8]                   ; 8-byte Folded Spill
	ldr	x24, [x0, #8]
	ldr	w0, [x20]
	bl	_cpu_to_be32
	str	x0, [x24, #16]
	mov	x0, x26
	bl	_cpu_to_be32
	str	x0, [x24, #8]
	mov	x0, x21
	bl	_cpu_to_be32
	str	x0, [x24]
	cbz	x28, LBB0_4
; %bb.3:
	mov	x0, x22
	mov	x1, x24
	mov	w2, #0
	bl	_nfp_bpf_ctrl_req_key
	ldr	w2, [x23, #4]
	mov	x1, x28
	bl	_memcpy
LBB0_4:
	cbz	x25, LBB0_6
; %bb.5:
	mov	x0, x22
	mov	x1, x24
	mov	w2, #0
	bl	_nfp_bpf_ctrl_req_val
	ldr	w2, [x23]
	mov	x1, x25
	bl	_memcpy
LBB0_6:
	mov	x0, x22
	mov	x1, x27
	mov	x2, x19
	mov	w3, #0
	bl	_nfp_ccm_communicate
	mov	x25, x0
	bl	_IS_ERR
	cbz	x0, LBB0_9
; %bb.7:
	mov	x0, x25
	bl	_PTR_ERR
	mov	x28, x0
	b	LBB0_21
LBB0_8:
Lloh0:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh1:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	neg	w28, w8
	b	LBB0_21
LBB0_9:
	ldr	w3, [x25]
	cmp	w3, #7
	b.hi	LBB0_12
; %bb.10:
Lloh3:
	adrp	x1, l_.str@PAGE
Lloh4:
	add	x1, x1, l_.str@PAGEOFF
LBB0_11:
	mov	x0, x22
	mov	x2, x19
	bl	_cmsg_warn
Lloh5:
	adrp	x8, _EIO@GOTPAGE
Lloh6:
	ldr	x8, [x8, _EIO@GOTPAGEOFF]
Lloh7:
	ldr	w8, [x8]
	neg	w28, w8
	b	LBB0_20
LBB0_12:
	ldr	x27, [x25, #8]
	ldr	w0, [x27, #4]
	bl	_be32_to_cpu
	mov	x24, x0
	mov	x0, x22
	mov	x1, x27
	bl	_nfp_bpf_ctrl_rc_to_errno
	mov	x28, x0
	cmp	w0, #0
	cinc	w21, w24, ne
	cmp	w24, #0
	ccmp	w26, #1, #0, ne
	ccmp	w0, #0, #4, ls
	b.ne	LBB0_20
; %bb.13:
	ldr	w24, [x25]
	mov	x0, x22
	mov	x1, x21
	bl	_nfp_bpf_cmsg_map_reply_size
	cmp	w24, w0
	b.ne	LBB0_23
; %bb.14:
	ldr	x21, [sp, #16]                  ; 8-byte Folded Reload
	cbz	x21, LBB0_16
; %bb.15:
	mov	x0, x22
	mov	x1, x27
	mov	w2, #0
	bl	_nfp_bpf_ctrl_reply_key
	mov	x1, x0
	ldr	w2, [x23, #4]
	mov	x0, x21
	bl	_memcpy
LBB0_16:
	ldr	x21, [sp, #8]                   ; 8-byte Folded Reload
	cbz	x21, LBB0_18
; %bb.17:
	mov	x0, x22
	mov	x1, x27
	mov	w2, #0
	bl	_nfp_bpf_ctrl_reply_val
	mov	x1, x0
	ldr	w2, [x23]
	mov	x0, x21
	bl	_memcpy
LBB0_18:
	ldr	w3, [sp, #28]
	mov	x0, x20
	mov	x1, x19
	mov	x2, x25
	bl	_nfp_bpf_ctrl_op_cache_put
LBB0_19:
	mov	w28, #0
	b	LBB0_22
LBB0_20:
	mov	x0, x25
	bl	_dev_kfree_skb_any
LBB0_21:
	ldr	w3, [sp, #28]
	mov	x0, x20
	mov	x1, x19
	mov	x2, #0
	bl	_nfp_bpf_ctrl_op_cache_put
LBB0_22:
	mov	x0, x28
	ldp	x29, x30, [sp, #112]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #96]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #80]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #64]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #48]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #128
	ret
LBB0_23:
	ldr	w3, [x25]
	str	x21, [sp]
Lloh8:
	adrp	x1, l_.str.1@PAGE
Lloh9:
	add	x1, x1, l_.str.1@PAGEOFF
	b	LBB0_11
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpAdd	Lloh8, Lloh9
	.cfi_endproc
                                        ; -- End function
	.comm	_EOPNOTSUPP,4,2                 ; @EOPNOTSUPP
	.comm	_ENOMEM,4,2                     ; @ENOMEM
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"cmsg drop - type 0x%02x too short %d!\n"

	.comm	_EIO,4,2                        ; @EIO
l_.str.1:                               ; @.str.1
	.asciz	"cmsg drop - type 0x%02x too short %d for %d entries!\n"

	.no_dead_strip	_nfp_bpf_ctrl_entry_op
.subsections_via_symbols
