	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function bnxt_tc_can_offload
_bnxt_tc_can_offload:                   ## @bnxt_tc_can_offload
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rsi, %rbx
	movq	%rdi, %r14
	movq	_BNXT_TC_FLOW_FLAGS_PORTS@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, (%rsi)
	je	LBB0_4
## %bb.1:
	movq	48(%rbx), %rdx
	movq	_IPPROTO_TCP@GOTPCREL(%rip), %rax
	cmpq	(%rax), %rdx
	je	LBB0_4
## %bb.2:
	movq	_IPPROTO_UDP@GOTPCREL(%rip), %rax
	cmpq	(%rax), %rdx
	je	LBB0_4
## %bb.3:
	movl	(%r14), %edi
	leaq	L_.str(%rip), %rsi
	xorl	%ebx, %ebx
	xorl	%eax, %eax
	callq	_netdev_info
	jmp	LBB0_19
LBB0_4:
	leaq	44(%rbx), %rdi
	movl	$4, %esi
	callq	_bits_set
	testq	%rax, %rax
	je	LBB0_7
## %bb.5:
	movq	24(%rbx), %rdi
	movl	$8, %esi
	callq	_is_exactmatch
	testl	%eax, %eax
	je	LBB0_6
LBB0_7:
	leaq	40(%rbx), %rdi
	movl	$4, %esi
	callq	_bits_set
	testq	%rax, %rax
	je	LBB0_10
## %bb.8:
	leaq	20(%rbx), %rdi
	movl	$4, %esi
	callq	_is_exactmatch
	testl	%eax, %eax
	je	LBB0_9
LBB0_10:
	leaq	36(%rbx), %rdi
	movl	$4, %esi
	callq	_bits_set
	testq	%rax, %rax
	je	LBB0_13
## %bb.11:
	movl	16(%rbx), %edi
	movl	36(%rbx), %esi
	callq	_is_vlan_tci_allowed
	testl	%eax, %eax
	je	LBB0_12
LBB0_13:
	leaq	32(%rbx), %rdi
	movl	$4, %esi
	callq	_bits_set
	testq	%rax, %rax
	je	LBB0_16
## %bb.14:
	leaq	12(%rbx), %rdi
	movl	$4, %esi
	callq	_is_exactmatch
	testl	%eax, %eax
	je	LBB0_15
LBB0_16:
	addq	$8, %rbx
	movq	%rbx, %rdi
	movl	$4, %esi
	callq	_is_exactmatch
	movl	$1, %ebx
	testl	%eax, %eax
	jne	LBB0_19
## %bb.17:
	movl	(%r14), %edi
	leaq	L_.str.5(%rip), %rsi
	jmp	LBB0_18
LBB0_6:
	movl	(%r14), %edi
	leaq	L_.str.1(%rip), %rsi
	jmp	LBB0_18
LBB0_9:
	movl	(%r14), %edi
	leaq	L_.str.2(%rip), %rsi
	jmp	LBB0_18
LBB0_12:
	movl	(%r14), %edi
	leaq	L_.str.3(%rip), %rsi
	jmp	LBB0_18
LBB0_15:
	movl	(%r14), %edi
	leaq	L_.str.4(%rip), %rsi
LBB0_18:
	xorl	%ebx, %ebx
	xorl	%eax, %eax
	callq	_netdev_info
LBB0_19:
	movl	%ebx, %eax
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_BNXT_TC_FLOW_FLAGS_PORTS,4,2   ## @BNXT_TC_FLOW_FLAGS_PORTS
	.comm	_IPPROTO_TCP,8,3                ## @IPPROTO_TCP
	.comm	_IPPROTO_UDP,8,3                ## @IPPROTO_UDP
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Cannot offload non-TCP/UDP (%d) ports"

L_.str.1:                               ## @.str.1
	.asciz	"Wildcard match unsupported for Source MAC\n"

L_.str.2:                               ## @.str.2
	.asciz	"Wildcard match unsupported for Dest MAC\n"

L_.str.3:                               ## @.str.3
	.asciz	"Unsupported VLAN TCI\n"

L_.str.4:                               ## @.str.4
	.asciz	"Wildcard match unsupported for VLAN TPID\n"

L_.str.5:                               ## @.str.5
	.asciz	"Wildcard match unsupported for Ethertype\n"

	.no_dead_strip	_bnxt_tc_can_offload
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function bnxt_tc_can_offload
_bnxt_tc_can_offload:                   ; @bnxt_tc_can_offload
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #48
	.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
	mov	x20, x1
	mov	x19, x0
	ldr	w8, [x1]
Lloh0:
	adrp	x9, _BNXT_TC_FLOW_FLAGS_PORTS@GOTPAGE
Lloh1:
	ldr	x9, [x9, _BNXT_TC_FLOW_FLAGS_PORTS@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_2
; %bb.1:
	ldr	x8, [x20, #48]
Lloh3:
	adrp	x9, _IPPROTO_TCP@GOTPAGE
Lloh4:
	ldr	x9, [x9, _IPPROTO_TCP@GOTPAGEOFF]
Lloh5:
	ldr	x9, [x9]
Lloh6:
	adrp	x10, _IPPROTO_UDP@GOTPAGE
Lloh7:
	ldr	x10, [x10, _IPPROTO_UDP@GOTPAGEOFF]
Lloh8:
	ldr	x10, [x10]
	cmp	x8, x9
	ccmp	x8, x10, #4, ne
	b.ne	LBB0_12
LBB0_2:
	add	x0, x20, #44
	mov	w1, #4
	bl	_bits_set
	cbz	x0, LBB0_4
; %bb.3:
	ldr	x0, [x20, #24]
	mov	w1, #8
	bl	_is_exactmatch
	cbz	w0, LBB0_13
LBB0_4:
	add	x0, x20, #40
	mov	w1, #4
	bl	_bits_set
	cbz	x0, LBB0_6
; %bb.5:
	add	x0, x20, #20
	mov	w1, #4
	bl	_is_exactmatch
	cbz	w0, LBB0_14
LBB0_6:
	add	x0, x20, #36
	mov	w1, #4
	bl	_bits_set
	cbz	x0, LBB0_8
; %bb.7:
	ldr	w0, [x20, #16]
	ldr	w1, [x20, #36]
	bl	_is_vlan_tci_allowed
	cbz	w0, LBB0_15
LBB0_8:
	add	x0, x20, #32
	mov	w1, #4
	bl	_bits_set
	cbz	x0, LBB0_10
; %bb.9:
	add	x0, x20, #12
	mov	w1, #4
	bl	_is_exactmatch
	cbz	w0, LBB0_17
LBB0_10:
	add	x0, x20, #8
	mov	w1, #4
	bl	_is_exactmatch
	cbz	w0, LBB0_16
; %bb.11:
	mov	w0, #1
	b	LBB0_19
LBB0_12:
	ldr	w0, [x19]
	str	x8, [sp]
Lloh9:
	adrp	x1, l_.str@PAGE
Lloh10:
	add	x1, x1, l_.str@PAGEOFF
	b	LBB0_18
LBB0_13:
	ldr	w0, [x19]
Lloh11:
	adrp	x1, l_.str.1@PAGE
Lloh12:
	add	x1, x1, l_.str.1@PAGEOFF
	b	LBB0_18
LBB0_14:
	ldr	w0, [x19]
Lloh13:
	adrp	x1, l_.str.2@PAGE
Lloh14:
	add	x1, x1, l_.str.2@PAGEOFF
	b	LBB0_18
LBB0_15:
	ldr	w0, [x19]
Lloh15:
	adrp	x1, l_.str.3@PAGE
Lloh16:
	add	x1, x1, l_.str.3@PAGEOFF
	b	LBB0_18
LBB0_16:
	ldr	w0, [x19]
Lloh17:
	adrp	x1, l_.str.5@PAGE
Lloh18:
	add	x1, x1, l_.str.5@PAGEOFF
	b	LBB0_18
LBB0_17:
	ldr	w0, [x19]
Lloh19:
	adrp	x1, l_.str.4@PAGE
Lloh20:
	add	x1, x1, l_.str.4@PAGEOFF
LBB0_18:
	bl	_netdev_info
	mov	w0, #0
LBB0_19:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpAdd	Lloh11, Lloh12
	.loh AdrpAdd	Lloh13, Lloh14
	.loh AdrpAdd	Lloh15, Lloh16
	.loh AdrpAdd	Lloh17, Lloh18
	.loh AdrpAdd	Lloh19, Lloh20
	.cfi_endproc
                                        ; -- End function
	.comm	_BNXT_TC_FLOW_FLAGS_PORTS,4,2   ; @BNXT_TC_FLOW_FLAGS_PORTS
	.comm	_IPPROTO_TCP,8,3                ; @IPPROTO_TCP
	.comm	_IPPROTO_UDP,8,3                ; @IPPROTO_UDP
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Cannot offload non-TCP/UDP (%d) ports"

l_.str.1:                               ; @.str.1
	.asciz	"Wildcard match unsupported for Source MAC\n"

l_.str.2:                               ; @.str.2
	.asciz	"Wildcard match unsupported for Dest MAC\n"

l_.str.3:                               ; @.str.3
	.asciz	"Unsupported VLAN TCI\n"

l_.str.4:                               ; @.str.4
	.asciz	"Wildcard match unsupported for VLAN TPID\n"

l_.str.5:                               ; @.str.5
	.asciz	"Wildcard match unsupported for Ethertype\n"

	.no_dead_strip	_bnxt_tc_can_offload
.subsections_via_symbols
