	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function nfp_flower_setup_tc_block
_nfp_flower_setup_tc_block:             ## @nfp_flower_setup_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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r14
	callq	_netdev_priv
	movq	%rax, %r15
	movq	(%r14), %rax
	movq	_FLOW_BLOCK_BINDER_TYPE_CLSACT_INGRESS@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_10
## %bb.1:
	movq	(%r15), %rax
	movl	24(%r14), %ecx
	movl	%ecx, (%rax)
	movq	_nfp_block_cb_list@GOTPCREL(%rip), %rax
	movq	%rax, 16(%r14)
	movl	8(%r14), %eax
	cmpl	$128, %eax
	je	LBB0_7
## %bb.2:
	cmpl	$129, %eax
	jne	LBB0_10
## %bb.3:
	movq	_nfp_flower_setup_tc_block_cb@GOTPCREL(%rip), %rbx
	movl	(%rbx), %edi
	movq	_nfp_block_cb_list@GOTPCREL(%rip), %rdx
	movq	%r15, %rsi
	callq	_flow_block_cb_is_busy
	testl	%eax, %eax
	je	LBB0_5
## %bb.4:
	movq	_EBUSY@GOTPCREL(%rip), %rax
	jmp	LBB0_11
LBB0_10:
	movq	_EOPNOTSUPP@GOTPCREL(%rip), %rax
LBB0_11:
	xorl	%ebx, %ebx
	subl	(%rax), %ebx
LBB0_12:
	movl	%ebx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_7:
	movl	12(%r14), %edi
	movq	_nfp_flower_setup_tc_block_cb@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r15, %rdx
	callq	_flow_block_cb_lookup
	testq	%rax, %rax
	je	LBB0_8
## %bb.9:
	movq	%rax, %rbx
	movq	%rax, %rdi
	movq	%r14, %rsi
	callq	_flow_block_cb_remove
	movq	%rbx, %rdi
	callq	_list_del
	xorl	%ebx, %ebx
	jmp	LBB0_12
LBB0_5:
	movl	(%rbx), %edi
	xorl	%ebx, %ebx
	movq	%r15, %rsi
	movq	%r15, %rdx
	xorl	%ecx, %ecx
	callq	_flow_block_cb_alloc
	movq	%rax, %r15
	movq	%rax, %rdi
	callq	_IS_ERR
	testl	%eax, %eax
	je	LBB0_6
## %bb.13:
	movq	%r15, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_PTR_ERR                        ## TAILCALL
LBB0_8:
	movq	_ENOENT@GOTPCREL(%rip), %rax
	jmp	LBB0_11
LBB0_6:
	movq	%r15, %rdi
	movq	%r14, %rsi
	callq	_flow_block_cb_add
	movq	_nfp_block_cb_list@GOTPCREL(%rip), %rsi
	movq	%r15, %rdi
	callq	_list_add_tail
	jmp	LBB0_12
	.cfi_endproc
                                        ## -- End function
	.comm	_FLOW_BLOCK_BINDER_TYPE_CLSACT_INGRESS,8,3 ## @FLOW_BLOCK_BINDER_TYPE_CLSACT_INGRESS
	.comm	_EOPNOTSUPP,4,2                 ## @EOPNOTSUPP
	.comm	_nfp_block_cb_list,4,2          ## @nfp_block_cb_list
	.comm	_nfp_flower_setup_tc_block_cb,4,2 ## @nfp_flower_setup_tc_block_cb
	.comm	_EBUSY,4,2                      ## @EBUSY
	.comm	_ENOENT,4,2                     ## @ENOENT
	.no_dead_strip	_nfp_flower_setup_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_tc_block
_nfp_flower_setup_tc_block:             ; @nfp_flower_setup_tc_block
	.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
	bl	_netdev_priv
	ldr	x8, [x19]
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.ne	LBB0_5
; %bb.1:
	mov	x20, x0
	ldr	x8, [x0]
	ldr	w9, [x19, #24]
	str	w9, [x8]
Lloh3:
	adrp	x8, _nfp_block_cb_list@GOTPAGE
Lloh4:
	ldr	x8, [x8, _nfp_block_cb_list@GOTPAGEOFF]
	str	x8, [x19, #16]
	ldr	w8, [x19, #8]
	cmp	w8, #128
	b.eq	LBB0_8
; %bb.2:
	cmp	w8, #129
	b.ne	LBB0_5
; %bb.3:
Lloh5:
	adrp	x21, _nfp_flower_setup_tc_block_cb@GOTPAGE
Lloh6:
	ldr	x21, [x21, _nfp_flower_setup_tc_block_cb@GOTPAGEOFF]
	ldr	w0, [x21]
Lloh7:
	adrp	x2, _nfp_block_cb_list@GOTPAGE
Lloh8:
	ldr	x2, [x2, _nfp_block_cb_list@GOTPAGEOFF]
	mov	x1, x20
	bl	_flow_block_cb_is_busy
	cbz	w0, LBB0_10
; %bb.4:
Lloh9:
	adrp	x8, _EBUSY@GOTPAGE
Lloh10:
	ldr	x8, [x8, _EBUSY@GOTPAGEOFF]
	b	LBB0_6
LBB0_5:
Lloh11:
	adrp	x8, _EOPNOTSUPP@GOTPAGE
Lloh12:
	ldr	x8, [x8, _EOPNOTSUPP@GOTPAGEOFF]
LBB0_6:
	ldr	w8, [x8]
	neg	w0, w8
LBB0_7:
	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
LBB0_8:
	ldr	w0, [x19, #12]
Lloh13:
	adrp	x8, _nfp_flower_setup_tc_block_cb@GOTPAGE
Lloh14:
	ldr	x8, [x8, _nfp_flower_setup_tc_block_cb@GOTPAGEOFF]
Lloh15:
	ldr	w1, [x8]
	mov	x2, x20
	bl	_flow_block_cb_lookup
	cbz	x0, LBB0_12
; %bb.9:
	mov	x20, x0
	mov	x1, x19
	bl	_flow_block_cb_remove
	mov	x0, x20
	bl	_list_del
	mov	w0, #0
	b	LBB0_7
LBB0_10:
	ldr	w0, [x21]
	mov	x1, x20
	mov	x2, x20
	mov	x3, #0
	bl	_flow_block_cb_alloc
	mov	x20, x0
	bl	_IS_ERR
	cbz	w0, LBB0_13
; %bb.11:
	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	_PTR_ERR
LBB0_12:
Lloh16:
	adrp	x8, _ENOENT@GOTPAGE
Lloh17:
	ldr	x8, [x8, _ENOENT@GOTPAGEOFF]
	b	LBB0_6
LBB0_13:
	mov	x0, x20
	mov	x1, x19
	bl	_flow_block_cb_add
Lloh18:
	adrp	x1, _nfp_block_cb_list@GOTPAGE
Lloh19:
	ldr	x1, [x1, _nfp_block_cb_list@GOTPAGEOFF]
	mov	x0, x20
	bl	_list_add_tail
	mov	w0, #0
	b	LBB0_7
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGot	Lloh16, Lloh17
	.loh AdrpLdrGot	Lloh18, Lloh19
	.cfi_endproc
                                        ; -- End function
	.comm	_FLOW_BLOCK_BINDER_TYPE_CLSACT_INGRESS,8,3 ; @FLOW_BLOCK_BINDER_TYPE_CLSACT_INGRESS
	.comm	_EOPNOTSUPP,4,2                 ; @EOPNOTSUPP
	.comm	_nfp_block_cb_list,4,2          ; @nfp_block_cb_list
	.comm	_nfp_flower_setup_tc_block_cb,4,2 ; @nfp_flower_setup_tc_block_cb
	.comm	_EBUSY,4,2                      ; @EBUSY
	.comm	_ENOENT,4,2                     ; @ENOENT
	.no_dead_strip	_nfp_flower_setup_tc_block
.subsections_via_symbols
