	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function bnx2x_reset_common
_bnx2x_reset_common:                    ## @bnx2x_reset_common
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rdi, %rbx
	movq	_GRCBASE_MISC@GOTPCREL(%rip), %r14
	movq	_MISC_REGISTERS_RESET_REG_1_CLEAR@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	addq	(%r14), %rsi
	movl	$-738197633, %edx               ## imm = 0xD3FFFF7F
	callq	_REG_WR
	movq	%rbx, %rdi
	callq	_CHIP_IS_E3
	movq	_MISC_REGISTERS_RESET_REG_2_MSTAT0@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movq	_MISC_REGISTERS_RESET_REG_2_MSTAT1@GOTPCREL(%rip), %rdx
	orl	(%rdx), %ecx
	orl	$5120, %ecx                     ## imm = 0x1400
	testq	%rax, %rax
	movl	$5120, %edx                     ## imm = 0x1400
	cmovnel	%ecx, %edx
	movq	_MISC_REGISTERS_RESET_REG_2_CLEAR@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	addq	(%r14), %rsi
	movq	%rbx, %rdi
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_REG_WR                         ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_GRCBASE_MISC,8,3               ## @GRCBASE_MISC
	.comm	_MISC_REGISTERS_RESET_REG_1_CLEAR,8,3 ## @MISC_REGISTERS_RESET_REG_1_CLEAR
	.comm	_MISC_REGISTERS_RESET_REG_2_MSTAT0,4,2 ## @MISC_REGISTERS_RESET_REG_2_MSTAT0
	.comm	_MISC_REGISTERS_RESET_REG_2_MSTAT1,4,2 ## @MISC_REGISTERS_RESET_REG_2_MSTAT1
	.comm	_MISC_REGISTERS_RESET_REG_2_CLEAR,8,3 ## @MISC_REGISTERS_RESET_REG_2_CLEAR
	.no_dead_strip	_bnx2x_reset_common
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function bnx2x_reset_common
_bnx2x_reset_common:                    ; @bnx2x_reset_common
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x0
Lloh0:
	adrp	x20, _GRCBASE_MISC@GOTPAGE
Lloh1:
	ldr	x20, [x20, _GRCBASE_MISC@GOTPAGEOFF]
	ldr	x8, [x20]
Lloh2:
	adrp	x9, _MISC_REGISTERS_RESET_REG_1_CLEAR@GOTPAGE
Lloh3:
	ldr	x9, [x9, _MISC_REGISTERS_RESET_REG_1_CLEAR@GOTPAGEOFF]
Lloh4:
	ldr	x9, [x9]
	add	x1, x9, x8
	mov	w2, #65407
	movk	w2, #54271, lsl #16
	bl	_REG_WR
	mov	x0, x19
	bl	_CHIP_IS_E3
Lloh5:
	adrp	x8, _MISC_REGISTERS_RESET_REG_2_MSTAT0@GOTPAGE
Lloh6:
	ldr	x8, [x8, _MISC_REGISTERS_RESET_REG_2_MSTAT0@GOTPAGEOFF]
Lloh7:
	ldr	w8, [x8]
Lloh8:
	adrp	x9, _MISC_REGISTERS_RESET_REG_2_MSTAT1@GOTPAGE
Lloh9:
	ldr	x9, [x9, _MISC_REGISTERS_RESET_REG_2_MSTAT1@GOTPAGEOFF]
Lloh10:
	ldr	w9, [x9]
	orr	w8, w8, w9
	mov	w9, #5120
	orr	w8, w8, w9
	cmp	x0, #0
	csel	w2, w9, w8, eq
Lloh11:
	adrp	x8, _MISC_REGISTERS_RESET_REG_2_CLEAR@GOTPAGE
Lloh12:
	ldr	x8, [x8, _MISC_REGISTERS_RESET_REG_2_CLEAR@GOTPAGEOFF]
	ldr	x9, [x20]
Lloh13:
	ldr	x8, [x8]
	add	x1, x8, x9
	mov	x0, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_REG_WR
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_GRCBASE_MISC,8,3               ; @GRCBASE_MISC
	.comm	_MISC_REGISTERS_RESET_REG_1_CLEAR,8,3 ; @MISC_REGISTERS_RESET_REG_1_CLEAR
	.comm	_MISC_REGISTERS_RESET_REG_2_MSTAT0,4,2 ; @MISC_REGISTERS_RESET_REG_2_MSTAT0
	.comm	_MISC_REGISTERS_RESET_REG_2_MSTAT1,4,2 ; @MISC_REGISTERS_RESET_REG_2_MSTAT1
	.comm	_MISC_REGISTERS_RESET_REG_2_CLEAR,8,3 ; @MISC_REGISTERS_RESET_REG_2_CLEAR
	.no_dead_strip	_bnx2x_reset_common
.subsections_via_symbols
