	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function bnx2x_ets_e3b0_set_credit_upper_bound_nig
_bnx2x_ets_e3b0_set_credit_upper_bound_nig: ## @bnx2x_ets_e3b0_set_credit_upper_bound_nig
	.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
	subq	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	8(%rdi), %r15
	movq	(%rdi), %rbx
	movq	%rbx, -64(%rbp)                 ## 8-byte Spill
	movl	%esi, %edi
	callq	_bnx2x_ets_get_credit_upper_bound
	movl	%eax, %r14d
	testq	%rbx, %rbx
	movq	%r15, %rbx
	movq	_NIG_REG_P1_TX_ARB_CREDIT_UPPER_BOUND_0@GOTPCREL(%rip), %rax
	cmoveq	_NIG_REG_P0_TX_ARB_CREDIT_UPPER_BOUND_0@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_NIG_REG_P1_TX_ARB_CREDIT_UPPER_BOUND_1@GOTPCREL(%rip), %r12
	cmoveq	_NIG_REG_P0_TX_ARB_CREDIT_UPPER_BOUND_1@GOTPCREL(%rip), %r12
	movq	_NIG_REG_P1_TX_ARB_CREDIT_UPPER_BOUND_2@GOTPCREL(%rip), %r13
	cmoveq	_NIG_REG_P0_TX_ARB_CREDIT_UPPER_BOUND_2@GOTPCREL(%rip), %r13
	movq	_NIG_REG_P1_TX_ARB_CREDIT_UPPER_BOUND_3@GOTPCREL(%rip), %r15
	cmoveq	_NIG_REG_P0_TX_ARB_CREDIT_UPPER_BOUND_3@GOTPCREL(%rip), %r15
	movq	_NIG_REG_P1_TX_ARB_CREDIT_UPPER_BOUND_4@GOTPCREL(%rip), %rax
	cmoveq	_NIG_REG_P0_TX_ARB_CREDIT_UPPER_BOUND_4@GOTPCREL(%rip), %rax
	movq	%rax, -48(%rbp)                 ## 8-byte Spill
	movq	_NIG_REG_P1_TX_ARB_CREDIT_UPPER_BOUND_5@GOTPCREL(%rip), %rax
	cmoveq	_NIG_REG_P0_TX_ARB_CREDIT_UPPER_BOUND_5@GOTPCREL(%rip), %rax
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	movq	%rbx, %rdi
	movl	%r14d, %edx
	callq	_REG_WR
	movl	(%r12), %esi
	movq	%rbx, %rdi
	movl	%r14d, %edx
	callq	_REG_WR
	movl	(%r13), %esi
	movq	%rbx, %rdi
	movl	%r14d, %edx
	callq	_REG_WR
	movl	(%r15), %esi
	movq	%rbx, %rdi
	movl	%r14d, %edx
	callq	_REG_WR
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	movl	(%rax), %esi
	movq	%rbx, %rdi
	movl	%r14d, %edx
	callq	_REG_WR
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	movl	(%rax), %esi
	movq	%rbx, %rdi
	movl	%r14d, %edx
	callq	_REG_WR
	cmpq	$0, -64(%rbp)                   ## 8-byte Folded Reload
	je	LBB0_2
## %bb.1:
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_2:
	movq	_NIG_REG_P0_TX_ARB_CREDIT_UPPER_BOUND_6@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	movl	%r14d, %edx
	callq	_REG_WR
	movq	_NIG_REG_P0_TX_ARB_CREDIT_UPPER_BOUND_7@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	movl	%r14d, %edx
	callq	_REG_WR
	movq	_NIG_REG_P0_TX_ARB_CREDIT_UPPER_BOUND_8@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	movl	%r14d, %edx
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_REG_WR                         ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_NIG_REG_P1_TX_ARB_CREDIT_UPPER_BOUND_0,4,2 ## @NIG_REG_P1_TX_ARB_CREDIT_UPPER_BOUND_0
	.comm	_NIG_REG_P0_TX_ARB_CREDIT_UPPER_BOUND_0,4,2 ## @NIG_REG_P0_TX_ARB_CREDIT_UPPER_BOUND_0
	.comm	_NIG_REG_P1_TX_ARB_CREDIT_UPPER_BOUND_1,4,2 ## @NIG_REG_P1_TX_ARB_CREDIT_UPPER_BOUND_1
	.comm	_NIG_REG_P0_TX_ARB_CREDIT_UPPER_BOUND_1,4,2 ## @NIG_REG_P0_TX_ARB_CREDIT_UPPER_BOUND_1
	.comm	_NIG_REG_P1_TX_ARB_CREDIT_UPPER_BOUND_2,4,2 ## @NIG_REG_P1_TX_ARB_CREDIT_UPPER_BOUND_2
	.comm	_NIG_REG_P0_TX_ARB_CREDIT_UPPER_BOUND_2,4,2 ## @NIG_REG_P0_TX_ARB_CREDIT_UPPER_BOUND_2
	.comm	_NIG_REG_P1_TX_ARB_CREDIT_UPPER_BOUND_3,4,2 ## @NIG_REG_P1_TX_ARB_CREDIT_UPPER_BOUND_3
	.comm	_NIG_REG_P0_TX_ARB_CREDIT_UPPER_BOUND_3,4,2 ## @NIG_REG_P0_TX_ARB_CREDIT_UPPER_BOUND_3
	.comm	_NIG_REG_P1_TX_ARB_CREDIT_UPPER_BOUND_4,4,2 ## @NIG_REG_P1_TX_ARB_CREDIT_UPPER_BOUND_4
	.comm	_NIG_REG_P0_TX_ARB_CREDIT_UPPER_BOUND_4,4,2 ## @NIG_REG_P0_TX_ARB_CREDIT_UPPER_BOUND_4
	.comm	_NIG_REG_P1_TX_ARB_CREDIT_UPPER_BOUND_5,4,2 ## @NIG_REG_P1_TX_ARB_CREDIT_UPPER_BOUND_5
	.comm	_NIG_REG_P0_TX_ARB_CREDIT_UPPER_BOUND_5,4,2 ## @NIG_REG_P0_TX_ARB_CREDIT_UPPER_BOUND_5
	.comm	_NIG_REG_P0_TX_ARB_CREDIT_UPPER_BOUND_6,4,2 ## @NIG_REG_P0_TX_ARB_CREDIT_UPPER_BOUND_6
	.comm	_NIG_REG_P0_TX_ARB_CREDIT_UPPER_BOUND_7,4,2 ## @NIG_REG_P0_TX_ARB_CREDIT_UPPER_BOUND_7
	.comm	_NIG_REG_P0_TX_ARB_CREDIT_UPPER_BOUND_8,4,2 ## @NIG_REG_P0_TX_ARB_CREDIT_UPPER_BOUND_8
	.no_dead_strip	_bnx2x_ets_e3b0_set_credit_upper_bound_nig
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function bnx2x_ets_e3b0_set_credit_upper_bound_nig
_bnx2x_ets_e3b0_set_credit_upper_bound_nig: ; @bnx2x_ets_e3b0_set_credit_upper_bound_nig
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	ldp	x21, x19, [x0]
	mov	x0, x1
	bl	_bnx2x_ets_get_credit_upper_bound
	mov	x20, x0
Lloh0:
	adrp	x8, _NIG_REG_P1_TX_ARB_CREDIT_UPPER_BOUND_0@GOTPAGE
Lloh1:
	ldr	x8, [x8, _NIG_REG_P1_TX_ARB_CREDIT_UPPER_BOUND_0@GOTPAGEOFF]
Lloh2:
	adrp	x9, _NIG_REG_P0_TX_ARB_CREDIT_UPPER_BOUND_0@GOTPAGE
Lloh3:
	ldr	x9, [x9, _NIG_REG_P0_TX_ARB_CREDIT_UPPER_BOUND_0@GOTPAGEOFF]
	cmp	x21, #0
	csel	x8, x9, x8, eq
	ldr	w1, [x8]
Lloh4:
	adrp	x8, _NIG_REG_P1_TX_ARB_CREDIT_UPPER_BOUND_1@GOTPAGE
Lloh5:
	ldr	x8, [x8, _NIG_REG_P1_TX_ARB_CREDIT_UPPER_BOUND_1@GOTPAGEOFF]
Lloh6:
	adrp	x9, _NIG_REG_P0_TX_ARB_CREDIT_UPPER_BOUND_1@GOTPAGE
Lloh7:
	ldr	x9, [x9, _NIG_REG_P0_TX_ARB_CREDIT_UPPER_BOUND_1@GOTPAGEOFF]
	csel	x22, x9, x8, eq
Lloh8:
	adrp	x8, _NIG_REG_P1_TX_ARB_CREDIT_UPPER_BOUND_2@GOTPAGE
Lloh9:
	ldr	x8, [x8, _NIG_REG_P1_TX_ARB_CREDIT_UPPER_BOUND_2@GOTPAGEOFF]
Lloh10:
	adrp	x9, _NIG_REG_P0_TX_ARB_CREDIT_UPPER_BOUND_2@GOTPAGE
Lloh11:
	ldr	x9, [x9, _NIG_REG_P0_TX_ARB_CREDIT_UPPER_BOUND_2@GOTPAGEOFF]
	csel	x23, x9, x8, eq
Lloh12:
	adrp	x8, _NIG_REG_P1_TX_ARB_CREDIT_UPPER_BOUND_3@GOTPAGE
Lloh13:
	ldr	x8, [x8, _NIG_REG_P1_TX_ARB_CREDIT_UPPER_BOUND_3@GOTPAGEOFF]
Lloh14:
	adrp	x9, _NIG_REG_P0_TX_ARB_CREDIT_UPPER_BOUND_3@GOTPAGE
Lloh15:
	ldr	x9, [x9, _NIG_REG_P0_TX_ARB_CREDIT_UPPER_BOUND_3@GOTPAGEOFF]
Lloh16:
	adrp	x10, _NIG_REG_P1_TX_ARB_CREDIT_UPPER_BOUND_4@GOTPAGE
Lloh17:
	ldr	x10, [x10, _NIG_REG_P1_TX_ARB_CREDIT_UPPER_BOUND_4@GOTPAGEOFF]
	csel	x24, x9, x8, eq
Lloh18:
	adrp	x8, _NIG_REG_P0_TX_ARB_CREDIT_UPPER_BOUND_4@GOTPAGE
Lloh19:
	ldr	x8, [x8, _NIG_REG_P0_TX_ARB_CREDIT_UPPER_BOUND_4@GOTPAGEOFF]
	csel	x25, x8, x10, eq
Lloh20:
	adrp	x8, _NIG_REG_P1_TX_ARB_CREDIT_UPPER_BOUND_5@GOTPAGE
Lloh21:
	ldr	x8, [x8, _NIG_REG_P1_TX_ARB_CREDIT_UPPER_BOUND_5@GOTPAGEOFF]
Lloh22:
	adrp	x9, _NIG_REG_P0_TX_ARB_CREDIT_UPPER_BOUND_5@GOTPAGE
Lloh23:
	ldr	x9, [x9, _NIG_REG_P0_TX_ARB_CREDIT_UPPER_BOUND_5@GOTPAGEOFF]
	csel	x26, x9, x8, eq
	mov	x0, x19
	mov	x2, x20
	bl	_REG_WR
	ldr	w1, [x22]
	mov	x0, x19
	mov	x2, x20
	bl	_REG_WR
	ldr	w1, [x23]
	mov	x0, x19
	mov	x2, x20
	bl	_REG_WR
	ldr	w1, [x24]
	mov	x0, x19
	mov	x2, x20
	bl	_REG_WR
	ldr	w1, [x25]
	mov	x0, x19
	mov	x2, x20
	bl	_REG_WR
	ldr	w1, [x26]
	mov	x0, x19
	mov	x2, x20
	bl	_REG_WR
	cbz	x21, LBB0_2
; %bb.1:
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	ret
LBB0_2:
Lloh24:
	adrp	x8, _NIG_REG_P0_TX_ARB_CREDIT_UPPER_BOUND_6@GOTPAGE
Lloh25:
	ldr	x8, [x8, _NIG_REG_P0_TX_ARB_CREDIT_UPPER_BOUND_6@GOTPAGEOFF]
Lloh26:
	ldr	w1, [x8]
	mov	x0, x19
	mov	x2, x20
	bl	_REG_WR
Lloh27:
	adrp	x8, _NIG_REG_P0_TX_ARB_CREDIT_UPPER_BOUND_7@GOTPAGE
Lloh28:
	ldr	x8, [x8, _NIG_REG_P0_TX_ARB_CREDIT_UPPER_BOUND_7@GOTPAGEOFF]
Lloh29:
	ldr	w1, [x8]
	mov	x0, x19
	mov	x2, x20
	bl	_REG_WR
Lloh30:
	adrp	x8, _NIG_REG_P0_TX_ARB_CREDIT_UPPER_BOUND_8@GOTPAGE
Lloh31:
	ldr	x8, [x8, _NIG_REG_P0_TX_ARB_CREDIT_UPPER_BOUND_8@GOTPAGEOFF]
Lloh32:
	ldr	w1, [x8]
	mov	x0, x19
	mov	x2, x20
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	b	_REG_WR
	.loh AdrpLdrGot	Lloh22, Lloh23
	.loh AdrpLdrGot	Lloh20, Lloh21
	.loh AdrpLdrGot	Lloh18, Lloh19
	.loh AdrpLdrGot	Lloh16, Lloh17
	.loh AdrpLdrGot	Lloh14, Lloh15
	.loh AdrpLdrGot	Lloh12, Lloh13
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh30, Lloh31, Lloh32
	.loh AdrpLdrGotLdr	Lloh27, Lloh28, Lloh29
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.cfi_endproc
                                        ; -- End function
	.comm	_NIG_REG_P1_TX_ARB_CREDIT_UPPER_BOUND_0,4,2 ; @NIG_REG_P1_TX_ARB_CREDIT_UPPER_BOUND_0
	.comm	_NIG_REG_P0_TX_ARB_CREDIT_UPPER_BOUND_0,4,2 ; @NIG_REG_P0_TX_ARB_CREDIT_UPPER_BOUND_0
	.comm	_NIG_REG_P1_TX_ARB_CREDIT_UPPER_BOUND_1,4,2 ; @NIG_REG_P1_TX_ARB_CREDIT_UPPER_BOUND_1
	.comm	_NIG_REG_P0_TX_ARB_CREDIT_UPPER_BOUND_1,4,2 ; @NIG_REG_P0_TX_ARB_CREDIT_UPPER_BOUND_1
	.comm	_NIG_REG_P1_TX_ARB_CREDIT_UPPER_BOUND_2,4,2 ; @NIG_REG_P1_TX_ARB_CREDIT_UPPER_BOUND_2
	.comm	_NIG_REG_P0_TX_ARB_CREDIT_UPPER_BOUND_2,4,2 ; @NIG_REG_P0_TX_ARB_CREDIT_UPPER_BOUND_2
	.comm	_NIG_REG_P1_TX_ARB_CREDIT_UPPER_BOUND_3,4,2 ; @NIG_REG_P1_TX_ARB_CREDIT_UPPER_BOUND_3
	.comm	_NIG_REG_P0_TX_ARB_CREDIT_UPPER_BOUND_3,4,2 ; @NIG_REG_P0_TX_ARB_CREDIT_UPPER_BOUND_3
	.comm	_NIG_REG_P1_TX_ARB_CREDIT_UPPER_BOUND_4,4,2 ; @NIG_REG_P1_TX_ARB_CREDIT_UPPER_BOUND_4
	.comm	_NIG_REG_P0_TX_ARB_CREDIT_UPPER_BOUND_4,4,2 ; @NIG_REG_P0_TX_ARB_CREDIT_UPPER_BOUND_4
	.comm	_NIG_REG_P1_TX_ARB_CREDIT_UPPER_BOUND_5,4,2 ; @NIG_REG_P1_TX_ARB_CREDIT_UPPER_BOUND_5
	.comm	_NIG_REG_P0_TX_ARB_CREDIT_UPPER_BOUND_5,4,2 ; @NIG_REG_P0_TX_ARB_CREDIT_UPPER_BOUND_5
	.comm	_NIG_REG_P0_TX_ARB_CREDIT_UPPER_BOUND_6,4,2 ; @NIG_REG_P0_TX_ARB_CREDIT_UPPER_BOUND_6
	.comm	_NIG_REG_P0_TX_ARB_CREDIT_UPPER_BOUND_7,4,2 ; @NIG_REG_P0_TX_ARB_CREDIT_UPPER_BOUND_7
	.comm	_NIG_REG_P0_TX_ARB_CREDIT_UPPER_BOUND_8,4,2 ; @NIG_REG_P0_TX_ARB_CREDIT_UPPER_BOUND_8
	.no_dead_strip	_bnx2x_ets_e3b0_set_credit_upper_bound_nig
.subsections_via_symbols
