	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ixgb_link_reset
_ixgb_link_reset:                       ## @ixgb_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	%r13
	pushq	%r12
	pushq	%rbx
	subq	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r14
	movq	_MAX_RESET_ITERATIONS@GOTPCREL(%rip), %rax
	movq	(%rax), %rbx
	movq	_CTRL0@GOTPCREL(%rip), %rax
	movq	_IXGB_DELAY_USECS_AFTER_LINK_RESET@GOTPCREL(%rip), %r12
	movq	_STATUS@GOTPCREL(%rip), %r13
	movq	_IXGB_STATUS_LU@GOTPCREL(%rip), %r15
	movq	%rbx, -56(%rbp)                 ## 8-byte Spill
	jmp	LBB0_1
	.p2align	4, 0x90
LBB0_6:                                 ##   in Loop: Header=BB0_1 Depth=1
	xorl	%ebx, %ebx
	decq	-56(%rbp)                       ## 8-byte Folded Spill
	movq	_CTRL0@GOTPCREL(%rip), %rax
	je	LBB0_7
LBB0_1:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_2 Depth 2
	movl	(%rax), %esi
	movl	%esi, -44(%rbp)                 ## 4-byte Spill
	movq	%r14, %rdi
	callq	_IXGB_READ_REG
	movq	_IXGB_CTRL0_LRST@GOTPCREL(%rip), %rcx
	orl	(%rcx), %eax
	movq	%r14, %rdi
	movl	-44(%rbp), %esi                 ## 4-byte Reload
	movl	%eax, %edx
	callq	_IXGB_WRITE_REG
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_5:                                 ##   in Loop: Header=BB0_2 Depth=2
	decq	%rbx
	je	LBB0_6
LBB0_2:                                 ##   Parent Loop BB0_1 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movl	(%r12), %edi
	callq	_udelay
	movl	(%r13), %esi
	movq	%r14, %rdi
	callq	_IXGB_READ_REG
	testl	%eax, (%r15)
	je	LBB0_5
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=2
	movq	_XPCSS@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, %rdi
	callq	_IXGB_READ_REG
	movq	_IXGB_XPCSS_ALIGN_STATUS@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	je	LBB0_5
## %bb.4:
	movl	$1, %ebx
LBB0_7:
	movl	%ebx, %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_MAX_RESET_ITERATIONS,8,3       ## @MAX_RESET_ITERATIONS
	.comm	_CTRL0,4,2                      ## @CTRL0
	.comm	_IXGB_CTRL0_LRST,4,2            ## @IXGB_CTRL0_LRST
	.comm	_IXGB_DELAY_USECS_AFTER_LINK_RESET,4,2 ## @IXGB_DELAY_USECS_AFTER_LINK_RESET
	.comm	_STATUS,4,2                     ## @STATUS
	.comm	_IXGB_STATUS_LU,4,2             ## @IXGB_STATUS_LU
	.comm	_XPCSS,4,2                      ## @XPCSS
	.comm	_IXGB_XPCSS_ALIGN_STATUS,4,2    ## @IXGB_XPCSS_ALIGN_STATUS
	.no_dead_strip	_ixgb_link_reset
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ixgb_link_reset
_ixgb_link_reset:                       ; @ixgb_link_reset
	.cfi_startproc
; %bb.0:
	stp	x28, x27, [sp, #-96]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	mov	x19, x0
Lloh0:
	adrp	x8, _MAX_RESET_ITERATIONS@GOTPAGE
Lloh1:
	ldr	x8, [x8, _MAX_RESET_ITERATIONS@GOTPAGEOFF]
Lloh2:
	adrp	x9, _CTRL0@GOTPAGE
Lloh3:
	ldr	x9, [x9, _CTRL0@GOTPAGEOFF]
Lloh4:
	adrp	x22, _IXGB_CTRL0_LRST@GOTPAGE
Lloh5:
	ldr	x22, [x22, _IXGB_CTRL0_LRST@GOTPAGEOFF]
Lloh6:
	adrp	x23, _IXGB_DELAY_USECS_AFTER_LINK_RESET@GOTPAGE
Lloh7:
	ldr	x23, [x23, _IXGB_DELAY_USECS_AFTER_LINK_RESET@GOTPAGEOFF]
Lloh8:
	adrp	x24, _STATUS@GOTPAGE
Lloh9:
	ldr	x24, [x24, _STATUS@GOTPAGEOFF]
Lloh10:
	adrp	x25, _IXGB_STATUS_LU@GOTPAGE
Lloh11:
	ldr	x25, [x25, _IXGB_STATUS_LU@GOTPAGEOFF]
Lloh12:
	ldr	x28, [x8]
Lloh13:
	adrp	x26, _XPCSS@GOTPAGE
Lloh14:
	ldr	x26, [x26, _XPCSS@GOTPAGEOFF]
Lloh15:
	adrp	x27, _IXGB_XPCSS_ALIGN_STATUS@GOTPAGE
Lloh16:
	ldr	x27, [x27, _IXGB_XPCSS_ALIGN_STATUS@GOTPAGEOFF]
	mov	x21, x28
	b	LBB0_2
LBB0_1:                                 ;   in Loop: Header=BB0_2 Depth=1
	subs	x21, x21, #1
Lloh17:
	adrp	x9, _CTRL0@GOTPAGE
Lloh18:
	ldr	x9, [x9, _CTRL0@GOTPAGEOFF]
Lloh19:
	adrp	x22, _IXGB_CTRL0_LRST@GOTPAGE
Lloh20:
	ldr	x22, [x22, _IXGB_CTRL0_LRST@GOTPAGEOFF]
	b.eq	LBB0_8
LBB0_2:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_4 Depth 2
	ldr	w20, [x9]
	mov	x0, x19
	mov	x1, x20
	bl	_IXGB_READ_REG
	ldr	w8, [x22]
	orr	w2, w8, w0
	mov	x0, x19
	mov	x1, x20
	bl	_IXGB_WRITE_REG
	b	LBB0_4
LBB0_3:                                 ;   in Loop: Header=BB0_4 Depth=2
	subs	x28, x28, #1
	b.eq	LBB0_1
LBB0_4:                                 ;   Parent Loop BB0_2 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldr	w0, [x23]
	bl	_udelay
	ldr	w1, [x24]
	mov	x0, x19
	bl	_IXGB_READ_REG
	ldr	w8, [x25]
	tst	w8, w0
	b.eq	LBB0_3
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=2
	ldr	w1, [x26]
	mov	x0, x19
	bl	_IXGB_READ_REG
	ldr	w8, [x27]
	tst	w8, w0
	b.eq	LBB0_3
; %bb.6:
	mov	w0, #1
LBB0_7:
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	ret
LBB0_8:
	mov	w0, #0
	b	LBB0_7
	.loh AdrpLdrGot	Lloh15, Lloh16
	.loh AdrpLdrGot	Lloh13, Lloh14
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh12
	.loh AdrpLdrGot	Lloh19, Lloh20
	.loh AdrpLdrGot	Lloh17, Lloh18
	.cfi_endproc
                                        ; -- End function
	.comm	_MAX_RESET_ITERATIONS,8,3       ; @MAX_RESET_ITERATIONS
	.comm	_CTRL0,4,2                      ; @CTRL0
	.comm	_IXGB_CTRL0_LRST,4,2            ; @IXGB_CTRL0_LRST
	.comm	_IXGB_DELAY_USECS_AFTER_LINK_RESET,4,2 ; @IXGB_DELAY_USECS_AFTER_LINK_RESET
	.comm	_STATUS,4,2                     ; @STATUS
	.comm	_IXGB_STATUS_LU,4,2             ; @IXGB_STATUS_LU
	.comm	_XPCSS,4,2                      ; @XPCSS
	.comm	_IXGB_XPCSS_ALIGN_STATUS,4,2    ; @IXGB_XPCSS_ALIGN_STATUS
	.no_dead_strip	_ixgb_link_reset
.subsections_via_symbols
