	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function nfp_flower_cmsg_merge_hint_rx
_nfp_flower_cmsg_merge_hint_rx:         ## @nfp_flower_cmsg_merge_hint_rx
	.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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %rbx
	movq	%rdi, %r14
	movq	%rsi, %rdi
	callq	_nfp_flower_cmsg_get_data_len
	movl	%eax, %r15d
	movq	%rbx, %rdi
	callq	_nfp_flower_cmsg_get_data
	movq	%rax, %r12
	movl	(%rax), %ebx
	incl	%ebx
	movq	_flow@GOTPCREL(%rip), %r13
	movl	(%r13), %esi
	movq	%rax, %rdi
	movl	%ebx, %edx
	callq	_struct_size
	cmpl	%eax, %r15d
	jae	LBB0_1
## %bb.8:
	movl	(%r13), %esi
	movq	%r12, %rdi
	movl	%ebx, %edx
	callq	_struct_size
	leaq	L_.str(%rip), %rsi
	movq	%r14, %rdi
	movl	%r15d, %edx
	movl	%eax, %ecx
	xorl	%eax, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_nfp_flower_cmsg_warn           ## TAILCALL
LBB0_1:
	cmpl	$2, %ebx
	jne	LBB0_9
## %bb.2:
	xorl	%eax, %eax
	callq	_rtnl_lock
	movq	8(%r12), %rax
	movl	(%rax), %edi
	callq	_be32_to_cpu
	movq	%r14, %rdi
	movl	%eax, %esi
	callq	_nfp_flower_get_fl_payload_from_ctx
	leaq	L_.str.2(%rip), %r15
	testq	%rax, %rax
	je	LBB0_6
## %bb.3:
	movq	%rax, %rbx
	movq	8(%r12), %rax
	movl	4(%rax), %edi
	callq	_be32_to_cpu
	movq	%r14, %rdi
	movl	%eax, %esi
	callq	_nfp_flower_get_fl_payload_from_ctx
	testq	%rax, %rax
	je	LBB0_6
## %bb.4:
	movq	%r14, %rdi
	movq	%rbx, %rsi
	movq	%rax, %rdx
	callq	_nfp_flower_merge_offloaded_flows
	movq	_ENOMEM@GOTPCREL(%rip), %rcx
	addl	(%rcx), %eax
	jne	LBB0_7
## %bb.5:
	leaq	L_.str.3(%rip), %r15
LBB0_6:
	movq	%r14, %rdi
	movq	%r15, %rsi
	xorl	%eax, %eax
	callq	_nfp_flower_cmsg_warn
LBB0_7:
	xorl	%eax, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_rtnl_unlock                    ## TAILCALL
LBB0_9:
	leaq	L_.str.1(%rip), %rsi
	movq	%r14, %rdi
	movl	%ebx, %edx
	xorl	%eax, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_nfp_flower_cmsg_warn           ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_flow,4,2                       ## @flow
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Merge hint ctrl msg too short - %d bytes but expect %zd\n"

L_.str.1:                               ## @.str.1
	.asciz	"Merge hint contains %d flows - two are expected\n"

L_.str.2:                               ## @.str.2
	.asciz	"Invalid flow in merge hint\n"

	.comm	_ENOMEM,4,2                     ## @ENOMEM
L_.str.3:                               ## @.str.3
	.asciz	"Flow merge memory fail.\n"

	.no_dead_strip	_nfp_flower_cmsg_merge_hint_rx
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function nfp_flower_cmsg_merge_hint_rx
_nfp_flower_cmsg_merge_hint_rx:         ; @nfp_flower_cmsg_merge_hint_rx
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.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
	mov	x20, x1
	mov	x19, x0
	mov	x0, x1
	bl	_nfp_flower_cmsg_get_data_len
	mov	x21, x0
	mov	x0, x20
	bl	_nfp_flower_cmsg_get_data
	mov	x20, x0
	ldr	w8, [x0]
	add	w22, w8, #1
Lloh0:
	adrp	x23, _flow@GOTPAGE
Lloh1:
	ldr	x23, [x23, _flow@GOTPAGEOFF]
	ldr	w1, [x23]
	mov	x0, x20
	mov	x2, x22
	bl	_struct_size
	cmp	w21, w0
	b.hs	LBB0_2
; %bb.1:
	ldr	w1, [x23]
	mov	x0, x20
	mov	x2, x22
	bl	_struct_size
                                        ; kill: def $w0 killed $w0 def $x0
	stp	x21, x0, [sp]
Lloh2:
	adrp	x1, l_.str@PAGE
Lloh3:
	add	x1, x1, l_.str@PAGEOFF
	b	LBB0_8
LBB0_2:
	cmp	w22, #2
	b.ne	LBB0_7
; %bb.3:
	bl	_rtnl_lock
	ldr	x8, [x20, #8]
	ldr	w0, [x8]
	bl	_be32_to_cpu
	mov	x1, x0
	mov	x0, x19
	bl	_nfp_flower_get_fl_payload_from_ctx
	cbz	x0, LBB0_9
; %bb.4:
	mov	x21, x0
	ldr	x8, [x20, #8]
	ldr	w0, [x8, #4]
	bl	_be32_to_cpu
	mov	x1, x0
	mov	x0, x19
	bl	_nfp_flower_get_fl_payload_from_ctx
	cbz	x0, LBB0_9
; %bb.5:
	mov	x2, x0
	mov	x0, x19
	mov	x1, x21
	bl	_nfp_flower_merge_offloaded_flows
Lloh4:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh5:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh6:
	ldr	w8, [x8]
	cmn	w0, w8
	b.ne	LBB0_11
; %bb.6:
Lloh7:
	adrp	x1, l_.str.3@PAGE
Lloh8:
	add	x1, x1, l_.str.3@PAGEOFF
	b	LBB0_10
LBB0_7:
	str	x22, [sp]
Lloh9:
	adrp	x1, l_.str.1@PAGE
Lloh10:
	add	x1, x1, l_.str.1@PAGEOFF
LBB0_8:
	mov	x0, x19
	bl	_nfp_flower_cmsg_warn
	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
	add	sp, sp, #80
	ret
LBB0_9:
Lloh11:
	adrp	x1, l_.str.2@PAGE
Lloh12:
	add	x1, x1, l_.str.2@PAGEOFF
LBB0_10:
	mov	x0, x19
	bl	_nfp_flower_cmsg_warn
LBB0_11:
	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
	add	sp, sp, #80
	b	_rtnl_unlock
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpAdd	Lloh7, Lloh8
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpAdd	Lloh11, Lloh12
	.cfi_endproc
                                        ; -- End function
	.comm	_flow,4,2                       ; @flow
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Merge hint ctrl msg too short - %d bytes but expect %zd\n"

l_.str.1:                               ; @.str.1
	.asciz	"Merge hint contains %d flows - two are expected\n"

l_.str.2:                               ; @.str.2
	.asciz	"Invalid flow in merge hint\n"

	.comm	_ENOMEM,4,2                     ; @ENOMEM
l_.str.3:                               ; @.str.3
	.asciz	"Flow merge memory fail.\n"

	.no_dead_strip	_nfp_flower_cmsg_merge_hint_rx
.subsections_via_symbols
