	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function nfp_abm_setup_tc_block_cb
_nfp_abm_setup_tc_block_cb:             ## @nfp_abm_setup_tc_block_cb
	.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, %rbx
	movq	_TC_SETUP_CLSU32@GOTPCREL(%rip), %rax
	cmpl	%edi, (%rax)
	jne	LBB0_1
## %bb.4:
	movq	8(%rdx), %r14
	movl	(%rdx), %edi
	leaq	8(%rbx), %r15
	movq	%r15, %rsi
	callq	_tc_cls_can_offload_and_chain0
	testl	%eax, %eax
	je	LBB0_3
## %bb.5:
	movq	(%r15), %r12
	movq	_ETH_P_IP@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_htons
	cmpq	%rax, %r12
	je	LBB0_8
## %bb.6:
	movq	(%r15), %r15
	movq	_ETH_P_IPV6@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_htons
	cmpq	%rax, %r15
	jne	LBB0_7
LBB0_8:
	movl	(%rbx), %eax
	leal	-128(%rax), %ecx
	cmpl	$2, %ecx
	jae	LBB0_9
## %bb.12:
	leaq	4(%rbx), %rsi
	movq	8(%rbx), %rdx
	movl	16(%rbx), %ecx
	movq	%r14, %rdi
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_nfp_abm_u32_knode_replace      ## TAILCALL
LBB0_1:
	movl	16(%rbx), %edi
	leaq	L_.str(%rip), %rsi
LBB0_2:
	callq	_NL_SET_ERR_MSG_MOD
LBB0_3:
	movq	_EOPNOTSUPP@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	subl	(%rcx), %eax
LBB0_11:
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_9:
	cmpl	$130, %eax
	jne	LBB0_3
## %bb.10:
	addq	$4, %rbx
	movq	%r14, %rdi
	movq	%rbx, %rsi
	callq	_nfp_abm_u32_knode_delete
	xorl	%eax, %eax
	jmp	LBB0_11
LBB0_7:
	movl	16(%rbx), %edi
	leaq	L_.str.1(%rip), %rsi
	jmp	LBB0_2
	.cfi_endproc
                                        ## -- End function
	.comm	_TC_SETUP_CLSU32,4,2            ## @TC_SETUP_CLSU32
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"only offload of u32 classifier supported"

	.comm	_EOPNOTSUPP,4,2                 ## @EOPNOTSUPP
	.comm	_ETH_P_IP,4,2                   ## @ETH_P_IP
	.comm	_ETH_P_IPV6,4,2                 ## @ETH_P_IPV6
L_.str.1:                               ## @.str.1
	.asciz	"only IP and IPv6 supported as filter protocol"

	.no_dead_strip	_nfp_abm_setup_tc_block_cb
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function nfp_abm_setup_tc_block_cb
_nfp_abm_setup_tc_block_cb:             ; @nfp_abm_setup_tc_block_cb
	.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
Lloh0:
	adrp	x8, _TC_SETUP_CLSU32@GOTPAGE
Lloh1:
	ldr	x8, [x8, _TC_SETUP_CLSU32@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	cmp	w8, w0
	b.ne	LBB0_6
; %bb.1:
	ldr	x20, [x2, #8]
	ldr	w0, [x2]
	add	x21, x19, #8
	mov	x1, x21
	bl	_tc_cls_can_offload_and_chain0
	cbz	w0, LBB0_8
; %bb.2:
	ldr	x22, [x21]
Lloh3:
	adrp	x8, _ETH_P_IP@GOTPAGE
Lloh4:
	ldr	x8, [x8, _ETH_P_IP@GOTPAGEOFF]
Lloh5:
	ldr	w0, [x8]
	bl	_htons
	cmp	x22, x0
	b.eq	LBB0_4
; %bb.3:
	ldr	x21, [x21]
Lloh6:
	adrp	x8, _ETH_P_IPV6@GOTPAGE
Lloh7:
	ldr	x8, [x8, _ETH_P_IPV6@GOTPAGEOFF]
Lloh8:
	ldr	w0, [x8]
	bl	_htons
	cmp	x21, x0
	b.ne	LBB0_12
LBB0_4:
	ldr	w8, [x19]
	sub	w9, w8, #128
	cmp	w9, #2
	b.hs	LBB0_10
; %bb.5:
	add	x1, x19, #4
	ldr	x2, [x19, #8]
	ldr	w3, [x19, #16]
	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	_nfp_abm_u32_knode_replace
LBB0_6:
	ldr	w0, [x19, #16]
Lloh9:
	adrp	x1, l_.str@PAGE
Lloh10:
	add	x1, x1, l_.str@PAGEOFF
LBB0_7:
	bl	_NL_SET_ERR_MSG_MOD
LBB0_8:
Lloh11:
	adrp	x8, _EOPNOTSUPP@GOTPAGE
Lloh12:
	ldr	x8, [x8, _EOPNOTSUPP@GOTPAGEOFF]
Lloh13:
	ldr	w8, [x8]
	neg	w0, w8
LBB0_9:
	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_10:
	cmp	w8, #130
	b.ne	LBB0_8
; %bb.11:
	add	x1, x19, #4
	mov	x0, x20
	bl	_nfp_abm_u32_knode_delete
	mov	w0, #0
	b	LBB0_9
LBB0_12:
	ldr	w0, [x19, #16]
Lloh14:
	adrp	x1, l_.str.1@PAGE
Lloh15:
	add	x1, x1, l_.str.1@PAGEOFF
	b	LBB0_7
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpAdd	Lloh14, Lloh15
	.cfi_endproc
                                        ; -- End function
	.comm	_TC_SETUP_CLSU32,4,2            ; @TC_SETUP_CLSU32
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"only offload of u32 classifier supported"

	.comm	_EOPNOTSUPP,4,2                 ; @EOPNOTSUPP
	.comm	_ETH_P_IP,4,2                   ; @ETH_P_IP
	.comm	_ETH_P_IPV6,4,2                 ; @ETH_P_IPV6
l_.str.1:                               ; @.str.1
	.asciz	"only IP and IPv6 supported as filter protocol"

	.no_dead_strip	_nfp_abm_setup_tc_block_cb
.subsections_via_symbols
