	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function bnx2x_dcc_event
_bnx2x_dcc_event:                       ## @bnx2x_dcc_event
	.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
	movl	%esi, %ebx
	movq	%rdi, %r14
	movq	_BNX2X_MSG_MCP@GOTPCREL(%rip), %r12
	movl	(%r12), %edi
	leaq	L_.str(%rip), %rsi
	movl	%ebx, %edx
	xorl	%eax, %eax
	callq	_DP
	movq	_DRV_STATUS_DCC_DISABLE_ENABLE_PF@GOTPCREL(%rip), %r15
	testl	%ebx, (%r15)
	je	LBB0_5
## %bb.1:
	movq	(%r14), %r13
	movq	%r14, %rdi
	callq	_BP_VN
	movq	_FUNC_MF_CFG_FUNC_DISABLED@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movl	(%r12), %edi
	testl	%ecx, (%r13,%rax,4)
	je	LBB0_3
## %bb.2:
	leaq	L_.str.1(%rip), %rsi
	xorl	%eax, %eax
	callq	_DP
	movq	_MF_FUNC_DIS@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	orl	%eax, 8(%r14)
	movq	%r14, %rdi
	callq	_bnx2x_e1h_disable
	jmp	LBB0_4
LBB0_3:
	leaq	L_.str.2(%rip), %rsi
	xorl	%eax, %eax
	callq	_DP
	movq	_MF_FUNC_DIS@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	notl	%eax
	andl	%eax, 8(%r14)
	movq	%r14, %rdi
	callq	_bnx2x_e1h_enable
LBB0_4:
	movl	(%r15), %eax
	notl	%eax
	andl	%eax, %ebx
LBB0_5:
	movq	_DRV_STATUS_DCC_BANDWIDTH_ALLOCATION@GOTPCREL(%rip), %r15
	testl	%ebx, (%r15)
	je	LBB0_7
## %bb.6:
	movq	%r14, %rdi
	callq	_bnx2x_config_mf_bw
	movl	(%r15), %eax
	notl	%eax
	andl	%eax, %ebx
LBB0_7:
	testl	%ebx, %ebx
	jne	LBB0_8
## %bb.9:
	movq	_DRV_MSG_CODE_DCC_OK@GOTPCREL(%rip), %rax
	jmp	LBB0_10
LBB0_8:
	movq	_DRV_MSG_CODE_DCC_FAILURE@GOTPCREL(%rip), %rax
LBB0_10:
	movl	(%rax), %esi
	movq	%r14, %rdi
	xorl	%edx, %edx
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_bnx2x_fw_command               ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_BNX2X_MSG_MCP,4,2              ## @BNX2X_MSG_MCP
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"dcc_event 0x%x\n"

	.comm	_DRV_STATUS_DCC_DISABLE_ENABLE_PF,4,2 ## @DRV_STATUS_DCC_DISABLE_ENABLE_PF
	.comm	_FUNC_MF_CFG_FUNC_DISABLED,4,2  ## @FUNC_MF_CFG_FUNC_DISABLED
L_.str.1:                               ## @.str.1
	.asciz	"mf_cfg function disabled\n"

	.comm	_MF_FUNC_DIS,4,2                ## @MF_FUNC_DIS
L_.str.2:                               ## @.str.2
	.asciz	"mf_cfg function enabled\n"

	.comm	_DRV_STATUS_DCC_BANDWIDTH_ALLOCATION,4,2 ## @DRV_STATUS_DCC_BANDWIDTH_ALLOCATION
	.comm	_DRV_MSG_CODE_DCC_FAILURE,4,2   ## @DRV_MSG_CODE_DCC_FAILURE
	.comm	_DRV_MSG_CODE_DCC_OK,4,2        ## @DRV_MSG_CODE_DCC_OK
	.no_dead_strip	_bnx2x_dcc_event
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function bnx2x_dcc_event
_bnx2x_dcc_event:                       ; @bnx2x_dcc_event
	.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	x19, x0
Lloh0:
	adrp	x22, _BNX2X_MSG_MCP@GOTPAGE
Lloh1:
	ldr	x22, [x22, _BNX2X_MSG_MCP@GOTPAGEOFF]
	ldr	w0, [x22]
	str	x20, [sp]
Lloh2:
	adrp	x1, l_.str@PAGE
Lloh3:
	add	x1, x1, l_.str@PAGEOFF
	bl	_DP
Lloh4:
	adrp	x21, _DRV_STATUS_DCC_DISABLE_ENABLE_PF@GOTPAGE
Lloh5:
	ldr	x21, [x21, _DRV_STATUS_DCC_DISABLE_ENABLE_PF@GOTPAGEOFF]
	ldr	w8, [x21]
	tst	w8, w20
	b.eq	LBB0_5
; %bb.1:
	ldr	x23, [x19]
	mov	x0, x19
	bl	_BP_VN
	ldr	w8, [x23, x0, lsl #2]
Lloh6:
	adrp	x9, _FUNC_MF_CFG_FUNC_DISABLED@GOTPAGE
Lloh7:
	ldr	x9, [x9, _FUNC_MF_CFG_FUNC_DISABLED@GOTPAGEOFF]
Lloh8:
	ldr	w9, [x9]
	ldr	w0, [x22]
	tst	w9, w8
	b.eq	LBB0_3
; %bb.2:
Lloh9:
	adrp	x1, l_.str.1@PAGE
Lloh10:
	add	x1, x1, l_.str.1@PAGEOFF
	bl	_DP
Lloh11:
	adrp	x8, _MF_FUNC_DIS@GOTPAGE
Lloh12:
	ldr	x8, [x8, _MF_FUNC_DIS@GOTPAGEOFF]
Lloh13:
	ldr	w8, [x8]
	ldr	w9, [x19, #8]
	orr	w8, w9, w8
	str	w8, [x19, #8]
	mov	x0, x19
	bl	_bnx2x_e1h_disable
	b	LBB0_4
LBB0_3:
Lloh14:
	adrp	x1, l_.str.2@PAGE
Lloh15:
	add	x1, x1, l_.str.2@PAGEOFF
	bl	_DP
Lloh16:
	adrp	x8, _MF_FUNC_DIS@GOTPAGE
Lloh17:
	ldr	x8, [x8, _MF_FUNC_DIS@GOTPAGEOFF]
Lloh18:
	ldr	w8, [x8]
	ldr	w9, [x19, #8]
	bic	w8, w9, w8
	str	w8, [x19, #8]
	mov	x0, x19
	bl	_bnx2x_e1h_enable
LBB0_4:
	ldr	w8, [x21]
	bic	w20, w20, w8
LBB0_5:
Lloh19:
	adrp	x21, _DRV_STATUS_DCC_BANDWIDTH_ALLOCATION@GOTPAGE
Lloh20:
	ldr	x21, [x21, _DRV_STATUS_DCC_BANDWIDTH_ALLOCATION@GOTPAGEOFF]
	ldr	w8, [x21]
	tst	w8, w20
	b.eq	LBB0_7
; %bb.6:
	mov	x0, x19
	bl	_bnx2x_config_mf_bw
	ldr	w8, [x21]
	bic	w20, w20, w8
LBB0_7:
Lloh21:
	adrp	x8, _DRV_MSG_CODE_DCC_OK@GOTPAGE
Lloh22:
	ldr	x8, [x8, _DRV_MSG_CODE_DCC_OK@GOTPAGEOFF]
Lloh23:
	adrp	x9, _DRV_MSG_CODE_DCC_FAILURE@GOTPAGE
Lloh24:
	ldr	x9, [x9, _DRV_MSG_CODE_DCC_FAILURE@GOTPAGEOFF]
	cmp	w20, #0
	csel	x8, x8, x9, eq
	ldr	w1, [x8]
	mov	x0, x19
	mov	w2, #0
	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
	b	_bnx2x_fw_command
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpAdd	Lloh14, Lloh15
	.loh AdrpLdrGot	Lloh19, Lloh20
	.loh AdrpLdrGot	Lloh23, Lloh24
	.loh AdrpLdrGot	Lloh21, Lloh22
	.cfi_endproc
                                        ; -- End function
	.comm	_BNX2X_MSG_MCP,4,2              ; @BNX2X_MSG_MCP
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"dcc_event 0x%x\n"

	.comm	_DRV_STATUS_DCC_DISABLE_ENABLE_PF,4,2 ; @DRV_STATUS_DCC_DISABLE_ENABLE_PF
	.comm	_FUNC_MF_CFG_FUNC_DISABLED,4,2  ; @FUNC_MF_CFG_FUNC_DISABLED
l_.str.1:                               ; @.str.1
	.asciz	"mf_cfg function disabled\n"

	.comm	_MF_FUNC_DIS,4,2                ; @MF_FUNC_DIS
l_.str.2:                               ; @.str.2
	.asciz	"mf_cfg function enabled\n"

	.comm	_DRV_STATUS_DCC_BANDWIDTH_ALLOCATION,4,2 ; @DRV_STATUS_DCC_BANDWIDTH_ALLOCATION
	.comm	_DRV_MSG_CODE_DCC_FAILURE,4,2   ; @DRV_MSG_CODE_DCC_FAILURE
	.comm	_DRV_MSG_CODE_DCC_OK,4,2        ; @DRV_MSG_CODE_DCC_OK
	.no_dead_strip	_bnx2x_dcc_event
.subsections_via_symbols
