	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_nfp_flower_reg_indir_block_handler ## -- Begin function nfp_flower_reg_indir_block_handler
	.p2align	4, 0x90
_nfp_flower_reg_indir_block_handler:    ## @nfp_flower_reg_indir_block_handler
	.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
	movq	%rdx, %rbx
	movq	%rsi, %r15
	movq	%rdi, %r14
	movq	%rsi, %rdi
	callq	_nfp_fl_is_netdev_to_offload
	testl	%eax, %eax
	je	LBB0_6
## %bb.1:
	movq	_NETDEV_REGISTER@GOTPCREL(%rip), %rax
	cmpq	%rbx, (%rax)
	jne	LBB0_4
## %bb.2:
	movq	_nfp_flower_indr_setup_tc_cb@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r15, %rdi
	movq	%r14, %rsi
	movq	%r14, %rcx
	callq	___flow_indr_block_cb_register
	testl	%eax, %eax
	je	LBB0_6
## %bb.3:
	movl	(%r15), %edx
	leaq	L_.str(%rip), %rsi
	movq	%r14, %rdi
	callq	_nfp_flower_cmsg_warn
	jmp	LBB0_6
LBB0_4:
	movq	_NETDEV_UNREGISTER@GOTPCREL(%rip), %rax
	cmpq	%rbx, (%rax)
	jne	LBB0_6
## %bb.5:
	movq	_nfp_flower_indr_setup_tc_cb@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r15, %rdi
	movq	%r14, %rdx
	callq	___flow_indr_block_cb_unregister
LBB0_6:
	movq	_NOTIFY_OK@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_NOTIFY_OK,4,2                  ## @NOTIFY_OK
	.comm	_NETDEV_REGISTER,8,3            ## @NETDEV_REGISTER
	.comm	_nfp_flower_indr_setup_tc_cb,4,2 ## @nfp_flower_indr_setup_tc_cb
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Indirect block reg failed - %s\n"

	.comm	_NETDEV_UNREGISTER,8,3          ## @NETDEV_UNREGISTER
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_nfp_flower_reg_indir_block_handler ; -- Begin function nfp_flower_reg_indir_block_handler
	.p2align	2
_nfp_flower_reg_indir_block_handler:    ; @nfp_flower_reg_indir_block_handler
	.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	x21, x2
	mov	x20, x1
	mov	x19, x0
	mov	x0, x1
	bl	_nfp_fl_is_netdev_to_offload
	cbz	w0, LBB0_6
; %bb.1:
Lloh0:
	adrp	x8, _NETDEV_REGISTER@GOTPAGE
Lloh1:
	ldr	x8, [x8, _NETDEV_REGISTER@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	cmp	x8, x21
	b.ne	LBB0_4
; %bb.2:
Lloh3:
	adrp	x8, _nfp_flower_indr_setup_tc_cb@GOTPAGE
Lloh4:
	ldr	x8, [x8, _nfp_flower_indr_setup_tc_cb@GOTPAGEOFF]
Lloh5:
	ldr	w2, [x8]
	mov	x0, x20
	mov	x1, x19
	mov	x3, x19
	bl	___flow_indr_block_cb_register
	cbz	w0, LBB0_6
; %bb.3:
	ldr	w2, [x20]
Lloh6:
	adrp	x1, l_.str@PAGE
Lloh7:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x19
	bl	_nfp_flower_cmsg_warn
	b	LBB0_6
LBB0_4:
Lloh8:
	adrp	x8, _NETDEV_UNREGISTER@GOTPAGE
Lloh9:
	ldr	x8, [x8, _NETDEV_UNREGISTER@GOTPAGEOFF]
Lloh10:
	ldr	x8, [x8]
	cmp	x8, x21
	b.ne	LBB0_6
; %bb.5:
Lloh11:
	adrp	x8, _nfp_flower_indr_setup_tc_cb@GOTPAGE
Lloh12:
	ldr	x8, [x8, _nfp_flower_indr_setup_tc_cb@GOTPAGEOFF]
Lloh13:
	ldr	w1, [x8]
	mov	x0, x20
	mov	x2, x19
	bl	___flow_indr_block_cb_unregister
LBB0_6:
Lloh14:
	adrp	x8, _NOTIFY_OK@GOTPAGE
Lloh15:
	ldr	x8, [x8, _NOTIFY_OK@GOTPAGEOFF]
Lloh16:
	ldr	w0, [x8]
	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
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.cfi_endproc
                                        ; -- End function
	.comm	_NOTIFY_OK,4,2                  ; @NOTIFY_OK
	.comm	_NETDEV_REGISTER,8,3            ; @NETDEV_REGISTER
	.comm	_nfp_flower_indr_setup_tc_cb,4,2 ; @nfp_flower_indr_setup_tc_cb
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Indirect block reg failed - %s\n"

	.comm	_NETDEV_UNREGISTER,8,3          ; @NETDEV_UNREGISTER
.subsections_via_symbols
