	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_nfp_bpf_ctrl_free_map          ## -- Begin function nfp_bpf_ctrl_free_map
	.p2align	4, 0x90
_nfp_bpf_ctrl_free_map:                 ## @nfp_bpf_ctrl_free_map
	.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	%rdi, %r15
	movl	$4, %esi
	callq	_nfp_bpf_cmsg_alloc
	testq	%rax, %rax
	je	LBB0_1
## %bb.3:
	movq	%rax, %rbx
	movq	(%rax), %r12
	movl	(%r14), %edi
	callq	_cpu_to_be32
	movl	%eax, (%r12)
	movq	_NFP_CCM_TYPE_BPF_MAP_FREE@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r15, %rdi
	movq	%rbx, %rsi
	movl	$4, %ecx
	callq	_nfp_ccm_communicate
	movq	%rax, %r14
	movq	%rax, %rdi
	callq	_IS_ERR
	testq	%rax, %rax
	je	LBB0_5
## %bb.4:
	leaq	L_.str.1(%rip), %rsi
	jmp	LBB0_2
LBB0_1:
	leaq	L_.str(%rip), %rsi
LBB0_2:
	movq	%r15, %rdi
	xorl	%eax, %eax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_cmsg_warn                      ## TAILCALL
LBB0_5:
	movq	(%r14), %rsi
	movq	%r15, %rdi
	callq	_nfp_bpf_ctrl_rc_to_errno
	testl	%eax, %eax
	je	LBB0_7
## %bb.6:
	leaq	L_.str.2(%rip), %rsi
	movq	%r15, %rdi
	movl	%eax, %edx
	xorl	%eax, %eax
	callq	_cmsg_warn
LBB0_7:
	movq	%r14, %rdi
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_dev_consume_skb_any            ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"leaking map - failed to allocate msg\n"

	.comm	_NFP_CCM_TYPE_BPF_MAP_FREE,4,2  ## @NFP_CCM_TYPE_BPF_MAP_FREE
L_.str.1:                               ## @.str.1
	.asciz	"leaking map - I/O error\n"

L_.str.2:                               ## @.str.2
	.asciz	"leaking map - FW responded with: %d\n"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_nfp_bpf_ctrl_free_map          ; -- Begin function nfp_bpf_ctrl_free_map
	.p2align	2
_nfp_bpf_ctrl_free_map:                 ; @nfp_bpf_ctrl_free_map
	.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	x21, x1
	mov	x19, x0
	mov	w1, #4
	bl	_nfp_bpf_cmsg_alloc
	cbz	x0, LBB0_3
; %bb.1:
	mov	x20, x0
	ldr	x22, [x0]
	ldr	w0, [x21]
	bl	_cpu_to_be32
	str	w0, [x22]
Lloh0:
	adrp	x8, _NFP_CCM_TYPE_BPF_MAP_FREE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _NFP_CCM_TYPE_BPF_MAP_FREE@GOTPAGEOFF]
Lloh2:
	ldr	w2, [x8]
	mov	x0, x19
	mov	x1, x20
	mov	w3, #4
	bl	_nfp_ccm_communicate
	mov	x20, x0
	bl	_IS_ERR
	cbz	x0, LBB0_5
; %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
	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
	b	_cmsg_warn
LBB0_5:
	ldr	x1, [x20]
	mov	x0, x19
	bl	_nfp_bpf_ctrl_rc_to_errno
                                        ; kill: def $w0 killed $w0 def $x0
	cbz	w0, LBB0_7
; %bb.6:
	str	x0, [sp]
Lloh7:
	adrp	x1, l_.str.2@PAGE
Lloh8:
	add	x1, x1, l_.str.2@PAGEOFF
	mov	x0, x19
	bl	_cmsg_warn
LBB0_7:
	mov	x0, x20
	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
	b	_dev_consume_skb_any
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpAdd	Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"leaking map - failed to allocate msg\n"

	.comm	_NFP_CCM_TYPE_BPF_MAP_FREE,4,2  ; @NFP_CCM_TYPE_BPF_MAP_FREE
l_.str.1:                               ; @.str.1
	.asciz	"leaking map - I/O error\n"

l_.str.2:                               ; @.str.2
	.asciz	"leaking map - FW responded with: %d\n"

.subsections_via_symbols
