	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function bnx2x_update_pfc_bmac1
_bnx2x_update_pfc_bmac1:                ## @bnx2x_update_pfc_bmac1
	.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	%rsi, %r15
	movq	%rdi, %rbx
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	cmpq	$0, 8(%rdi)
	jne	LBB0_1
## %bb.2:
	movq	_NIG_REG_INGRESS_BMAC0_MEM@GOTPCREL(%rip), %rax
	jmp	LBB0_3
LBB0_1:
	movq	_NIG_REG_INGRESS_BMAC1_MEM@GOTPCREL(%rip), %rax
LBB0_3:
	movq	16(%rbx), %r14
	movl	(%rax), %r12d
	movq	_FEATURE_CONFIG_PFC_ENABLED@GOTPCREL(%rip), %r13
	movl	(%r13), %ecx
	movl	$20, %eax
	testl	%ecx, (%rbx)
	jne	LBB0_5
## %bb.4:
	movq	_BNX2X_FLOW_CTRL_RX@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	xorl	%eax, %eax
	testl	%ecx, (%r15)
	setne	%al
	shll	$5, %eax
	orl	$20, %eax
LBB0_5:
	movl	%eax, -56(%rbp)
	movl	$0, -52(%rbp)
	movq	_BIGMAC_REGISTER_RX_CONTROL@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	addl	%r12d, %esi
	leaq	-56(%rbp), %rdx
	movq	%r14, %rdi
	movl	$2, %ecx
	callq	_REG_WR_DMAE
	movl	(%r13), %ecx
	movl	$192, %eax
	testl	%ecx, (%rbx)
	jne	LBB0_7
## %bb.6:
	movq	_BNX2X_FLOW_CTRL_TX@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	xorl	%eax, %eax
	testl	%ecx, (%r15)
	setne	%al
	shll	$23, %eax
	orl	$192, %eax
LBB0_7:
	movl	%eax, -56(%rbp)
	movl	$0, -52(%rbp)
	movq	_BIGMAC_REGISTER_TX_CONTROL@GOTPCREL(%rip), %rax
	addl	(%rax), %r12d
	leaq	-56(%rbp), %rdx
	movq	%r14, %rdi
	movl	%r12d, %esi
	movl	$2, %ecx
	callq	_REG_WR_DMAE
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_9
## %bb.8:
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_9:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_NIG_REG_INGRESS_BMAC1_MEM,4,2  ## @NIG_REG_INGRESS_BMAC1_MEM
	.comm	_NIG_REG_INGRESS_BMAC0_MEM,4,2  ## @NIG_REG_INGRESS_BMAC0_MEM
	.comm	_FEATURE_CONFIG_PFC_ENABLED,4,2 ## @FEATURE_CONFIG_PFC_ENABLED
	.comm	_BNX2X_FLOW_CTRL_RX,4,2         ## @BNX2X_FLOW_CTRL_RX
	.comm	_BIGMAC_REGISTER_RX_CONTROL,4,2 ## @BIGMAC_REGISTER_RX_CONTROL
	.comm	_BNX2X_FLOW_CTRL_TX,4,2         ## @BNX2X_FLOW_CTRL_TX
	.comm	_BIGMAC_REGISTER_TX_CONTROL,4,2 ## @BIGMAC_REGISTER_TX_CONTROL
	.no_dead_strip	_bnx2x_update_pfc_bmac1
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function bnx2x_update_pfc_bmac1
_bnx2x_update_pfc_bmac1:                ; @bnx2x_update_pfc_bmac1
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.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
	mov	x20, x1
	mov	x21, x0
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	str	x8, [sp, #8]
Lloh3:
	adrp	x8, _NIG_REG_INGRESS_BMAC1_MEM@GOTPAGE
Lloh4:
	ldr	x8, [x8, _NIG_REG_INGRESS_BMAC1_MEM@GOTPAGEOFF]
	ldp	x9, x19, [x0, #8]
Lloh5:
	adrp	x10, _NIG_REG_INGRESS_BMAC0_MEM@GOTPAGE
Lloh6:
	ldr	x10, [x10, _NIG_REG_INGRESS_BMAC0_MEM@GOTPAGEOFF]
	cmp	x9, #0
	csel	x8, x10, x8, eq
	ldr	w22, [x8]
	ldr	w9, [x0]
Lloh7:
	adrp	x23, _FEATURE_CONFIG_PFC_ENABLED@GOTPAGE
Lloh8:
	ldr	x23, [x23, _FEATURE_CONFIG_PFC_ENABLED@GOTPAGEOFF]
	ldr	w10, [x23]
	mov	w8, #20
	tst	w10, w9
	b.ne	LBB0_2
; %bb.1:
	ldr	w9, [x20]
Lloh9:
	adrp	x10, _BNX2X_FLOW_CTRL_RX@GOTPAGE
Lloh10:
	ldr	x10, [x10, _BNX2X_FLOW_CTRL_RX@GOTPAGEOFF]
Lloh11:
	ldr	w10, [x10]
	tst	w10, w9
	mov	w9, #52
	csel	w8, w8, w9, eq
LBB0_2:
	stp	w8, wzr, [sp]
Lloh12:
	adrp	x8, _BIGMAC_REGISTER_RX_CONTROL@GOTPAGE
Lloh13:
	ldr	x8, [x8, _BIGMAC_REGISTER_RX_CONTROL@GOTPAGEOFF]
Lloh14:
	ldr	w8, [x8]
	add	w1, w8, w22
	mov	x2, sp
	mov	x0, x19
	mov	w3, #2
	bl	_REG_WR_DMAE
	ldr	w9, [x21]
	ldr	w10, [x23]
	mov	w8, #192
	tst	w10, w9
	b.ne	LBB0_4
; %bb.3:
	ldr	w9, [x20]
Lloh15:
	adrp	x10, _BNX2X_FLOW_CTRL_TX@GOTPAGE
Lloh16:
	ldr	x10, [x10, _BNX2X_FLOW_CTRL_TX@GOTPAGEOFF]
Lloh17:
	ldr	w10, [x10]
	tst	w10, w9
	mov	w9, #192
	movk	w9, #128, lsl #16
	csel	w8, w8, w9, eq
LBB0_4:
	stp	w8, wzr, [sp]
Lloh18:
	adrp	x8, _BIGMAC_REGISTER_TX_CONTROL@GOTPAGE
Lloh19:
	ldr	x8, [x8, _BIGMAC_REGISTER_TX_CONTROL@GOTPAGEOFF]
Lloh20:
	ldr	w8, [x8]
	add	w1, w8, w22
	mov	x2, sp
	mov	x0, x19
	mov	w3, #2
	bl	_REG_WR_DMAE
	ldr	x8, [sp, #8]
Lloh21:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh22:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh23:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_6
; %bb.5:
	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
	add	sp, sp, #80
	ret
LBB0_6:
	bl	___stack_chk_fail
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.cfi_endproc
                                        ; -- End function
	.comm	_NIG_REG_INGRESS_BMAC1_MEM,4,2  ; @NIG_REG_INGRESS_BMAC1_MEM
	.comm	_NIG_REG_INGRESS_BMAC0_MEM,4,2  ; @NIG_REG_INGRESS_BMAC0_MEM
	.comm	_FEATURE_CONFIG_PFC_ENABLED,4,2 ; @FEATURE_CONFIG_PFC_ENABLED
	.comm	_BNX2X_FLOW_CTRL_RX,4,2         ; @BNX2X_FLOW_CTRL_RX
	.comm	_BIGMAC_REGISTER_RX_CONTROL,4,2 ; @BIGMAC_REGISTER_RX_CONTROL
	.comm	_BNX2X_FLOW_CTRL_TX,4,2         ; @BNX2X_FLOW_CTRL_TX
	.comm	_BIGMAC_REGISTER_TX_CONTROL,4,2 ; @BIGMAC_REGISTER_TX_CONTROL
	.no_dead_strip	_bnx2x_update_pfc_bmac1
.subsections_via_symbols
