	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function nfp_flower_setup_indr_tc_block
_nfp_flower_setup_indr_tc_block:        ## @nfp_flower_setup_indr_tc_block
	.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	%rdx, %r14
	movq	%rsi, %rbx
	movq	%rdi, %r15
	movq	(%rsi), %r12
	movq	(%rdx), %rax
	movq	_FLOW_BLOCK_BINDER_TYPE_CLSACT_INGRESS@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	je	LBB0_3
## %bb.1:
	movq	%rbx, %rdi
	movq	%r15, %rsi
	callq	_nfp_flower_internal_port_can_offload
	testq	%rax, %rax
	je	LBB0_18
## %bb.2:
	movq	(%r14), %rax
LBB0_3:
	movq	_FLOW_BLOCK_BINDER_TYPE_CLSACT_EGRESS@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	je	LBB0_5
## %bb.4:
	movq	%rbx, %rdi
	movq	%r15, %rsi
	callq	_nfp_flower_internal_port_can_offload
	testq	%rax, %rax
	jne	LBB0_18
LBB0_5:
	movl	8(%r14), %eax
	cmpl	$128, %eax
	je	LBB0_14
## %bb.6:
	cmpl	$129, %eax
	jne	LBB0_18
## %bb.7:
	movq	%rbx, %rdi
	movq	%r15, %rsi
	callq	_nfp_flower_indr_block_cb_priv_lookup
	testq	%rax, %rax
	je	LBB0_10
## %bb.8:
	movq	_nfp_flower_setup_indr_block_cb@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edi
	movq	_nfp_block_cb_list@GOTPCREL(%rip), %rdx
	movq	%rax, %rsi
	callq	_flow_block_cb_is_busy
	testl	%eax, %eax
	je	LBB0_10
## %bb.9:
	movq	_EBUSY@GOTPCREL(%rip), %rcx
	jmp	LBB0_19
LBB0_18:
	movq	_EOPNOTSUPP@GOTPCREL(%rip), %rcx
LBB0_19:
	xorl	%eax, %eax
	subl	(%rcx), %eax
LBB0_20:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_14:
	movq	%rbx, %rdi
	movq	%r15, %rsi
	callq	_nfp_flower_indr_block_cb_priv_lookup
	testq	%rax, %rax
	je	LBB0_15
## %bb.16:
	movl	12(%r14), %edi
	movq	_nfp_flower_setup_indr_block_cb@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	movq	%rax, %rdx
	callq	_flow_block_cb_lookup
	testq	%rax, %rax
	je	LBB0_15
## %bb.17:
	movq	%rax, %rbx
	movq	%rax, %rdi
	movq	%r14, %rsi
	callq	_flow_block_cb_remove
	movq	%rbx, %rdi
	callq	_list_del
	xorl	%eax, %eax
	jmp	LBB0_20
LBB0_10:
	movq	_GFP_KERNEL@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	$24, %edi
	callq	_kmalloc
	testq	%rax, %rax
	je	LBB0_11
## %bb.12:
	movq	%rax, %r13
	movq	%r15, 16(%rax)
	movq	%rbx, 8(%rax)
	movq	%rax, %rdi
	movq	%r12, %rsi
	callq	_list_add
	movq	_nfp_flower_setup_indr_block_cb@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_nfp_flower_setup_indr_tc_release@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	%r13, %rsi
	movq	%r13, %rdx
	callq	_flow_block_cb_alloc
	movq	%rax, %rbx
	movq	%rax, %rdi
	callq	_IS_ERR
	testl	%eax, %eax
	je	LBB0_13
## %bb.21:
	movq	%r13, %rdi
	callq	_list_del
	movq	%r13, %rdi
	callq	_kfree
	movq	%rbx, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_PTR_ERR                        ## TAILCALL
LBB0_15:
	movq	_ENOENT@GOTPCREL(%rip), %rcx
	jmp	LBB0_19
LBB0_11:
	movq	_ENOMEM@GOTPCREL(%rip), %rcx
	jmp	LBB0_19
LBB0_13:
	movq	%rbx, %rdi
	movq	%r14, %rsi
	callq	_flow_block_cb_add
	movq	_nfp_block_cb_list@GOTPCREL(%rip), %rsi
	movq	%rbx, %rdi
	callq	_list_add_tail
	xorl	%eax, %eax
	jmp	LBB0_20
	.cfi_endproc
                                        ## -- End function
	.comm	_FLOW_BLOCK_BINDER_TYPE_CLSACT_INGRESS,8,3 ## @FLOW_BLOCK_BINDER_TYPE_CLSACT_INGRESS
	.comm	_FLOW_BLOCK_BINDER_TYPE_CLSACT_EGRESS,8,3 ## @FLOW_BLOCK_BINDER_TYPE_CLSACT_EGRESS
	.comm	_EOPNOTSUPP,4,2                 ## @EOPNOTSUPP
	.comm	_nfp_flower_setup_indr_block_cb,4,2 ## @nfp_flower_setup_indr_block_cb
	.comm	_nfp_block_cb_list,4,2          ## @nfp_block_cb_list
	.comm	_EBUSY,4,2                      ## @EBUSY
	.comm	_GFP_KERNEL,4,2                 ## @GFP_KERNEL
	.comm	_ENOMEM,4,2                     ## @ENOMEM
	.comm	_nfp_flower_setup_indr_tc_release,4,2 ## @nfp_flower_setup_indr_tc_release
	.comm	_ENOENT,4,2                     ## @ENOENT
	.no_dead_strip	_nfp_flower_setup_indr_tc_block
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function nfp_flower_setup_indr_tc_block
_nfp_flower_setup_indr_tc_block:        ; @nfp_flower_setup_indr_tc_block
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	mov	x19, x2
	mov	x20, x1
	mov	x21, x0
	ldr	x22, [x1]
	ldr	x8, [x2]
Lloh0:
	adrp	x9, _FLOW_BLOCK_BINDER_TYPE_CLSACT_INGRESS@GOTPAGE
Lloh1:
	ldr	x9, [x9, _FLOW_BLOCK_BINDER_TYPE_CLSACT_INGRESS@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	cmp	x8, x9
	b.eq	LBB0_3
; %bb.1:
	mov	x0, x20
	mov	x1, x21
	bl	_nfp_flower_internal_port_can_offload
	cbz	x0, LBB0_10
; %bb.2:
	ldr	x8, [x19]
LBB0_3:
Lloh3:
	adrp	x9, _FLOW_BLOCK_BINDER_TYPE_CLSACT_EGRESS@GOTPAGE
Lloh4:
	ldr	x9, [x9, _FLOW_BLOCK_BINDER_TYPE_CLSACT_EGRESS@GOTPAGEOFF]
Lloh5:
	ldr	x9, [x9]
	cmp	x8, x9
	b.eq	LBB0_5
; %bb.4:
	mov	x0, x20
	mov	x1, x21
	bl	_nfp_flower_internal_port_can_offload
	cbnz	x0, LBB0_10
LBB0_5:
	ldr	w8, [x19, #8]
	cmp	w8, #128
	b.eq	LBB0_13
; %bb.6:
	cmp	w8, #129
	b.ne	LBB0_10
; %bb.7:
	mov	x0, x20
	mov	x1, x21
	bl	_nfp_flower_indr_block_cb_priv_lookup
Lloh6:
	adrp	x24, _nfp_flower_setup_indr_block_cb@GOTPAGE
Lloh7:
	ldr	x24, [x24, _nfp_flower_setup_indr_block_cb@GOTPAGEOFF]
	cbz	x0, LBB0_16
; %bb.8:
	mov	x1, x0
	ldr	w0, [x24]
Lloh8:
	adrp	x2, _nfp_block_cb_list@GOTPAGE
Lloh9:
	ldr	x2, [x2, _nfp_block_cb_list@GOTPAGEOFF]
	bl	_flow_block_cb_is_busy
	cbz	w0, LBB0_16
; %bb.9:
Lloh10:
	adrp	x8, _EBUSY@GOTPAGE
Lloh11:
	ldr	x8, [x8, _EBUSY@GOTPAGEOFF]
	b	LBB0_11
LBB0_10:
Lloh12:
	adrp	x8, _EOPNOTSUPP@GOTPAGE
Lloh13:
	ldr	x8, [x8, _EOPNOTSUPP@GOTPAGEOFF]
LBB0_11:
	ldr	w8, [x8]
	neg	w0, w8
LBB0_12:
	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
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
LBB0_13:
	mov	x0, x20
	mov	x1, x21
	bl	_nfp_flower_indr_block_cb_priv_lookup
	cbz	x0, LBB0_19
; %bb.14:
	mov	x2, x0
	ldr	w0, [x19, #12]
Lloh14:
	adrp	x8, _nfp_flower_setup_indr_block_cb@GOTPAGE
Lloh15:
	ldr	x8, [x8, _nfp_flower_setup_indr_block_cb@GOTPAGEOFF]
Lloh16:
	ldr	w1, [x8]
	bl	_flow_block_cb_lookup
	cbz	x0, LBB0_19
; %bb.15:
	mov	x20, x0
	mov	x1, x19
	bl	_flow_block_cb_remove
	mov	x0, x20
	bl	_list_del
	mov	w0, #0
	b	LBB0_12
LBB0_16:
Lloh17:
	adrp	x8, _GFP_KERNEL@GOTPAGE
Lloh18:
	ldr	x8, [x8, _GFP_KERNEL@GOTPAGEOFF]
Lloh19:
	ldr	w1, [x8]
	mov	w0, #24
	bl	_kmalloc
	cbz	x0, LBB0_20
; %bb.17:
	mov	x23, x0
	stp	x20, x21, [x0, #8]
	mov	x1, x22
	bl	_list_add
	ldr	w0, [x24]
Lloh20:
	adrp	x8, _nfp_flower_setup_indr_tc_release@GOTPAGE
Lloh21:
	ldr	x8, [x8, _nfp_flower_setup_indr_tc_release@GOTPAGEOFF]
Lloh22:
	ldr	w3, [x8]
	mov	x1, x23
	mov	x2, x23
	bl	_flow_block_cb_alloc
	mov	x20, x0
	bl	_IS_ERR
	cbz	w0, LBB0_21
; %bb.18:
	mov	x0, x23
	bl	_list_del
	mov	x0, x23
	bl	_kfree
	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
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	b	_PTR_ERR
LBB0_19:
Lloh23:
	adrp	x8, _ENOENT@GOTPAGE
Lloh24:
	ldr	x8, [x8, _ENOENT@GOTPAGEOFF]
	b	LBB0_11
LBB0_20:
Lloh25:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh26:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
	b	LBB0_11
LBB0_21:
	mov	x0, x20
	mov	x1, x19
	bl	_flow_block_cb_add
Lloh27:
	adrp	x1, _nfp_block_cb_list@GOTPAGE
Lloh28:
	ldr	x1, [x1, _nfp_block_cb_list@GOTPAGEOFF]
	mov	x0, x20
	bl	_list_add_tail
	mov	w0, #0
	b	LBB0_12
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpLdrGot	Lloh23, Lloh24
	.loh AdrpLdrGot	Lloh25, Lloh26
	.loh AdrpLdrGot	Lloh27, Lloh28
	.cfi_endproc
                                        ; -- End function
	.comm	_FLOW_BLOCK_BINDER_TYPE_CLSACT_INGRESS,8,3 ; @FLOW_BLOCK_BINDER_TYPE_CLSACT_INGRESS
	.comm	_FLOW_BLOCK_BINDER_TYPE_CLSACT_EGRESS,8,3 ; @FLOW_BLOCK_BINDER_TYPE_CLSACT_EGRESS
	.comm	_EOPNOTSUPP,4,2                 ; @EOPNOTSUPP
	.comm	_nfp_flower_setup_indr_block_cb,4,2 ; @nfp_flower_setup_indr_block_cb
	.comm	_nfp_block_cb_list,4,2          ; @nfp_block_cb_list
	.comm	_EBUSY,4,2                      ; @EBUSY
	.comm	_GFP_KERNEL,4,2                 ; @GFP_KERNEL
	.comm	_ENOMEM,4,2                     ; @ENOMEM
	.comm	_nfp_flower_setup_indr_tc_release,4,2 ; @nfp_flower_setup_indr_tc_release
	.comm	_ENOENT,4,2                     ; @ENOENT
	.no_dead_strip	_nfp_flower_setup_indr_tc_block
.subsections_via_symbols
