	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function dpaa2_eth_set_default_cls
_dpaa2_eth_set_default_cls:             ## @dpaa2_eth_set_default_cls
	.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	%rdi, %rbx
	movq	8(%rdi), %rax
	movq	(%rax), %r14
	callq	_dpaa2_eth_has_legacy_dist
	testq	%rax, %rax
	je	LBB0_3
## %bb.1:
	leaq	L_.str(%rip), %rsi
LBB0_2:
	movq	%r14, %rdi
	callq	_dev_dbg
	movq	_EOPNOTSUPP@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	subl	(%rcx), %eax
LBB0_10:
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
LBB0_3:
	movq	%rbx, %rdi
	callq	_dpaa2_eth_fs_enabled
	testl	%eax, %eax
	je	LBB0_4
## %bb.5:
	movq	%rbx, %rdi
	callq	_dpaa2_eth_hash_enabled
	testl	%eax, %eax
	je	LBB0_6
## %bb.7:
	movq	%rbx, %rdi
	callq	_dpaa2_eth_fs_mask_enabled
	testl	%eax, %eax
	je	LBB0_9
## %bb.8:
	movq	8(%rbx), %rdi
	movq	_DPAA2_ETH_DIST_ALL@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_dpaa2_eth_set_cls
	testl	%eax, %eax
	jne	LBB0_10
LBB0_9:
	movl	$1, (%rbx)
	xorl	%eax, %eax
	jmp	LBB0_10
LBB0_4:
	leaq	L_.str.1(%rip), %rsi
	jmp	LBB0_2
LBB0_6:
	leaq	L_.str.2(%rip), %rsi
	jmp	LBB0_2
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Rx cls not supported by current MC version\n"

	.comm	_EOPNOTSUPP,4,2                 ## @EOPNOTSUPP
L_.str.1:                               ## @.str.1
	.asciz	"Rx cls disabled in DPNI options\n"

L_.str.2:                               ## @.str.2
	.asciz	"Rx cls disabled for single queue DPNIs\n"

	.comm	_DPAA2_ETH_DIST_ALL,4,2         ## @DPAA2_ETH_DIST_ALL
	.no_dead_strip	_dpaa2_eth_set_default_cls
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function dpaa2_eth_set_default_cls
_dpaa2_eth_set_default_cls:             ; @dpaa2_eth_set_default_cls
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x0
	ldr	x8, [x0, #8]
	ldr	x20, [x8]
	bl	_dpaa2_eth_has_legacy_dist
	cbz	x0, LBB0_4
; %bb.1:
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
LBB0_2:
	mov	x0, x20
	bl	_dev_dbg
Lloh2:
	adrp	x8, _EOPNOTSUPP@GOTPAGE
Lloh3:
	ldr	x8, [x8, _EOPNOTSUPP@GOTPAGEOFF]
Lloh4:
	ldr	w8, [x8]
	neg	w0, w8
LBB0_3:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
LBB0_4:
	mov	x0, x19
	bl	_dpaa2_eth_fs_enabled
	cbz	w0, LBB0_9
; %bb.5:
	mov	x0, x19
	bl	_dpaa2_eth_hash_enabled
	cbz	w0, LBB0_10
; %bb.6:
	mov	x0, x19
	bl	_dpaa2_eth_fs_mask_enabled
	cbz	w0, LBB0_8
; %bb.7:
	ldr	x0, [x19, #8]
Lloh5:
	adrp	x8, _DPAA2_ETH_DIST_ALL@GOTPAGE
Lloh6:
	ldr	x8, [x8, _DPAA2_ETH_DIST_ALL@GOTPAGEOFF]
Lloh7:
	ldr	w1, [x8]
	bl	_dpaa2_eth_set_cls
	cbnz	w0, LBB0_3
LBB0_8:
	mov	w0, #0
	mov	w8, #1
	str	w8, [x19]
	b	LBB0_3
LBB0_9:
Lloh8:
	adrp	x1, l_.str.1@PAGE
Lloh9:
	add	x1, x1, l_.str.1@PAGEOFF
	b	LBB0_2
LBB0_10:
Lloh10:
	adrp	x1, l_.str.2@PAGE
Lloh11:
	add	x1, x1, l_.str.2@PAGEOFF
	b	LBB0_2
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpAdd	Lloh10, Lloh11
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Rx cls not supported by current MC version\n"

	.comm	_EOPNOTSUPP,4,2                 ; @EOPNOTSUPP
l_.str.1:                               ; @.str.1
	.asciz	"Rx cls disabled in DPNI options\n"

l_.str.2:                               ; @.str.2
	.asciz	"Rx cls disabled for single queue DPNIs\n"

	.comm	_DPAA2_ETH_DIST_ALL,4,2         ; @DPAA2_ETH_DIST_ALL
	.no_dead_strip	_dpaa2_eth_set_default_cls
.subsections_via_symbols
