	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ixgb_optics_reset
_ixgb_optics_reset:                     ## @ixgb_optics_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
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	(%rdi), %rax
	movq	_ixgb_phy_type_txn17401@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_1
## %bb.2:
	movq	%rdi, %rbx
	movq	_MDIO_CTRL1@GOTPCREL(%rip), %r14
	movl	(%r14), %esi
	movq	_IXGB_PHY_ADDRESS@GOTPCREL(%rip), %r15
	movl	(%r15), %edx
	movq	_MDIO_MMD_PMAPMD@GOTPCREL(%rip), %r12
	movl	(%r12), %ecx
	movq	_MDIO_CTRL1_RESET@GOTPCREL(%rip), %rax
	movl	(%rax), %r8d
	callq	_ixgb_write_phy_reg
	movl	(%r14), %esi
	movl	(%r15), %edx
	movl	(%r12), %ecx
	movq	%rbx, %rdi
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_ixgb_read_phy_reg              ## TAILCALL
LBB0_1:
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_ixgb_phy_type_txn17401,8,3     ## @ixgb_phy_type_txn17401
	.comm	_MDIO_CTRL1,4,2                 ## @MDIO_CTRL1
	.comm	_IXGB_PHY_ADDRESS,4,2           ## @IXGB_PHY_ADDRESS
	.comm	_MDIO_MMD_PMAPMD,4,2            ## @MDIO_MMD_PMAPMD
	.comm	_MDIO_CTRL1_RESET,4,2           ## @MDIO_CTRL1_RESET
	.no_dead_strip	_ixgb_optics_reset
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ixgb_optics_reset
_ixgb_optics_reset:                     ; @ixgb_optics_reset
	.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
	ldr	x8, [x0]
Lloh0:
	adrp	x9, _ixgb_phy_type_txn17401@GOTPAGE
Lloh1:
	ldr	x9, [x9, _ixgb_phy_type_txn17401@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_2
; %bb.1:
	mov	x19, x0
Lloh3:
	adrp	x20, _MDIO_CTRL1@GOTPAGE
Lloh4:
	ldr	x20, [x20, _MDIO_CTRL1@GOTPAGEOFF]
	ldr	w1, [x20]
Lloh5:
	adrp	x21, _IXGB_PHY_ADDRESS@GOTPAGE
Lloh6:
	ldr	x21, [x21, _IXGB_PHY_ADDRESS@GOTPAGEOFF]
	ldr	w2, [x21]
Lloh7:
	adrp	x22, _MDIO_MMD_PMAPMD@GOTPAGE
Lloh8:
	ldr	x22, [x22, _MDIO_MMD_PMAPMD@GOTPAGEOFF]
	ldr	w3, [x22]
Lloh9:
	adrp	x8, _MDIO_CTRL1_RESET@GOTPAGE
Lloh10:
	ldr	x8, [x8, _MDIO_CTRL1_RESET@GOTPAGEOFF]
Lloh11:
	ldr	w4, [x8]
	bl	_ixgb_write_phy_reg
	ldr	w1, [x20]
	ldr	w2, [x21]
	ldr	w3, [x22]
	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	_ixgb_read_phy_reg
LBB0_2:
	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
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh3, Lloh4
	.cfi_endproc
                                        ; -- End function
	.comm	_ixgb_phy_type_txn17401,8,3     ; @ixgb_phy_type_txn17401
	.comm	_MDIO_CTRL1,4,2                 ; @MDIO_CTRL1
	.comm	_IXGB_PHY_ADDRESS,4,2           ; @IXGB_PHY_ADDRESS
	.comm	_MDIO_MMD_PMAPMD,4,2            ; @MDIO_MMD_PMAPMD
	.comm	_MDIO_CTRL1_RESET,4,2           ; @MDIO_CTRL1_RESET
	.no_dead_strip	_ixgb_optics_reset
.subsections_via_symbols
