	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function i40e_vsi_config_dcb_rings
_i40e_vsi_config_dcb_rings:             ## @i40e_vsi_config_dcb_rings
	.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	%rdi, %r14
	movq	40(%rdi), %rax
	movq	_I40E_FLAG_DCB_ENABLED@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	testl	%ecx, (%rax)
	je	LBB0_8
## %bb.1:
	movq	_I40E_MAX_TRAFFIC_CLASS@GOTPCREL(%rip), %r15
	cmpl	$0, (%r15)
	jle	LBB0_16
## %bb.2:
	xorl	%ebx, %ebx
	jmp	LBB0_3
	.p2align	4, 0x90
LBB0_7:                                 ##   in Loop: Header=BB0_3 Depth=1
	incq	%rbx
	movslq	(%r15), %rax
	cmpq	%rax, %rbx
	jge	LBB0_16
LBB0_3:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_6 Depth 2
	movl	24(%r14), %r12d
	movl	%ebx, %edi
	callq	_BIT_ULL
	testl	%r12d, %eax
	je	LBB0_7
## %bb.4:                               ##   in Loop: Header=BB0_3 Depth=1
	movq	32(%r14), %rcx
	movslq	4(%rcx,%rbx,8), %r8
	testq	%r8, %r8
	jle	LBB0_7
## %bb.5:                               ##   in Loop: Header=BB0_3 Depth=1
	movslq	(%rcx,%rbx,8), %rcx
	addq	%rcx, %r8
	movq	8(%r14), %rdx
	movq	16(%r14), %rsi
	.p2align	4, 0x90
LBB0_6:                                 ##   Parent Loop BB0_3 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movq	(%rsi,%rcx,8), %rdi
	movq	(%rdx,%rcx,8), %rax
	movl	%ebx, (%rdi)
	movl	%ebx, (%rax)
	incq	%rcx
	cmpq	%r8, %rcx
	jl	LBB0_6
	jmp	LBB0_7
LBB0_8:
	movl	(%r14), %esi
	testl	%esi, %esi
	jle	LBB0_16
## %bb.9:
	movq	8(%r14), %rdx
	movq	16(%r14), %rcx
	leaq	-1(%rsi), %rdi
	movl	%esi, %r8d
	andl	$3, %r8d
	cmpq	$3, %rdi
	jae	LBB0_11
## %bb.10:
	xorl	%edi, %edi
	jmp	LBB0_13
LBB0_11:
	andl	$-4, %esi
	xorl	%edi, %edi
	.p2align	4, 0x90
LBB0_12:                                ## =>This Inner Loop Header: Depth=1
	movq	(%rcx,%rdi,8), %rbx
	movq	(%rdx,%rdi,8), %rax
	movl	$0, (%rbx)
	movl	$0, (%rax)
	movq	8(%rcx,%rdi,8), %rax
	movq	8(%rdx,%rdi,8), %rbx
	movl	$0, (%rax)
	movl	$0, (%rbx)
	movq	16(%rcx,%rdi,8), %rax
	movq	16(%rdx,%rdi,8), %rbx
	movl	$0, (%rax)
	movl	$0, (%rbx)
	movq	24(%rcx,%rdi,8), %rax
	movq	24(%rdx,%rdi,8), %rbx
	movl	$0, (%rax)
	movl	$0, (%rbx)
	addq	$4, %rdi
	cmpq	%rdi, %rsi
	jne	LBB0_12
LBB0_13:
	testq	%r8, %r8
	je	LBB0_16
## %bb.14:
	leaq	(%rdx,%rdi,8), %rdx
	leaq	(%rcx,%rdi,8), %rcx
	xorl	%esi, %esi
	.p2align	4, 0x90
LBB0_15:                                ## =>This Inner Loop Header: Depth=1
	movq	(%rcx,%rsi,8), %rax
	movq	(%rdx,%rsi,8), %rdi
	movl	$0, (%rax)
	movl	$0, (%rdi)
	incq	%rsi
	cmpq	%rsi, %r8
	jne	LBB0_15
LBB0_16:
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_I40E_FLAG_DCB_ENABLED,4,2      ## @I40E_FLAG_DCB_ENABLED
	.comm	_I40E_MAX_TRAFFIC_CLASS,4,2     ## @I40E_MAX_TRAFFIC_CLASS
	.no_dead_strip	_i40e_vsi_config_dcb_rings
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function i40e_vsi_config_dcb_rings
_i40e_vsi_config_dcb_rings:             ; @i40e_vsi_config_dcb_rings
	.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, x0
	ldr	x8, [x0, #40]
	ldr	w8, [x8]
Lloh0:
	adrp	x9, _I40E_FLAG_DCB_ENABLED@GOTPAGE
Lloh1:
	ldr	x9, [x9, _I40E_FLAG_DCB_ENABLED@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_8
; %bb.1:
Lloh3:
	adrp	x21, _I40E_MAX_TRAFFIC_CLASS@GOTPAGE
Lloh4:
	ldr	x21, [x21, _I40E_MAX_TRAFFIC_CLASS@GOTPAGEOFF]
	ldr	w8, [x21]
	cmp	w8, #1
	b.lt	LBB0_11
; %bb.2:
	mov	x20, #0
	b	LBB0_4
LBB0_3:                                 ;   in Loop: Header=BB0_4 Depth=1
	add	x20, x20, #1
	ldrsw	x8, [x21]
	cmp	x20, x8
	b.ge	LBB0_11
LBB0_4:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_7 Depth 2
	ldr	w22, [x19, #24]
	mov	x0, x20
	bl	_BIT_ULL
	tst	w0, w22
	b.eq	LBB0_3
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	x8, [x19, #32]
	add	x9, x8, x20, lsl #3
	ldrsw	x9, [x9, #4]
	cmp	w9, #1
	b.lt	LBB0_3
; %bb.6:                                ;   in Loop: Header=BB0_4 Depth=1
	lsl	x10, x20, #3
	ldrsw	x8, [x8, x10]
	add	x9, x9, x8
	ldp	x11, x10, [x19, #8]
LBB0_7:                                 ;   Parent Loop BB0_4 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	lsl	x12, x8, #3
	ldr	x13, [x10, x12]
	ldr	x12, [x11, x12]
	str	w20, [x13]
	str	w20, [x12]
	add	x8, x8, #1
	cmp	x8, x9
	b.lt	LBB0_7
	b	LBB0_3
LBB0_8:
	ldr	w8, [x19]
	cmp	w8, #1
	b.lt	LBB0_11
; %bb.9:
	ldp	x10, x9, [x19, #8]
LBB0_10:                                ; =>This Inner Loop Header: Depth=1
	ldr	x11, [x9], #8
	ldr	x12, [x10], #8
	str	wzr, [x11]
	str	wzr, [x12]
	subs	x8, x8, #1
	b.ne	LBB0_10
LBB0_11:
	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 AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh3, Lloh4
	.cfi_endproc
                                        ; -- End function
	.comm	_I40E_FLAG_DCB_ENABLED,4,2      ; @I40E_FLAG_DCB_ENABLED
	.comm	_I40E_MAX_TRAFFIC_CLASS,4,2     ; @I40E_MAX_TRAFFIC_CLASS
	.no_dead_strip	_i40e_vsi_config_dcb_rings
.subsections_via_symbols
