	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function bnx2x_848x3_link_reset
_bnx2x_848x3_link_reset:                ## @bnx2x_848x3_link_reset
	.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	%r12
	pushq	%rbx
	subq	$16, %rsp
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %rbx
	movq	%rdi, %r14
	movq	8(%rsi), %r15
	movq	%r15, %rdi
	callq	_CHIP_IS_E1x
	testl	%eax, %eax
	je	LBB0_1
## %bb.2:
	movl	(%rbx), %ecx
	jmp	LBB0_3
LBB0_1:
	movq	%r15, %rdi
	callq	_BP_PATH
	movl	%eax, %ecx
LBB0_3:
	movq	(%r14), %rax
	movq	_PORT_HW_CFG_XGXS_EXT_PHY_TYPE_BCM84823@GOTPCREL(%rip), %rdx
	cmpq	(%rdx), %rax
	jne	LBB0_4
## %bb.5:
	movq	_MISC_REGISTERS_GPIO_3@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_MISC_REGISTERS_GPIO_OUTPUT_LOW@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r15, %rdi
	addq	$16, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_bnx2x_set_gpio                 ## TAILCALL
LBB0_4:
	movq	_MDIO_CTL_DEVAD@GOTPCREL(%rip), %r12
	movl	(%r12), %edx
	movq	_MDIO_84833_TOP_CFG_XGPHY_STRAP1@GOTPCREL(%rip), %rbx
	movl	(%rbx), %ecx
	leaq	-36(%rbp), %r8
	movq	%r15, %rdi
	movq	%r14, %rsi
	callq	_bnx2x_cl45_read
	movq	_MDIO_84833_SUPER_ISOLATE@GOTPCREL(%rip), %rax
	movl	-36(%rbp), %r8d
	orl	(%rax), %r8d
	movl	%r8d, -36(%rbp)
	movl	(%r12), %edx
	movl	(%rbx), %ecx
	movq	%r15, %rdi
	movq	%r14, %rsi
	callq	_bnx2x_cl45_write
	addq	$16, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_PORT_HW_CFG_XGXS_EXT_PHY_TYPE_BCM84823,8,3 ## @PORT_HW_CFG_XGXS_EXT_PHY_TYPE_BCM84823
	.comm	_MISC_REGISTERS_GPIO_3,4,2      ## @MISC_REGISTERS_GPIO_3
	.comm	_MISC_REGISTERS_GPIO_OUTPUT_LOW,4,2 ## @MISC_REGISTERS_GPIO_OUTPUT_LOW
	.comm	_MDIO_CTL_DEVAD,4,2             ## @MDIO_CTL_DEVAD
	.comm	_MDIO_84833_TOP_CFG_XGPHY_STRAP1,4,2 ## @MDIO_84833_TOP_CFG_XGPHY_STRAP1
	.comm	_MDIO_84833_SUPER_ISOLATE,4,2   ## @MDIO_84833_SUPER_ISOLATE
	.no_dead_strip	_bnx2x_848x3_link_reset
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function bnx2x_848x3_link_reset
_bnx2x_848x3_link_reset:                ; @bnx2x_848x3_link_reset
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.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
	mov	x21, x1
	mov	x20, x0
	ldr	x19, [x1, #8]
	mov	x0, x19
	bl	_CHIP_IS_E1x
	cbz	w0, LBB0_2
; %bb.1:
	ldr	w3, [x21]
	b	LBB0_3
LBB0_2:
	mov	x0, x19
	bl	_BP_PATH
	mov	x3, x0
LBB0_3:
	ldr	x8, [x20]
Lloh0:
	adrp	x9, _PORT_HW_CFG_XGXS_EXT_PHY_TYPE_BCM84823@GOTPAGE
Lloh1:
	ldr	x9, [x9, _PORT_HW_CFG_XGXS_EXT_PHY_TYPE_BCM84823@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_5
; %bb.4:
Lloh3:
	adrp	x8, _MISC_REGISTERS_GPIO_3@GOTPAGE
Lloh4:
	ldr	x8, [x8, _MISC_REGISTERS_GPIO_3@GOTPAGEOFF]
Lloh5:
	adrp	x9, _MISC_REGISTERS_GPIO_OUTPUT_LOW@GOTPAGE
Lloh6:
	ldr	x9, [x9, _MISC_REGISTERS_GPIO_OUTPUT_LOW@GOTPAGEOFF]
Lloh7:
	ldr	w1, [x8]
Lloh8:
	ldr	w2, [x9]
	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
	add	sp, sp, #64
	b	_bnx2x_set_gpio
LBB0_5:
Lloh9:
	adrp	x21, _MDIO_CTL_DEVAD@GOTPAGE
Lloh10:
	ldr	x21, [x21, _MDIO_CTL_DEVAD@GOTPAGEOFF]
	ldr	w2, [x21]
Lloh11:
	adrp	x22, _MDIO_84833_TOP_CFG_XGPHY_STRAP1@GOTPAGE
Lloh12:
	ldr	x22, [x22, _MDIO_84833_TOP_CFG_XGPHY_STRAP1@GOTPAGEOFF]
	ldr	w3, [x22]
	add	x4, sp, #12
	mov	x0, x19
	mov	x1, x20
	bl	_bnx2x_cl45_read
Lloh13:
	adrp	x8, _MDIO_84833_SUPER_ISOLATE@GOTPAGE
Lloh14:
	ldr	x8, [x8, _MDIO_84833_SUPER_ISOLATE@GOTPAGEOFF]
Lloh15:
	ldr	w8, [x8]
	ldr	w9, [sp, #12]
	orr	w4, w9, w8
	str	w4, [sp, #12]
	ldr	w2, [x21]
	ldr	w3, [x22]
	mov	x0, x19
	mov	x1, x20
	bl	_bnx2x_cl45_write
	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
	add	sp, sp, #64
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh7
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGot	Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh9, Lloh10
	.cfi_endproc
                                        ; -- End function
	.comm	_PORT_HW_CFG_XGXS_EXT_PHY_TYPE_BCM84823,8,3 ; @PORT_HW_CFG_XGXS_EXT_PHY_TYPE_BCM84823
	.comm	_MISC_REGISTERS_GPIO_3,4,2      ; @MISC_REGISTERS_GPIO_3
	.comm	_MISC_REGISTERS_GPIO_OUTPUT_LOW,4,2 ; @MISC_REGISTERS_GPIO_OUTPUT_LOW
	.comm	_MDIO_CTL_DEVAD,4,2             ; @MDIO_CTL_DEVAD
	.comm	_MDIO_84833_TOP_CFG_XGPHY_STRAP1,4,2 ; @MDIO_84833_TOP_CFG_XGPHY_STRAP1
	.comm	_MDIO_84833_SUPER_ISOLATE,4,2   ; @MDIO_84833_SUPER_ISOLATE
	.no_dead_strip	_bnx2x_848x3_link_reset
.subsections_via_symbols
