	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ixgb_mac_reset
_ixgb_mac_reset:                        ## @ixgb_mac_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	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	_IXGB_CTRL0_RST@GOTPCREL(%rip), %rax
	movq	_IXGB_CTRL0_SDP3_DIR@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	orl	(%rax), %edx
	movq	_IXGB_CTRL0_SDP2_DIR@GOTPCREL(%rip), %rax
	orl	(%rax), %edx
	movq	_IXGB_CTRL0_SDP1_DIR@GOTPCREL(%rip), %rax
	orl	(%rax), %edx
	movq	_IXGB_CTRL0_SDP0_DIR@GOTPCREL(%rip), %rax
	orl	(%rax), %edx
	movq	%rdi, %r14
	movq	_IXGB_CTRL0_SDP3@GOTPCREL(%rip), %rax
	orl	(%rax), %edx
	movq	_IXGB_CTRL0_SDP2@GOTPCREL(%rip), %rax
	orl	(%rax), %edx
	movq	_IXGB_CTRL0_SDP0@GOTPCREL(%rip), %rax
	orl	(%rax), %edx
	movq	_CTRL0@GOTPCREL(%rip), %rbx
	movl	(%rbx), %esi
	callq	_IXGB_WRITE_REG
	movq	_IXGB_DELAY_AFTER_RESET@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_msleep
	movl	(%rbx), %esi
	movq	%r14, %rdi
	callq	_IXGB_READ_REG
	movl	%eax, %ebx
	movq	(%r14), %rax
	movq	_PCI_VENDOR_ID_SUN@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_2
## %bb.1:
	movq	_IXGB_CTRL1_GPI0_EN@GOTPCREL(%rip), %rax
	movq	_IXGB_CTRL1_SDP6_DIR@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ebx
	orl	(%rax), %ebx
	movq	_IXGB_CTRL1_SDP7_DIR@GOTPCREL(%rip), %rax
	orl	(%rax), %ebx
	movq	_IXGB_CTRL1_SDP6@GOTPCREL(%rip), %rax
	orl	(%rax), %ebx
	movq	_IXGB_CTRL1_SDP7@GOTPCREL(%rip), %rax
	orl	(%rax), %ebx
	movq	_CTRL1@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, %rdi
	movl	%ebx, %edx
	callq	_IXGB_WRITE_REG
	movq	%r14, %rdi
	callq	_ixgb_optics_reset_bcm
LBB0_2:
	movq	8(%r14), %rax
	movq	_ixgb_phy_type_txn17401@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_4
## %bb.3:
	movq	%r14, %rdi
	callq	_ixgb_optics_reset
LBB0_4:
	movl	%ebx, %eax
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_IXGB_CTRL0_RST,4,2             ## @IXGB_CTRL0_RST
	.comm	_IXGB_CTRL0_SDP3_DIR,4,2        ## @IXGB_CTRL0_SDP3_DIR
	.comm	_IXGB_CTRL0_SDP2_DIR,4,2        ## @IXGB_CTRL0_SDP2_DIR
	.comm	_IXGB_CTRL0_SDP1_DIR,4,2        ## @IXGB_CTRL0_SDP1_DIR
	.comm	_IXGB_CTRL0_SDP0_DIR,4,2        ## @IXGB_CTRL0_SDP0_DIR
	.comm	_IXGB_CTRL0_SDP3,4,2            ## @IXGB_CTRL0_SDP3
	.comm	_IXGB_CTRL0_SDP2,4,2            ## @IXGB_CTRL0_SDP2
	.comm	_IXGB_CTRL0_SDP0,4,2            ## @IXGB_CTRL0_SDP0
	.comm	_CTRL0,4,2                      ## @CTRL0
	.comm	_IXGB_DELAY_AFTER_RESET,4,2     ## @IXGB_DELAY_AFTER_RESET
	.comm	_PCI_VENDOR_ID_SUN,8,3          ## @PCI_VENDOR_ID_SUN
	.comm	_IXGB_CTRL1_GPI0_EN,4,2         ## @IXGB_CTRL1_GPI0_EN
	.comm	_IXGB_CTRL1_SDP6_DIR,4,2        ## @IXGB_CTRL1_SDP6_DIR
	.comm	_IXGB_CTRL1_SDP7_DIR,4,2        ## @IXGB_CTRL1_SDP7_DIR
	.comm	_IXGB_CTRL1_SDP6,4,2            ## @IXGB_CTRL1_SDP6
	.comm	_IXGB_CTRL1_SDP7,4,2            ## @IXGB_CTRL1_SDP7
	.comm	_CTRL1,4,2                      ## @CTRL1
	.comm	_ixgb_phy_type_txn17401,8,3     ## @ixgb_phy_type_txn17401
	.no_dead_strip	_ixgb_mac_reset
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ixgb_mac_reset
_ixgb_mac_reset:                        ; @ixgb_mac_reset
	.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	x8, _IXGB_CTRL0_RST@GOTPAGE
Lloh1:
	ldr	x8, [x8, _IXGB_CTRL0_RST@GOTPAGEOFF]
Lloh2:
	adrp	x9, _IXGB_CTRL0_SDP3_DIR@GOTPAGE
Lloh3:
	ldr	x9, [x9, _IXGB_CTRL0_SDP3_DIR@GOTPAGEOFF]
Lloh4:
	ldr	w8, [x8]
Lloh5:
	ldr	w9, [x9]
	orr	w8, w9, w8
Lloh6:
	adrp	x9, _IXGB_CTRL0_SDP2_DIR@GOTPAGE
Lloh7:
	ldr	x9, [x9, _IXGB_CTRL0_SDP2_DIR@GOTPAGEOFF]
Lloh8:
	ldr	w9, [x9]
	orr	w8, w8, w9
Lloh9:
	adrp	x9, _IXGB_CTRL0_SDP1_DIR@GOTPAGE
Lloh10:
	ldr	x9, [x9, _IXGB_CTRL0_SDP1_DIR@GOTPAGEOFF]
Lloh11:
	ldr	w9, [x9]
Lloh12:
	adrp	x10, _IXGB_CTRL0_SDP0_DIR@GOTPAGE
Lloh13:
	ldr	x10, [x10, _IXGB_CTRL0_SDP0_DIR@GOTPAGEOFF]
	orr	w8, w8, w9
Lloh14:
	ldr	w9, [x10]
	orr	w8, w8, w9
Lloh15:
	adrp	x9, _IXGB_CTRL0_SDP3@GOTPAGE
Lloh16:
	ldr	x9, [x9, _IXGB_CTRL0_SDP3@GOTPAGEOFF]
Lloh17:
	ldr	w9, [x9]
	orr	w8, w8, w9
Lloh18:
	adrp	x9, _IXGB_CTRL0_SDP2@GOTPAGE
Lloh19:
	ldr	x9, [x9, _IXGB_CTRL0_SDP2@GOTPAGEOFF]
Lloh20:
	ldr	w9, [x9]
Lloh21:
	adrp	x10, _IXGB_CTRL0_SDP0@GOTPAGE
Lloh22:
	ldr	x10, [x10, _IXGB_CTRL0_SDP0@GOTPAGEOFF]
	orr	w8, w8, w9
Lloh23:
	ldr	w9, [x10]
	orr	w2, w8, w9
Lloh24:
	adrp	x20, _CTRL0@GOTPAGE
Lloh25:
	ldr	x20, [x20, _CTRL0@GOTPAGEOFF]
	ldr	w1, [x20]
	bl	_IXGB_WRITE_REG
Lloh26:
	adrp	x8, _IXGB_DELAY_AFTER_RESET@GOTPAGE
Lloh27:
	ldr	x8, [x8, _IXGB_DELAY_AFTER_RESET@GOTPAGEOFF]
Lloh28:
	ldr	w0, [x8]
	bl	_msleep
	ldr	w1, [x20]
	mov	x0, x19
	bl	_IXGB_READ_REG
	ldr	x8, [x19]
Lloh29:
	adrp	x9, _PCI_VENDOR_ID_SUN@GOTPAGE
Lloh30:
	ldr	x9, [x9, _PCI_VENDOR_ID_SUN@GOTPAGEOFF]
Lloh31:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_2
; %bb.1:
Lloh32:
	adrp	x8, _IXGB_CTRL1_GPI0_EN@GOTPAGE
Lloh33:
	ldr	x8, [x8, _IXGB_CTRL1_GPI0_EN@GOTPAGEOFF]
Lloh34:
	adrp	x9, _IXGB_CTRL1_SDP6_DIR@GOTPAGE
Lloh35:
	ldr	x9, [x9, _IXGB_CTRL1_SDP6_DIR@GOTPAGEOFF]
Lloh36:
	ldr	w8, [x8]
Lloh37:
	ldr	w9, [x9]
	orr	w8, w9, w8
Lloh38:
	adrp	x9, _IXGB_CTRL1_SDP7_DIR@GOTPAGE
Lloh39:
	ldr	x9, [x9, _IXGB_CTRL1_SDP7_DIR@GOTPAGEOFF]
Lloh40:
	ldr	w9, [x9]
	orr	w8, w8, w9
Lloh41:
	adrp	x9, _IXGB_CTRL1_SDP6@GOTPAGE
Lloh42:
	ldr	x9, [x9, _IXGB_CTRL1_SDP6@GOTPAGEOFF]
Lloh43:
	ldr	w9, [x9]
Lloh44:
	adrp	x10, _IXGB_CTRL1_SDP7@GOTPAGE
Lloh45:
	ldr	x10, [x10, _IXGB_CTRL1_SDP7@GOTPAGEOFF]
	orr	w8, w8, w9
Lloh46:
	ldr	w9, [x10]
	orr	w20, w8, w9
Lloh47:
	adrp	x8, _CTRL1@GOTPAGE
Lloh48:
	ldr	x8, [x8, _CTRL1@GOTPAGEOFF]
Lloh49:
	ldr	w1, [x8]
	mov	x0, x19
	mov	x2, x20
	bl	_IXGB_WRITE_REG
	mov	x0, x19
	bl	_ixgb_optics_reset_bcm
	b	LBB0_3
LBB0_2:
	mov	x20, x0
LBB0_3:
	ldr	x8, [x19, #8]
Lloh50:
	adrp	x9, _ixgb_phy_type_txn17401@GOTPAGE
Lloh51:
	ldr	x9, [x9, _ixgb_phy_type_txn17401@GOTPAGEOFF]
Lloh52:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_5
; %bb.4:
	mov	x0, x19
	bl	_ixgb_optics_reset
LBB0_5:
	mov	x0, x20
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh29, Lloh30, Lloh31
	.loh AdrpLdrGotLdr	Lloh26, Lloh27, Lloh28
	.loh AdrpLdrGot	Lloh24, Lloh25
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh4
	.loh AdrpLdrGotLdr	Lloh47, Lloh48, Lloh49
	.loh AdrpLdrGotLdr	Lloh44, Lloh45, Lloh46
	.loh AdrpLdrGotLdr	Lloh41, Lloh42, Lloh43
	.loh AdrpLdrGotLdr	Lloh38, Lloh39, Lloh40
	.loh AdrpLdrGotLdr	Lloh34, Lloh35, Lloh37
	.loh AdrpLdrGotLdr	Lloh32, Lloh33, Lloh36
	.loh AdrpLdrGotLdr	Lloh50, Lloh51, Lloh52
	.cfi_endproc
                                        ; -- End function
	.comm	_IXGB_CTRL0_RST,4,2             ; @IXGB_CTRL0_RST
	.comm	_IXGB_CTRL0_SDP3_DIR,4,2        ; @IXGB_CTRL0_SDP3_DIR
	.comm	_IXGB_CTRL0_SDP2_DIR,4,2        ; @IXGB_CTRL0_SDP2_DIR
	.comm	_IXGB_CTRL0_SDP1_DIR,4,2        ; @IXGB_CTRL0_SDP1_DIR
	.comm	_IXGB_CTRL0_SDP0_DIR,4,2        ; @IXGB_CTRL0_SDP0_DIR
	.comm	_IXGB_CTRL0_SDP3,4,2            ; @IXGB_CTRL0_SDP3
	.comm	_IXGB_CTRL0_SDP2,4,2            ; @IXGB_CTRL0_SDP2
	.comm	_IXGB_CTRL0_SDP0,4,2            ; @IXGB_CTRL0_SDP0
	.comm	_CTRL0,4,2                      ; @CTRL0
	.comm	_IXGB_DELAY_AFTER_RESET,4,2     ; @IXGB_DELAY_AFTER_RESET
	.comm	_PCI_VENDOR_ID_SUN,8,3          ; @PCI_VENDOR_ID_SUN
	.comm	_IXGB_CTRL1_GPI0_EN,4,2         ; @IXGB_CTRL1_GPI0_EN
	.comm	_IXGB_CTRL1_SDP6_DIR,4,2        ; @IXGB_CTRL1_SDP6_DIR
	.comm	_IXGB_CTRL1_SDP7_DIR,4,2        ; @IXGB_CTRL1_SDP7_DIR
	.comm	_IXGB_CTRL1_SDP6,4,2            ; @IXGB_CTRL1_SDP6
	.comm	_IXGB_CTRL1_SDP7,4,2            ; @IXGB_CTRL1_SDP7
	.comm	_CTRL1,4,2                      ; @CTRL1
	.comm	_ixgb_phy_type_txn17401,8,3     ; @ixgb_phy_type_txn17401
	.no_dead_strip	_ixgb_mac_reset
.subsections_via_symbols
