	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function fm10k_dcbnl_ieee_setets
_fm10k_dcbnl_ieee_setets:               ## @fm10k_dcbnl_ieee_setets
	.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	%rsi, %r15
	movq	%rdi, %r14
	movq	_IEEE_8021QAZ_MAX_TCS@GOTPCREL(%rip), %r13
	movl	(%r13), %eax
	testl	%eax, %eax
	jle	LBB0_9
## %bb.1:
	movq	24(%r15), %rcx
	movq	_IEEE_8021QAZ_TSA_STRICT@GOTPCREL(%rip), %rdx
	movq	(%rdx), %rdx
	xorl	%esi, %esi
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	cmpq	$0, (%rcx,%rsi,8)
	jne	LBB0_4
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	16(%r15), %rdi
	cmpq	$0, (%rdi,%rsi,8)
	jne	LBB0_4
## %bb.5:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	(%r15), %rdi
	cmpq	%rdx, (%rdi,%rsi,8)
	jne	LBB0_4
## %bb.6:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	8(%r15), %rdi
	movl	(%rdi,%rsi,4), %edi
	cmpl	%ebx, %edi
	cmovgl	%edi, %ebx
	incq	%rsi
	cmpq	%rsi, %rax
	jne	LBB0_2
## %bb.7:
	testl	%ebx, %ebx
	je	LBB0_9
## %bb.8:
	incl	%ebx
	cmpl	%eax, %ebx
	jg	LBB0_4
LBB0_11:
	movq	%r14, %rdi
	callq	_netdev_get_num_tc
	cmpl	%eax, %ebx
	je	LBB0_13
## %bb.12:
	movq	%r14, %rdi
	movl	%ebx, %esi
	callq	_fm10k_setup_tc
	movl	%eax, %r12d
	testl	%eax, %eax
	jne	LBB0_17
LBB0_13:
	cmpl	$0, (%r13)
	jle	LBB0_14
## %bb.15:
	xorl	%r12d, %r12d
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_16:                                ## =>This Inner Loop Header: Depth=1
	movq	8(%r15), %rax
	movl	(%rax,%rbx,4), %edx
	movq	%r14, %rdi
	movl	%ebx, %esi
	callq	_netdev_set_prio_tc_map
	incq	%rbx
	movslq	(%r13), %rax
	cmpq	%rax, %rbx
	jl	LBB0_16
	jmp	LBB0_17
LBB0_9:
	xorl	%ebx, %ebx
	cmpl	%eax, %ebx
	jle	LBB0_11
LBB0_4:
	movq	_EINVAL@GOTPCREL(%rip), %rax
	xorl	%r12d, %r12d
	subl	(%rax), %r12d
LBB0_17:
	movl	%r12d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_14:
	xorl	%r12d, %r12d
	jmp	LBB0_17
	.cfi_endproc
                                        ## -- End function
	.comm	_IEEE_8021QAZ_MAX_TCS,4,2       ## @IEEE_8021QAZ_MAX_TCS
	.comm	_EINVAL,4,2                     ## @EINVAL
	.comm	_IEEE_8021QAZ_TSA_STRICT,8,3    ## @IEEE_8021QAZ_TSA_STRICT
	.no_dead_strip	_fm10k_dcbnl_ieee_setets
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function fm10k_dcbnl_ieee_setets
_fm10k_dcbnl_ieee_setets:               ; @fm10k_dcbnl_ieee_setets
	.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
	mov	x20, x0
Lloh0:
	adrp	x22, _IEEE_8021QAZ_MAX_TCS@GOTPAGE
Lloh1:
	ldr	x22, [x22, _IEEE_8021QAZ_MAX_TCS@GOTPAGEOFF]
	ldr	w8, [x22]
	cmp	w8, #1
	b.lt	LBB0_14
; %bb.1:
	mov	x10, #0
	mov	w9, #0
	ldr	x11, [x19, #24]
Lloh2:
	adrp	x12, _IEEE_8021QAZ_TSA_STRICT@GOTPAGE
Lloh3:
	ldr	x12, [x12, _IEEE_8021QAZ_TSA_STRICT@GOTPAGEOFF]
Lloh4:
	ldr	x12, [x12]
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x13, [x11, x10, lsl #3]
	cbnz	x13, LBB0_15
; %bb.3:                                ;   in Loop: Header=BB0_2 Depth=1
	ldr	x13, [x19, #16]
	ldr	x13, [x13, x10, lsl #3]
	cbnz	x13, LBB0_15
; %bb.4:                                ;   in Loop: Header=BB0_2 Depth=1
	ldr	x13, [x19]
	ldr	x13, [x13, x10, lsl #3]
	cmp	x13, x12
	b.ne	LBB0_15
; %bb.5:                                ;   in Loop: Header=BB0_2 Depth=1
	ldr	x13, [x19, #8]
	ldr	w13, [x13, x10, lsl #2]
	cmp	w13, w9
	csel	w9, w13, w9, gt
	add	x10, x10, #1
	cmp	x8, x10
	b.ne	LBB0_2
; %bb.6:
	cbz	w9, LBB0_14
; %bb.7:
	add	w21, w9, #1
	cmp	w21, w8
	b.gt	LBB0_15
LBB0_8:
	mov	x0, x20
	bl	_netdev_get_num_tc
	cmp	w21, w0
	b.eq	LBB0_10
; %bb.9:
	mov	x0, x20
	mov	x1, x21
	bl	_fm10k_setup_tc
	cbnz	w0, LBB0_16
LBB0_10:
	ldr	w8, [x22]
	cmp	w8, #1
	b.lt	LBB0_13
; %bb.11:
	mov	x21, #0
LBB0_12:                                ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x19, #8]
	ldr	w2, [x8, x21, lsl #2]
	mov	x0, x20
	mov	x1, x21
	bl	_netdev_set_prio_tc_map
	add	x21, x21, #1
	ldrsw	x8, [x22]
	cmp	x21, x8
	b.lt	LBB0_12
LBB0_13:
	mov	w0, #0
	b	LBB0_16
LBB0_14:
	mov	w21, #0
	cmp	w21, w8
	b.le	LBB0_8
LBB0_15:
Lloh5:
	adrp	x8, _EINVAL@GOTPAGE
Lloh6:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh7:
	ldr	w8, [x8]
	neg	w0, w8
LBB0_16:
	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
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.comm	_IEEE_8021QAZ_MAX_TCS,4,2       ; @IEEE_8021QAZ_MAX_TCS
	.comm	_EINVAL,4,2                     ; @EINVAL
	.comm	_IEEE_8021QAZ_TSA_STRICT,8,3    ; @IEEE_8021QAZ_TSA_STRICT
	.no_dead_strip	_fm10k_dcbnl_ieee_setets
.subsections_via_symbols
