	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function bnx2x_pmf_update
_bnx2x_pmf_update:                      ## @bnx2x_pmf_update
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %rbx
	callq	_BP_PORT
	movl	%eax, %r15d
	movl	$1, 12(%rbx)
	movq	_BNX2X_MSG_MCP@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str(%rip), %rsi
	movl	$1, %edx
	callq	_DP
	xorl	%eax, %eax
	callq	_smp_mb
	movq	_bnx2x_wq@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	8(%rbx), %rsi
	xorl	%edx, %edx
	callq	_queue_delayed_work
	movq	%rbx, %rdi
	callq	_bnx2x_dcbx_pmf_update
	movq	%rbx, %rdi
	callq	_BP_VN
	addb	$4, %al
	movl	$65295, %r14d                   ## imm = 0xFF0F
	btsl	%eax, %r14d
	movq	(%rbx), %rax
	movq	_INT_BLOCK_HC@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_2
## %bb.1:
	movq	_HC_REG_TRAILING_EDGE_0@GOTPCREL(%rip), %rax
	shll	$3, %r15d
	movslq	%r15d, %r15
	movq	(%rax), %rsi
	addq	%r15, %rsi
	movq	%rbx, %rdi
	movl	%r14d, %edx
	callq	_REG_WR
	movq	_HC_REG_LEADING_EDGE_0@GOTPCREL(%rip), %rax
	addq	(%rax), %r15
	jmp	LBB0_4
LBB0_2:
	movq	%rbx, %rdi
	callq	_CHIP_IS_E1x
	testl	%eax, %eax
	jne	LBB0_5
## %bb.3:
	movq	_IGU_REG_TRAILING_EDGE_LATCH@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	movq	%rbx, %rdi
	movl	%r14d, %edx
	callq	_REG_WR
	movq	_IGU_REG_LEADING_EDGE_LATCH@GOTPCREL(%rip), %rax
	movq	(%rax), %r15
LBB0_4:
	movq	%rbx, %rdi
	movq	%r15, %rsi
	movl	%r14d, %edx
	callq	_REG_WR
LBB0_5:
	movq	_STATS_EVENT_PMF@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_bnx2x_stats_handle             ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_BNX2X_MSG_MCP,4,2              ## @BNX2X_MSG_MCP
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"pmf %d\n"

	.comm	_bnx2x_wq,4,2                   ## @bnx2x_wq
	.comm	_INT_BLOCK_HC,8,3               ## @INT_BLOCK_HC
	.comm	_HC_REG_TRAILING_EDGE_0,8,3     ## @HC_REG_TRAILING_EDGE_0
	.comm	_HC_REG_LEADING_EDGE_0,8,3      ## @HC_REG_LEADING_EDGE_0
	.comm	_IGU_REG_TRAILING_EDGE_LATCH,8,3 ## @IGU_REG_TRAILING_EDGE_LATCH
	.comm	_IGU_REG_LEADING_EDGE_LATCH,8,3 ## @IGU_REG_LEADING_EDGE_LATCH
	.comm	_STATS_EVENT_PMF,4,2            ## @STATS_EVENT_PMF
	.no_dead_strip	_bnx2x_pmf_update
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function bnx2x_pmf_update
_bnx2x_pmf_update:                      ; @bnx2x_pmf_update
	.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
	bl	_BP_PORT
	mov	x21, x0
	mov	w20, #1
	str	w20, [x19, #12]
Lloh0:
	adrp	x8, _BNX2X_MSG_MCP@GOTPAGE
Lloh1:
	ldr	x8, [x8, _BNX2X_MSG_MCP@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
Lloh3:
	adrp	x1, l_.str@PAGE
Lloh4:
	add	x1, x1, l_.str@PAGEOFF
	mov	w2, #1
	bl	_DP
	bl	_smp_mb
Lloh5:
	adrp	x8, _bnx2x_wq@GOTPAGE
Lloh6:
	ldr	x8, [x8, _bnx2x_wq@GOTPAGEOFF]
Lloh7:
	ldr	w0, [x8]
	add	x1, x19, #8
	mov	w2, #0
	bl	_queue_delayed_work
	mov	x0, x19
	bl	_bnx2x_dcbx_pmf_update
	mov	x0, x19
	bl	_BP_VN
	add	w8, w0, #4
	lsl	w8, w20, w8
	mov	w9, #65295
	orr	w20, w8, w9
	ldr	x8, [x19]
Lloh8:
	adrp	x9, _INT_BLOCK_HC@GOTPAGE
Lloh9:
	ldr	x9, [x9, _INT_BLOCK_HC@GOTPAGEOFF]
Lloh10:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_2
; %bb.1:
Lloh11:
	adrp	x8, _HC_REG_TRAILING_EDGE_0@GOTPAGE
Lloh12:
	ldr	x8, [x8, _HC_REG_TRAILING_EDGE_0@GOTPAGEOFF]
Lloh13:
	ldr	x8, [x8]
	lsl	w9, w21, #3
	sxtw	x21, w9
	add	x1, x8, x21
	mov	x0, x19
	mov	x2, x20
	bl	_REG_WR
Lloh14:
	adrp	x8, _HC_REG_LEADING_EDGE_0@GOTPAGE
Lloh15:
	ldr	x8, [x8, _HC_REG_LEADING_EDGE_0@GOTPAGEOFF]
Lloh16:
	ldr	x8, [x8]
	add	x1, x8, x21
	b	LBB0_4
LBB0_2:
	mov	x0, x19
	bl	_CHIP_IS_E1x
	cbnz	w0, LBB0_5
; %bb.3:
Lloh17:
	adrp	x8, _IGU_REG_TRAILING_EDGE_LATCH@GOTPAGE
Lloh18:
	ldr	x8, [x8, _IGU_REG_TRAILING_EDGE_LATCH@GOTPAGEOFF]
Lloh19:
	ldr	x1, [x8]
	mov	x0, x19
	mov	x2, x20
	bl	_REG_WR
Lloh20:
	adrp	x8, _IGU_REG_LEADING_EDGE_LATCH@GOTPAGE
Lloh21:
	ldr	x8, [x8, _IGU_REG_LEADING_EDGE_LATCH@GOTPAGEOFF]
Lloh22:
	ldr	x1, [x8]
LBB0_4:
	mov	x0, x19
	mov	x2, x20
	bl	_REG_WR
LBB0_5:
Lloh23:
	adrp	x8, _STATS_EVENT_PMF@GOTPAGE
Lloh24:
	ldr	x8, [x8, _STATS_EVENT_PMF@GOTPAGEOFF]
Lloh25:
	ldr	w1, [x8]
	mov	x0, x19
	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
	b	_bnx2x_stats_handle
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh25
	.cfi_endproc
                                        ; -- End function
	.comm	_BNX2X_MSG_MCP,4,2              ; @BNX2X_MSG_MCP
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"pmf %d\n"

	.comm	_bnx2x_wq,4,2                   ; @bnx2x_wq
	.comm	_INT_BLOCK_HC,8,3               ; @INT_BLOCK_HC
	.comm	_HC_REG_TRAILING_EDGE_0,8,3     ; @HC_REG_TRAILING_EDGE_0
	.comm	_HC_REG_LEADING_EDGE_0,8,3      ; @HC_REG_LEADING_EDGE_0
	.comm	_IGU_REG_TRAILING_EDGE_LATCH,8,3 ; @IGU_REG_TRAILING_EDGE_LATCH
	.comm	_IGU_REG_LEADING_EDGE_LATCH,8,3 ; @IGU_REG_LEADING_EDGE_LATCH
	.comm	_STATS_EVENT_PMF,4,2            ; @STATS_EVENT_PMF
	.no_dead_strip	_bnx2x_pmf_update
.subsections_via_symbols
