	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function nfp_flower_queue_ctl_msg
_nfp_flower_queue_ctl_msg:              ## @nfp_flower_queue_ctl_msg
	.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, %r12
	movq	(%rdi), %r15
	movq	_NFP_FLOWER_CMSG_TYPE_PORT_MOD@GOTPCREL(%rip), %rax
	xorl	%ecx, %ecx
	cmpl	%edx, (%rax)
	sete	%cl
	leaq	(%r15,%rcx,4), %rbx
	addq	$4, %rbx
	movq	%rbx, %rdi
	callq	_skb_queue_len
	movq	_NFP_FLOWER_WORKQ_MAX_SKBS@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jge	LBB0_1
## %bb.2:
	movq	%rbx, %rdi
	movq	%r14, %rsi
	callq	_skb_queue_tail
	movq	%r15, %rdi
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_schedule_work                  ## TAILCALL
LBB0_1:
	leaq	L_.str(%rip), %rsi
	movq	%r12, %rdi
	callq	_nfp_flower_cmsg_warn
	movq	%r14, %rdi
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_dev_kfree_skb_any              ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_NFP_FLOWER_CMSG_TYPE_PORT_MOD,4,2 ## @NFP_FLOWER_CMSG_TYPE_PORT_MOD
	.comm	_NFP_FLOWER_WORKQ_MAX_SKBS,8,3  ## @NFP_FLOWER_WORKQ_MAX_SKBS
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Dropping queued control messages\n"

	.no_dead_strip	_nfp_flower_queue_ctl_msg
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function nfp_flower_queue_ctl_msg
_nfp_flower_queue_ctl_msg:              ; @nfp_flower_queue_ctl_msg
	.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, x1
	mov	x21, x0
Lloh0:
	adrp	x8, _NFP_FLOWER_CMSG_TYPE_PORT_MOD@GOTPAGE
Lloh1:
	ldr	x8, [x8, _NFP_FLOWER_CMSG_TYPE_PORT_MOD@GOTPAGEOFF]
	ldr	x20, [x0]
Lloh2:
	ldr	w8, [x8]
	add	x9, x20, #8
	add	x10, x20, #4
	cmp	w8, w2
	csel	x22, x9, x10, eq
	mov	x0, x22
	bl	_skb_queue_len
Lloh3:
	adrp	x8, _NFP_FLOWER_WORKQ_MAX_SKBS@GOTPAGE
Lloh4:
	ldr	x8, [x8, _NFP_FLOWER_WORKQ_MAX_SKBS@GOTPAGEOFF]
Lloh5:
	ldr	x8, [x8]
	cmp	x0, x8
	b.ge	LBB0_2
; %bb.1:
	mov	x0, x22
	mov	x1, x19
	bl	_skb_queue_tail
	mov	x0, x20
	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	_schedule_work
LBB0_2:
Lloh6:
	adrp	x1, l_.str@PAGE
Lloh7:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x21
	bl	_nfp_flower_cmsg_warn
	mov	x0, 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	_dev_kfree_skb_any
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.comm	_NFP_FLOWER_CMSG_TYPE_PORT_MOD,4,2 ; @NFP_FLOWER_CMSG_TYPE_PORT_MOD
	.comm	_NFP_FLOWER_WORKQ_MAX_SKBS,8,3  ; @NFP_FLOWER_WORKQ_MAX_SKBS
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Dropping queued control messages\n"

	.no_dead_strip	_nfp_flower_queue_ctl_msg
.subsections_via_symbols
