	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_nfp_bpf_ctrl_msg_rx_raw        ## -- Begin function nfp_bpf_ctrl_msg_rx_raw
	.p2align	4, 0x90
_nfp_bpf_ctrl_msg_rx_raw:               ## @nfp_bpf_ctrl_msg_rx_raw
	.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
	movl	%edx, %ebx
	movq	%rsi, %r15
	movq	(%rdi), %r14
	xorl	%edi, %edi
	cmpl	$4, %edx
	setb	%dil
	callq	_unlikely
	testq	%rax, %rax
	je	LBB0_2
## %bb.1:
	leaq	L_.str(%rip), %rsi
	movq	%r14, %rdi
	movl	%ebx, %edx
	jmp	LBB0_4
LBB0_2:
	movl	(%r15), %edx
	movq	_NFP_CCM_TYPE_BPF_BPF_EVENT@GOTPCREL(%rip), %rax
	cmpl	(%rax), %edx
	jne	LBB0_3
## %bb.5:
	movq	%r14, %rdi
	movq	%r15, %rsi
	movl	%ebx, %edx
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_nfp_bpf_event_output           ## TAILCALL
LBB0_3:
	leaq	L_.str.1(%rip), %rsi
	movq	%r14, %rdi
LBB0_4:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_cmsg_warn                      ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"cmsg drop - too short %d!\n"

	.comm	_NFP_CCM_TYPE_BPF_BPF_EVENT,4,2 ## @NFP_CCM_TYPE_BPF_BPF_EVENT
L_.str.1:                               ## @.str.1
	.asciz	"cmsg drop - msg type %d with raw buffer!\n"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_nfp_bpf_ctrl_msg_rx_raw        ; -- Begin function nfp_bpf_ctrl_msg_rx_raw
	.p2align	2
_nfp_bpf_ctrl_msg_rx_raw:               ; @nfp_bpf_ctrl_msg_rx_raw
	.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	x19, x2
	mov	x21, x1
	ldr	x20, [x0]
	cmp	w2, #4
	cset	w0, lo
	bl	_unlikely
	cbz	x0, LBB0_2
; %bb.1:
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x20
	mov	x2, x19
	b	LBB0_5
LBB0_2:
	ldr	w2, [x21]
Lloh2:
	adrp	x8, _NFP_CCM_TYPE_BPF_BPF_EVENT@GOTPAGE
Lloh3:
	ldr	x8, [x8, _NFP_CCM_TYPE_BPF_BPF_EVENT@GOTPAGEOFF]
Lloh4:
	ldr	w8, [x8]
	cmp	w2, w8
	b.ne	LBB0_4
; %bb.3:
	mov	x0, x20
	mov	x1, x21
	mov	x2, x19
	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
	b	_nfp_bpf_event_output
LBB0_4:
Lloh5:
	adrp	x1, l_.str.1@PAGE
Lloh6:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x0, x20
LBB0_5:
	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
	b	_cmsg_warn
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpAdd	Lloh5, Lloh6
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"cmsg drop - too short %d!\n"

	.comm	_NFP_CCM_TYPE_BPF_BPF_EVENT,4,2 ; @NFP_CCM_TYPE_BPF_BPF_EVENT
l_.str.1:                               ; @.str.1
	.asciz	"cmsg drop - msg type %d with raw buffer!\n"

.subsections_via_symbols
