	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ixgbe_reset_pipeline_82599
_ixgbe_reset_pipeline_82599:            ## @ixgbe_reset_pipeline_82599
	.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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r15
	movq	_IXGBE_AUTOC2@GOTPCREL(%rip), %rbx
	movl	(%rbx), %esi
	callq	_IXGBE_READ_REG
	movq	_IXGBE_AUTOC2_LINK_DISABLE_MASK@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	testl	%eax, %ecx
	je	LBB0_2
## %bb.1:
	notl	%ecx
	andl	%ecx, %eax
	movl	(%rbx), %esi
	movq	%r15, %rdi
	movl	%eax, %edx
	callq	_IXGBE_WRITE_REG
	movq	%r15, %rdi
	callq	_IXGBE_WRITE_FLUSH
LBB0_2:
	movq	_IXGBE_AUTOC@GOTPCREL(%rip), %r12
	movl	(%r12), %esi
	movq	%r15, %rdi
	callq	_IXGBE_READ_REG
	movl	%eax, %r14d
	movq	_IXGBE_AUTOC_AN_RESTART@GOTPCREL(%rip), %rax
	orl	(%rax), %r14d
	movl	(%r12), %esi
	movq	_IXGBE_AUTOC_LMS_SHIFT@GOTPCREL(%rip), %rax
	movb	(%rax), %cl
	movl	$4, %edx
	shll	%cl, %edx
	xorl	%r14d, %edx
	movq	%r15, %rdi
	callq	_IXGBE_WRITE_REG
	movl	$4000, %edi                     ## imm = 0xFA0
	movl	$8000, %esi                     ## imm = 0x1F40
	callq	_usleep_range
	movq	_IXGBE_ANLP1@GOTPCREL(%rip), %r13
	movl	(%r13), %esi
	movq	%r15, %rdi
	callq	_IXGBE_READ_REG
	movq	_IXGBE_ANLP1_AN_STATE_MASK@GOTPCREL(%rip), %rbx
	movl	(%rbx), %ecx
	testl	%eax, %ecx
	jne	LBB0_12
## %bb.3:
	movl	$4000, %edi                     ## imm = 0xFA0
	movl	$8000, %esi                     ## imm = 0x1F40
	callq	_usleep_range
	movl	(%r13), %esi
	movq	%r15, %rdi
	callq	_IXGBE_READ_REG
	movl	(%rbx), %ecx
	testl	%eax, %ecx
	jne	LBB0_12
## %bb.4:
	movl	$4000, %edi                     ## imm = 0xFA0
	movl	$8000, %esi                     ## imm = 0x1F40
	callq	_usleep_range
	movl	(%r13), %esi
	movq	%r15, %rdi
	callq	_IXGBE_READ_REG
	movl	(%rbx), %ecx
	testl	%eax, %ecx
	jne	LBB0_12
## %bb.5:
	movl	$4000, %edi                     ## imm = 0xFA0
	movl	$8000, %esi                     ## imm = 0x1F40
	callq	_usleep_range
	movl	(%r13), %esi
	movq	%r15, %rdi
	callq	_IXGBE_READ_REG
	movl	(%rbx), %ecx
	testl	%eax, %ecx
	jne	LBB0_12
## %bb.6:
	movl	$4000, %edi                     ## imm = 0xFA0
	movl	$8000, %esi                     ## imm = 0x1F40
	callq	_usleep_range
	movl	(%r13), %esi
	movq	%r15, %rdi
	callq	_IXGBE_READ_REG
	movl	(%rbx), %ecx
	testl	%eax, %ecx
	jne	LBB0_12
## %bb.7:
	movl	$4000, %edi                     ## imm = 0xFA0
	movl	$8000, %esi                     ## imm = 0x1F40
	callq	_usleep_range
	movl	(%r13), %esi
	movq	%r15, %rdi
	callq	_IXGBE_READ_REG
	movl	(%rbx), %ecx
	testl	%eax, %ecx
	jne	LBB0_12
## %bb.8:
	movl	$4000, %edi                     ## imm = 0xFA0
	movl	$8000, %esi                     ## imm = 0x1F40
	callq	_usleep_range
	movl	(%r13), %esi
	movq	%r15, %rdi
	callq	_IXGBE_READ_REG
	movl	(%rbx), %ecx
	testl	%eax, %ecx
	jne	LBB0_12
## %bb.9:
	movl	$4000, %edi                     ## imm = 0xFA0
	movl	$8000, %esi                     ## imm = 0x1F40
	callq	_usleep_range
	movl	(%r13), %esi
	movq	%r15, %rdi
	callq	_IXGBE_READ_REG
	movl	(%rbx), %ecx
	testl	%eax, %ecx
	jne	LBB0_12
## %bb.10:
	movl	$4000, %edi                     ## imm = 0xFA0
	movl	$8000, %esi                     ## imm = 0x1F40
	callq	_usleep_range
	movl	(%r13), %esi
	movq	%r15, %rdi
	callq	_IXGBE_READ_REG
	movl	(%rbx), %ecx
	testl	%eax, %ecx
	jne	LBB0_12
## %bb.11:
	movl	$4000, %edi                     ## imm = 0xFA0
	movl	$8000, %esi                     ## imm = 0x1F40
	callq	_usleep_range
	movl	(%r13), %esi
	movq	%r15, %rdi
	callq	_IXGBE_READ_REG
	movl	(%rbx), %ecx
LBB0_12:
	testl	%eax, %ecx
	je	LBB0_14
## %bb.13:
	xorl	%ebx, %ebx
	jmp	LBB0_15
LBB0_14:
	leaq	L_.str(%rip), %rsi
	movq	%r15, %rdi
	callq	_hw_dbg
	movq	_IXGBE_ERR_RESET_FAILED@GOTPCREL(%rip), %rax
	movq	(%rax), %rbx
LBB0_15:
	movl	(%r12), %esi
	movq	%r15, %rdi
	movl	%r14d, %edx
	callq	_IXGBE_WRITE_REG
	movq	%r15, %rdi
	callq	_IXGBE_WRITE_FLUSH
	movq	%rbx, %rax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_IXGBE_AUTOC2,4,2               ## @IXGBE_AUTOC2
	.comm	_IXGBE_AUTOC2_LINK_DISABLE_MASK,4,2 ## @IXGBE_AUTOC2_LINK_DISABLE_MASK
	.comm	_IXGBE_AUTOC,4,2                ## @IXGBE_AUTOC
	.comm	_IXGBE_AUTOC_AN_RESTART,4,2     ## @IXGBE_AUTOC_AN_RESTART
	.comm	_IXGBE_AUTOC_LMS_SHIFT,4,2      ## @IXGBE_AUTOC_LMS_SHIFT
	.comm	_IXGBE_ANLP1,4,2                ## @IXGBE_ANLP1
	.comm	_IXGBE_ANLP1_AN_STATE_MASK,4,2  ## @IXGBE_ANLP1_AN_STATE_MASK
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"auto negotiation not completed\n"

	.comm	_IXGBE_ERR_RESET_FAILED,8,3     ## @IXGBE_ERR_RESET_FAILED
	.no_dead_strip	_ixgbe_reset_pipeline_82599
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ixgbe_reset_pipeline_82599
_ixgbe_reset_pipeline_82599:            ; @ixgbe_reset_pipeline_82599
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	mov	x19, x0
Lloh0:
	adrp	x20, _IXGBE_AUTOC2@GOTPAGE
Lloh1:
	ldr	x20, [x20, _IXGBE_AUTOC2@GOTPAGEOFF]
	ldr	w1, [x20]
	bl	_IXGBE_READ_REG
Lloh2:
	adrp	x8, _IXGBE_AUTOC2_LINK_DISABLE_MASK@GOTPAGE
Lloh3:
	ldr	x8, [x8, _IXGBE_AUTOC2_LINK_DISABLE_MASK@GOTPAGEOFF]
Lloh4:
	ldr	w8, [x8]
	tst	w8, w0
	b.eq	LBB0_2
; %bb.1:
	bic	w2, w0, w8
	ldr	w1, [x20]
	mov	x0, x19
	bl	_IXGBE_WRITE_REG
	mov	x0, x19
	bl	_IXGBE_WRITE_FLUSH
LBB0_2:
Lloh5:
	adrp	x22, _IXGBE_AUTOC@GOTPAGE
Lloh6:
	ldr	x22, [x22, _IXGBE_AUTOC@GOTPAGEOFF]
	ldr	w1, [x22]
	mov	x0, x19
	bl	_IXGBE_READ_REG
Lloh7:
	adrp	x8, _IXGBE_AUTOC_AN_RESTART@GOTPAGE
Lloh8:
	ldr	x8, [x8, _IXGBE_AUTOC_AN_RESTART@GOTPAGEOFF]
Lloh9:
	ldr	w8, [x8]
	orr	w20, w8, w0
	ldr	w1, [x22]
Lloh10:
	adrp	x8, _IXGBE_AUTOC_LMS_SHIFT@GOTPAGE
Lloh11:
	ldr	x8, [x8, _IXGBE_AUTOC_LMS_SHIFT@GOTPAGEOFF]
Lloh12:
	ldr	w8, [x8]
	mov	w9, #4
	lsl	w8, w9, w8
	eor	w2, w8, w20
	mov	x0, x19
	bl	_IXGBE_WRITE_REG
	mov	w0, #4000
	mov	w1, #8000
	bl	_usleep_range
Lloh13:
	adrp	x21, _IXGBE_ANLP1@GOTPAGE
Lloh14:
	ldr	x21, [x21, _IXGBE_ANLP1@GOTPAGEOFF]
	ldr	w1, [x21]
	mov	x0, x19
	bl	_IXGBE_READ_REG
Lloh15:
	adrp	x23, _IXGBE_ANLP1_AN_STATE_MASK@GOTPAGE
Lloh16:
	ldr	x23, [x23, _IXGBE_ANLP1_AN_STATE_MASK@GOTPAGEOFF]
	ldr	w8, [x23]
	tst	w8, w0
	b.ne	LBB0_12
; %bb.3:
	mov	w0, #4000
	mov	w1, #8000
	bl	_usleep_range
	ldr	w1, [x21]
	mov	x0, x19
	bl	_IXGBE_READ_REG
	ldr	w8, [x23]
	tst	w8, w0
	b.ne	LBB0_12
; %bb.4:
	mov	w0, #4000
	mov	w1, #8000
	bl	_usleep_range
	ldr	w1, [x21]
	mov	x0, x19
	bl	_IXGBE_READ_REG
	ldr	w8, [x23]
	tst	w8, w0
	b.ne	LBB0_12
; %bb.5:
	mov	w0, #4000
	mov	w1, #8000
	bl	_usleep_range
	ldr	w1, [x21]
	mov	x0, x19
	bl	_IXGBE_READ_REG
	ldr	w8, [x23]
	tst	w8, w0
	b.ne	LBB0_12
; %bb.6:
	mov	w0, #4000
	mov	w1, #8000
	bl	_usleep_range
	ldr	w1, [x21]
	mov	x0, x19
	bl	_IXGBE_READ_REG
	ldr	w8, [x23]
	tst	w8, w0
	b.ne	LBB0_12
; %bb.7:
	mov	w0, #4000
	mov	w1, #8000
	bl	_usleep_range
	ldr	w1, [x21]
	mov	x0, x19
	bl	_IXGBE_READ_REG
	ldr	w8, [x23]
	tst	w8, w0
	b.ne	LBB0_12
; %bb.8:
	mov	w0, #4000
	mov	w1, #8000
	bl	_usleep_range
	ldr	w1, [x21]
	mov	x0, x19
	bl	_IXGBE_READ_REG
	ldr	w8, [x23]
	tst	w8, w0
	b.ne	LBB0_12
; %bb.9:
	mov	w0, #4000
	mov	w1, #8000
	bl	_usleep_range
	ldr	w1, [x21]
	mov	x0, x19
	bl	_IXGBE_READ_REG
	ldr	w8, [x23]
	tst	w8, w0
	b.ne	LBB0_12
; %bb.10:
	mov	w0, #4000
	mov	w1, #8000
	bl	_usleep_range
	ldr	w1, [x21]
	mov	x0, x19
	bl	_IXGBE_READ_REG
	ldr	w8, [x23]
	tst	w8, w0
	b.ne	LBB0_12
; %bb.11:
	mov	w0, #4000
	mov	w1, #8000
	bl	_usleep_range
	ldr	w1, [x21]
	mov	x0, x19
	bl	_IXGBE_READ_REG
	ldr	w8, [x23]
LBB0_12:
	tst	w8, w0
	b.eq	LBB0_14
; %bb.13:
	mov	x21, #0
	b	LBB0_15
LBB0_14:
Lloh17:
	adrp	x1, l_.str@PAGE
Lloh18:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x19
	bl	_hw_dbg
Lloh19:
	adrp	x8, _IXGBE_ERR_RESET_FAILED@GOTPAGE
Lloh20:
	ldr	x8, [x8, _IXGBE_ERR_RESET_FAILED@GOTPAGEOFF]
Lloh21:
	ldr	x21, [x8]
LBB0_15:
	ldr	w1, [x22]
	mov	x0, x19
	mov	x2, x20
	bl	_IXGBE_WRITE_REG
	mov	x0, x19
	bl	_IXGBE_WRITE_FLUSH
	mov	x0, x21
	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
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh15, Lloh16
	.loh AdrpLdrGot	Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.loh AdrpAdd	Lloh17, Lloh18
	.cfi_endproc
                                        ; -- End function
	.comm	_IXGBE_AUTOC2,4,2               ; @IXGBE_AUTOC2
	.comm	_IXGBE_AUTOC2_LINK_DISABLE_MASK,4,2 ; @IXGBE_AUTOC2_LINK_DISABLE_MASK
	.comm	_IXGBE_AUTOC,4,2                ; @IXGBE_AUTOC
	.comm	_IXGBE_AUTOC_AN_RESTART,4,2     ; @IXGBE_AUTOC_AN_RESTART
	.comm	_IXGBE_AUTOC_LMS_SHIFT,4,2      ; @IXGBE_AUTOC_LMS_SHIFT
	.comm	_IXGBE_ANLP1,4,2                ; @IXGBE_ANLP1
	.comm	_IXGBE_ANLP1_AN_STATE_MASK,4,2  ; @IXGBE_ANLP1_AN_STATE_MASK
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"auto negotiation not completed\n"

	.comm	_IXGBE_ERR_RESET_FAILED,8,3     ; @IXGBE_ERR_RESET_FAILED
	.no_dead_strip	_ixgbe_reset_pipeline_82599
.subsections_via_symbols
