	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ixgbe_pbthresh_setup
_ixgbe_pbthresh_setup:                  ## @ixgbe_pbthresh_setup
	.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
	movl	(%rdi), %eax
	testl	%eax, %eax
	movl	$1, %r15d
	cmovnel	%eax, %r15d
	testl	%r15d, %r15d
	jle	LBB0_1
## %bb.5:
	movl	%r15d, %r12d
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_6:                                 ## =>This Inner Loop Header: Depth=1
	movq	%r14, %rdi
	movl	%ebx, %esi
	callq	_ixgbe_hpbthresh
	movq	8(%r14), %rcx
	movq	%rax, (%rcx,%rbx,8)
	movq	%r14, %rdi
	movl	%ebx, %esi
	callq	_ixgbe_lpbthresh
	movq	16(%r14), %rcx
	movq	%rax, (%rcx,%rbx,8)
	movq	8(%r14), %rdx
	cmpq	(%rdx,%rbx,8), %rax
	movl	$0, %edx
	cmovleq	%rax, %rdx
	movq	%rdx, (%rcx,%rbx,8)
	incq	%rbx
	cmpq	%rbx, %r12
	jne	LBB0_6
	jmp	LBB0_2
LBB0_1:
	xorl	%r15d, %r15d
LBB0_2:
	movq	_MAX_TRAFFIC_CLASS@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	cmpl	%eax, %r15d
	jge	LBB0_4
## %bb.3:
	movl	%r15d, %edi
	shlq	$3, %rdi
	addq	8(%r14), %rdi
	notl	%r15d
	addl	%r15d, %eax
	leaq	8(,%rax,8), %rsi
	callq	___bzero
LBB0_4:
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_MAX_TRAFFIC_CLASS,4,2          ## @MAX_TRAFFIC_CLASS
	.no_dead_strip	_ixgbe_pbthresh_setup
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ixgbe_pbthresh_setup
_ixgbe_pbthresh_setup:                  ; @ixgbe_pbthresh_setup
	.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	w8, [x0]
	cmp	w8, #0
	csinc	w21, w8, wzr, ne
	cmp	w21, #1
	b.lt	LBB0_3
; %bb.1:
	mov	x20, #0
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	mov	x0, x19
	mov	x1, x20
	bl	_ixgbe_hpbthresh
	ldr	x8, [x19, #8]
	lsl	x22, x20, #3
	str	x0, [x8, x22]
	mov	x0, x19
	mov	x1, x20
	bl	_ixgbe_lpbthresh
	ldp	x9, x8, [x19, #8]
	str	x0, [x8, x22]
	ldr	x9, [x9, x22]
	cmp	x0, x9
	csel	x9, xzr, x0, gt
	str	x9, [x8, x22]
	add	x20, x20, #1
	cmp	x21, x20
	b.ne	LBB0_2
	b	LBB0_4
LBB0_3:
	mov	w21, #0
LBB0_4:
Lloh0:
	adrp	x8, _MAX_TRAFFIC_CLASS@GOTPAGE
Lloh1:
	ldr	x8, [x8, _MAX_TRAFFIC_CLASS@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	cmp	w21, w8
	b.ge	LBB0_6
; %bb.5:
	ldr	x9, [x19, #8]
	add	x0, x9, w21, uxtw #3
	mvn	w9, w21
	add	w8, w8, w9
	lsl	x8, x8, #3
	add	x1, x8, #8
	bl	_bzero
LBB0_6:
	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
	.cfi_endproc
                                        ; -- End function
	.comm	_MAX_TRAFFIC_CLASS,4,2          ; @MAX_TRAFFIC_CLASS
	.no_dead_strip	_ixgbe_pbthresh_setup
.subsections_via_symbols
