	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_bnx2x_set_pf_load              ## -- Begin function bnx2x_set_pf_load
	.p2align	4, 0x90
_bnx2x_set_pf_load:                     ## @bnx2x_set_pf_load
	.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
	movq	%rdi, %r15
	callq	_BP_PATH
	testq	%rax, %rax
	jne	LBB0_1
## %bb.2:
	movq	_BNX2X_PATH0_LOAD_CNT_MASK@GOTPCREL(%rip), %rax
	jmp	LBB0_3
LBB0_1:
	movq	_BNX2X_PATH1_LOAD_CNT_MASK@GOTPCREL(%rip), %rax
LBB0_3:
	movl	(%rax), %r13d
	movq	%r15, %rdi
	callq	_BP_PATH
	movq	_HW_LOCK_RESOURCE_RECOVERY_REG@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	testq	%rax, %rax
	jne	LBB0_4
## %bb.5:
	movq	_BNX2X_PATH0_LOAD_CNT_SHIFT@GOTPCREL(%rip), %rax
	jmp	LBB0_6
LBB0_4:
	movq	_BNX2X_PATH1_LOAD_CNT_SHIFT@GOTPCREL(%rip), %rax
LBB0_6:
	movb	(%rax), %r14b
	movq	%r15, %rdi
	callq	_bnx2x_acquire_hw_lock
	movq	_BNX2X_RECOVERY_GLOB_REG@GOTPCREL(%rip), %r12
	movl	(%r12), %esi
	movq	%r15, %rdi
	callq	_REG_RD
	movl	%eax, %ebx
	movq	_NETIF_MSG_IFUP@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str(%rip), %rsi
	movl	%ebx, %edx
	callq	_DP
	movl	%ebx, %edx
	andl	%r13d, %edx
	movl	%r14d, %ecx
	sarl	%cl, %edx
	movb	(%r15), %al
	btsl	%eax, %edx
	shll	%cl, %edx
	xorl	%ebx, %edx
	andl	%r13d, %edx
	xorl	%ebx, %edx
	movl	(%r12), %esi
	movq	%r15, %rdi
	callq	_REG_WR
	movq	_HW_LOCK_RESOURCE_RECOVERY_REG@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r15, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_bnx2x_release_hw_lock          ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_BNX2X_PATH1_LOAD_CNT_MASK,4,2  ## @BNX2X_PATH1_LOAD_CNT_MASK
	.comm	_BNX2X_PATH0_LOAD_CNT_MASK,4,2  ## @BNX2X_PATH0_LOAD_CNT_MASK
	.comm	_BNX2X_PATH1_LOAD_CNT_SHIFT,4,2 ## @BNX2X_PATH1_LOAD_CNT_SHIFT
	.comm	_BNX2X_PATH0_LOAD_CNT_SHIFT,4,2 ## @BNX2X_PATH0_LOAD_CNT_SHIFT
	.comm	_HW_LOCK_RESOURCE_RECOVERY_REG,4,2 ## @HW_LOCK_RESOURCE_RECOVERY_REG
	.comm	_BNX2X_RECOVERY_GLOB_REG,4,2    ## @BNX2X_RECOVERY_GLOB_REG
	.comm	_NETIF_MSG_IFUP,4,2             ## @NETIF_MSG_IFUP
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Old GEN_REG_VAL=0x%08x\n"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_bnx2x_set_pf_load              ; -- Begin function bnx2x_set_pf_load
	.p2align	2
_bnx2x_set_pf_load:                     ; @bnx2x_set_pf_load
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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	x19, x0
	bl	_BP_PATH
Lloh0:
	adrp	x8, _BNX2X_PATH1_LOAD_CNT_MASK@GOTPAGE
Lloh1:
	ldr	x8, [x8, _BNX2X_PATH1_LOAD_CNT_MASK@GOTPAGEOFF]
Lloh2:
	adrp	x9, _BNX2X_PATH0_LOAD_CNT_MASK@GOTPAGE
Lloh3:
	ldr	x9, [x9, _BNX2X_PATH0_LOAD_CNT_MASK@GOTPAGEOFF]
	cmp	x0, #0
	csel	x8, x9, x8, eq
	ldr	w21, [x8]
	mov	x0, x19
	bl	_BP_PATH
Lloh4:
	adrp	x8, _BNX2X_PATH1_LOAD_CNT_SHIFT@GOTPAGE
Lloh5:
	ldr	x8, [x8, _BNX2X_PATH1_LOAD_CNT_SHIFT@GOTPAGEOFF]
Lloh6:
	adrp	x9, _BNX2X_PATH0_LOAD_CNT_SHIFT@GOTPAGE
Lloh7:
	ldr	x9, [x9, _BNX2X_PATH0_LOAD_CNT_SHIFT@GOTPAGEOFF]
Lloh8:
	adrp	x22, _HW_LOCK_RESOURCE_RECOVERY_REG@GOTPAGE
Lloh9:
	ldr	x22, [x22, _HW_LOCK_RESOURCE_RECOVERY_REG@GOTPAGEOFF]
	ldr	w1, [x22]
	cmp	x0, #0
	csel	x8, x9, x8, eq
	ldr	w23, [x8]
	mov	x0, x19
	bl	_bnx2x_acquire_hw_lock
Lloh10:
	adrp	x24, _BNX2X_RECOVERY_GLOB_REG@GOTPAGE
Lloh11:
	ldr	x24, [x24, _BNX2X_RECOVERY_GLOB_REG@GOTPAGEOFF]
	ldr	w1, [x24]
	mov	x0, x19
	bl	_REG_RD
	mov	x20, x0
Lloh12:
	adrp	x8, _NETIF_MSG_IFUP@GOTPAGE
Lloh13:
	ldr	x8, [x8, _NETIF_MSG_IFUP@GOTPAGEOFF]
Lloh14:
	ldr	w0, [x8]
Lloh15:
	adrp	x1, l_.str@PAGE
Lloh16:
	add	x1, x1, l_.str@PAGEOFF
	mov	x2, x20
	bl	_DP
	and	w8, w20, w21
	asr	w8, w8, w23
	ldr	w9, [x19]
	mov	w10, #1
	lsl	w9, w10, w9
	orr	w8, w9, w8
	bic	w9, w20, w21
	lsl	w8, w8, w23
	and	w8, w8, w21
	orr	w2, w8, w9
	ldr	w1, [x24]
	mov	x0, x19
	bl	_REG_WR
	ldr	w1, [x22]
	mov	x0, x19
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	b	_bnx2x_release_hw_lock
	.loh AdrpAdd	Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_BNX2X_PATH1_LOAD_CNT_MASK,4,2  ; @BNX2X_PATH1_LOAD_CNT_MASK
	.comm	_BNX2X_PATH0_LOAD_CNT_MASK,4,2  ; @BNX2X_PATH0_LOAD_CNT_MASK
	.comm	_BNX2X_PATH1_LOAD_CNT_SHIFT,4,2 ; @BNX2X_PATH1_LOAD_CNT_SHIFT
	.comm	_BNX2X_PATH0_LOAD_CNT_SHIFT,4,2 ; @BNX2X_PATH0_LOAD_CNT_SHIFT
	.comm	_HW_LOCK_RESOURCE_RECOVERY_REG,4,2 ; @HW_LOCK_RESOURCE_RECOVERY_REG
	.comm	_BNX2X_RECOVERY_GLOB_REG,4,2    ; @BNX2X_RECOVERY_GLOB_REG
	.comm	_NETIF_MSG_IFUP,4,2             ; @NETIF_MSG_IFUP
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Old GEN_REG_VAL=0x%08x\n"

.subsections_via_symbols
