	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function xgbe_an73_state_machine
_xgbe_an73_state_machine:               ## @xgbe_an73_state_machine
	.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
	movl	4(%rdi), %eax
	testl	%eax, %eax
	je	LBB0_28
## %bb.1:
	movq	%rdi, %r12
	movq	_XGBE_AN_CL73_PG_RCV@GOTPCREL(%rip), %rcx
	movq	_link@GOTPCREL(%rip), %r15
	leaq	L_.str(%rip), %r14
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_26:                                ##   in Loop: Header=BB0_2 Depth=1
	movl	4(%r12), %eax
	testl	%eax, %eax
	movq	_XGBE_AN_CL73_PG_RCV@GOTPCREL(%rip), %rcx
	je	LBB0_27
LBB0_2:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_9 Depth 2
	testl	%eax, (%rcx)
	je	LBB0_4
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	movl	$129, (%r12)
	movl	(%rcx), %ecx
	notl	%ecx
	andl	%ecx, %eax
	movl	%eax, 4(%r12)
	movl	$129, %edi
	jmp	LBB0_9
	.p2align	4, 0x90
LBB0_4:                                 ##   in Loop: Header=BB0_2 Depth=1
	movq	_XGBE_AN_CL73_INC_LINK@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	je	LBB0_6
## %bb.5:                               ##   in Loop: Header=BB0_2 Depth=1
	movl	$131, (%r12)
	movl	(%rcx), %ecx
	notl	%ecx
	andl	%ecx, %eax
	movl	%eax, 4(%r12)
	movl	$131, %edi
	jmp	LBB0_9
LBB0_6:                                 ##   in Loop: Header=BB0_2 Depth=1
	movq	_XGBE_AN_CL73_INT_CMPLT@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	je	LBB0_8
## %bb.7:                               ##   in Loop: Header=BB0_2 Depth=1
	movl	$132, (%r12)
	movl	(%rcx), %ecx
	notl	%ecx
	andl	%ecx, %eax
	movl	%eax, 4(%r12)
	movl	$132, %edi
	jmp	LBB0_9
LBB0_8:                                 ##   in Loop: Header=BB0_2 Depth=1
	movq	_XGBE_AN_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	%edi, (%r12)
	jmp	LBB0_9
	.p2align	4, 0x90
LBB0_24:                                ##   in Loop: Header=BB0_9 Depth=2
	movl	(%r15), %ebx
	movq	%r15, %r14
	movl	16(%r12), %r15d
	callq	_xgbe_state_as_string
	movq	%r12, %rdi
	movl	%ebx, %esi
	movl	%r15d, %edx
	movq	%r14, %r15
	leaq	L_.str.5(%rip), %rcx
	movq	%rax, %r8
	callq	_netif_dbg
	movl	(%r12), %edi
	leaq	L_.str(%rip), %r14
LBB0_25:                                ##   in Loop: Header=BB0_9 Depth=2
	cmpl	%edi, %r13d
	je	LBB0_26
LBB0_9:                                 ##   Parent Loop BB0_2 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movl	(%r15), %ebx
	movl	16(%r12), %r13d
	callq	_xgbe_state_as_string
	movq	%r12, %rdi
	movl	%ebx, %esi
	movl	%r13d, %edx
	movq	%r14, %rcx
	movq	%rax, %r8
	callq	_netif_dbg
	movl	(%r12), %r13d
	leal	-128(%r13), %eax
	cmpl	$4, %eax
	ja	LBB0_15
## %bb.10:                              ##   in Loop: Header=BB0_9 Depth=2
	leaq	LJTI0_0(%rip), %rcx
	movslq	(%rcx,%rax,4), %rax
	addq	%rcx, %rax
	jmpq	*%rax
LBB0_11:                                ##   in Loop: Header=BB0_9 Depth=2
	movl	$0, 56(%r12)
	movl	$128, %eax
	jmp	LBB0_18
LBB0_15:                                ##   in Loop: Header=BB0_9 Depth=2
	movq	_XGBE_AN_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	jmp	LBB0_16
LBB0_12:                                ##   in Loop: Header=BB0_9 Depth=2
	movq	%r12, %rdi
	callq	_xgbe_an73_page_received
	movl	%eax, (%r12)
	incl	56(%r12)
	cmpl	$130, %eax
	jne	LBB0_18
	jmp	LBB0_20
LBB0_13:                                ##   in Loop: Header=BB0_9 Depth=2
	movl	$0, 56(%r12)
	movl	$0, 8(%r12)
	movq	%r12, %rdi
	callq	_xgbe_an73_incompat_link
LBB0_16:                                ##   in Loop: Header=BB0_9 Depth=2
	movl	%eax, (%r12)
	cmpl	$130, %eax
	jne	LBB0_18
	jmp	LBB0_20
LBB0_14:                                ##   in Loop: Header=BB0_9 Depth=2
	xorl	%eax, %eax
	cmpl	$0, 56(%r12)
	sete	%al
	movl	%eax, 8(%r12)
	movl	(%r15), %esi
	movl	16(%r12), %edx
	leaq	L_.str.2(%rip), %r8
	leaq	L_.str.3(%rip), %rax
	cmoveq	%rax, %r8
	movq	%r12, %rdi
	leaq	L_.str.1(%rip), %rcx
	callq	_netif_dbg
	movl	(%r12), %eax
	cmpl	$130, %eax
	je	LBB0_20
	.p2align	4, 0x90
LBB0_18:                                ##   in Loop: Header=BB0_9 Depth=2
	cltq
	movq	_XGBE_AN_ERROR@GOTPCREL(%rip), %rcx
	cmpq	%rax, (%rcx)
	jne	LBB0_21
## %bb.19:                              ##   in Loop: Header=BB0_9 Depth=2
	movl	16(%r12), %edi
	leaq	L_.str.4(%rip), %rsi
	movl	%r13d, %edx
	callq	_netdev_err
LBB0_20:                                ##   in Loop: Header=BB0_9 Depth=2
	movl	$0, 4(%r12)
	movq	%r12, %rdi
	callq	_xgbe_an73_clear_interrupts
LBB0_21:                                ##   in Loop: Header=BB0_9 Depth=2
	movl	(%r12), %edi
	cmpl	$132, %edi
	jl	LBB0_25
## %bb.22:                              ##   in Loop: Header=BB0_9 Depth=2
	movl	%edi, 12(%r12)
	movl	$128, (%r12)
	movq	_XGBE_RX_BPA@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, 48(%r12)
	movq	%rax, 40(%r12)
	movq	$0, 32(%r12)
	movq	24(%r12), %rax
	testq	%rax, %rax
	je	LBB0_24
## %bb.23:                              ##   in Loop: Header=BB0_9 Depth=2
	movq	%r12, %rdi
	callq	*%rax
	movl	12(%r12), %edi
	jmp	LBB0_24
LBB0_27:
	movq	%r12, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_xgbe_an73_enable_interrupts    ## TAILCALL
LBB0_28:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_11, LBB0_11-LJTI0_0
.set L0_0_set_12, LBB0_12-LJTI0_0
.set L0_0_set_20, LBB0_20-LJTI0_0
.set L0_0_set_13, LBB0_13-LJTI0_0
.set L0_0_set_14, LBB0_14-LJTI0_0
LJTI0_0:
	.long	L0_0_set_11
	.long	L0_0_set_12
	.long	L0_0_set_20
	.long	L0_0_set_13
	.long	L0_0_set_14
	.end_data_region
                                        ## -- End function
	.comm	_XGBE_AN_CL73_PG_RCV,4,2        ## @XGBE_AN_CL73_PG_RCV
	.comm	_XGBE_AN_CL73_INC_LINK,4,2      ## @XGBE_AN_CL73_INC_LINK
	.comm	_XGBE_AN_CL73_INT_CMPLT,4,2     ## @XGBE_AN_CL73_INT_CMPLT
	.comm	_XGBE_AN_ERROR,8,3              ## @XGBE_AN_ERROR
	.comm	_link,4,2                       ## @link
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"CL73 AN %s\n"

L_.str.1:                               ## @.str.1
	.asciz	"%s successful\n"

L_.str.2:                               ## @.str.2
	.asciz	"Auto negotiation"

L_.str.3:                               ## @.str.3
	.asciz	"Parallel detection"

L_.str.4:                               ## @.str.4
	.asciz	"error during auto-negotiation, state=%u\n"

	.comm	_XGBE_RX_BPA,8,3                ## @XGBE_RX_BPA
L_.str.5:                               ## @.str.5
	.asciz	"CL73 AN result: %s\n"

	.no_dead_strip	_xgbe_an73_state_machine
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function xgbe_an73_state_machine
_xgbe_an73_state_machine:               ; @xgbe_an73_state_machine
	.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
	ldr	w8, [x0, #4]
	cbz	w8, LBB0_28
; %bb.1:
	mov	x19, x0
Lloh0:
	adrp	x10, _XGBE_AN_CL73_PG_RCV@GOTPAGE
Lloh1:
	ldr	x10, [x10, _XGBE_AN_CL73_PG_RCV@GOTPAGEOFF]
Lloh2:
	adrp	x20, l_.str@PAGE
Lloh3:
	add	x20, x20, l_.str@PAGEOFF
Lloh4:
	adrp	x27, _XGBE_AN_ERROR@GOTPAGE
Lloh5:
	ldr	x27, [x27, _XGBE_AN_ERROR@GOTPAGEOFF]
Lloh6:
	adrp	x23, _link@GOTPAGE
Lloh7:
	ldr	x23, [x23, _link@GOTPAGEOFF]
Lloh8:
	adrp	x21, l_.str.5@PAGE
Lloh9:
	add	x21, x21, l_.str.5@PAGEOFF
Lloh10:
	adrp	x22, _XGBE_RX_BPA@GOTPAGE
Lloh11:
	ldr	x22, [x22, _XGBE_RX_BPA@GOTPAGEOFF]
Lloh12:
	adrp	x28, lJTI0_0@PAGE
Lloh13:
	add	x28, x28, lJTI0_0@PAGEOFF
	b	LBB0_3
LBB0_2:                                 ;   in Loop: Header=BB0_3 Depth=1
	ldr	w8, [x19, #4]
Lloh14:
	adrp	x10, _XGBE_AN_CL73_PG_RCV@GOTPAGE
Lloh15:
	ldr	x10, [x10, _XGBE_AN_CL73_PG_RCV@GOTPAGEOFF]
	cbz	w8, LBB0_27
LBB0_3:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_13 Depth 2
	ldr	w9, [x10]
	tst	w9, w8
	b.eq	LBB0_5
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	mov	w0, #129
	b	LBB0_9
LBB0_5:                                 ;   in Loop: Header=BB0_3 Depth=1
Lloh16:
	adrp	x10, _XGBE_AN_CL73_INC_LINK@GOTPAGE
Lloh17:
	ldr	x10, [x10, _XGBE_AN_CL73_INC_LINK@GOTPAGEOFF]
	ldr	w9, [x10]
	tst	w9, w8
	b.eq	LBB0_7
; %bb.6:                                ;   in Loop: Header=BB0_3 Depth=1
	mov	w0, #131
	b	LBB0_9
LBB0_7:                                 ;   in Loop: Header=BB0_3 Depth=1
Lloh18:
	adrp	x10, _XGBE_AN_CL73_INT_CMPLT@GOTPAGE
Lloh19:
	ldr	x10, [x10, _XGBE_AN_CL73_INT_CMPLT@GOTPAGEOFF]
	ldr	w9, [x10]
	tst	w9, w8
	b.eq	LBB0_10
; %bb.8:                                ;   in Loop: Header=BB0_3 Depth=1
	mov	w0, #132
LBB0_9:                                 ;   in Loop: Header=BB0_3 Depth=1
	str	w0, [x19]
	ldr	w9, [x10]
	bic	w8, w8, w9
	str	w8, [x19, #4]
	b	LBB0_13
LBB0_10:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	w0, [x27]
	str	w0, [x19]
	b	LBB0_13
LBB0_11:                                ;   in Loop: Header=BB0_13 Depth=2
	ldr	w25, [x23]
	ldr	w26, [x19, #16]
	bl	_xgbe_state_as_string
	mov	x4, x0
	mov	x0, x19
	mov	x1, x25
	mov	x2, x26
	mov	x3, x21
	bl	_netif_dbg
	ldr	w0, [x19]
LBB0_12:                                ;   in Loop: Header=BB0_13 Depth=2
	cmp	w24, w0
	b.eq	LBB0_2
LBB0_13:                                ;   Parent Loop BB0_3 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldr	w24, [x23]
	ldr	w25, [x19, #16]
	bl	_xgbe_state_as_string
	mov	x4, x0
	mov	x0, x19
	mov	x1, x24
	mov	x2, x25
	mov	x3, x20
	bl	_netif_dbg
	ldr	w24, [x19]
	sub	w8, w24, #128
	cmp	w8, #4
	b.hi	LBB0_16
; %bb.14:                               ;   in Loop: Header=BB0_13 Depth=2
	adr	x9, LBB0_15
	ldrb	w10, [x28, x8]
	add	x9, x9, x10, lsl #2
	br	x9
LBB0_15:                                ;   in Loop: Header=BB0_13 Depth=2
	str	wzr, [x19, #56]
	mov	w0, #128
	b	LBB0_21
LBB0_16:                                ;   in Loop: Header=BB0_13 Depth=2
	ldr	w0, [x27]
	b	LBB0_19
LBB0_17:                                ;   in Loop: Header=BB0_13 Depth=2
	mov	x0, x19
	bl	_xgbe_an73_page_received
	str	w0, [x19]
	ldr	w8, [x19, #56]
	add	w8, w8, #1
	str	w8, [x19, #56]
	cmp	w0, #130
	b.ne	LBB0_21
	b	LBB0_23
LBB0_18:                                ;   in Loop: Header=BB0_13 Depth=2
	str	wzr, [x19, #56]
	str	wzr, [x19, #8]
	mov	x0, x19
	bl	_xgbe_an73_incompat_link
LBB0_19:                                ;   in Loop: Header=BB0_13 Depth=2
	str	w0, [x19]
	cmp	w0, #130
	b.ne	LBB0_21
	b	LBB0_23
LBB0_20:                                ;   in Loop: Header=BB0_13 Depth=2
	ldr	w8, [x19, #56]
	cmp	w8, #0
	cset	w8, eq
	str	w8, [x19, #8]
	ldr	w1, [x23]
	ldr	w2, [x19, #16]
Lloh20:
	adrp	x8, l_.str.2@PAGE
Lloh21:
	add	x8, x8, l_.str.2@PAGEOFF
Lloh22:
	adrp	x9, l_.str.3@PAGE
Lloh23:
	add	x9, x9, l_.str.3@PAGEOFF
	csel	x4, x9, x8, eq
	mov	x0, x19
Lloh24:
	adrp	x3, l_.str.1@PAGE
Lloh25:
	add	x3, x3, l_.str.1@PAGEOFF
	bl	_netif_dbg
	ldr	w0, [x19]
	cmp	w0, #130
	b.eq	LBB0_23
LBB0_21:                                ;   in Loop: Header=BB0_13 Depth=2
	ldr	x8, [x27]
	cmp	x8, w0, sxtw
	b.ne	LBB0_24
; %bb.22:                               ;   in Loop: Header=BB0_13 Depth=2
	ldr	w0, [x19, #16]
Lloh26:
	adrp	x1, l_.str.4@PAGE
Lloh27:
	add	x1, x1, l_.str.4@PAGEOFF
	mov	x2, x24
	bl	_netdev_err
LBB0_23:                                ;   in Loop: Header=BB0_13 Depth=2
	str	wzr, [x19, #4]
	mov	x0, x19
	bl	_xgbe_an73_clear_interrupts
LBB0_24:                                ;   in Loop: Header=BB0_13 Depth=2
	ldr	w0, [x19]
	cmp	w0, #132
	b.lt	LBB0_12
; %bb.25:                               ;   in Loop: Header=BB0_13 Depth=2
	str	w0, [x19, #12]
	mov	w8, #128
	str	w8, [x19]
	ldr	x8, [x22]
	stp	x8, x8, [x19, #40]
	str	xzr, [x19, #32]
	ldr	x8, [x19, #24]
	cbz	x8, LBB0_11
; %bb.26:                               ;   in Loop: Header=BB0_13 Depth=2
	mov	x0, x19
	blr	x8
	ldr	w0, [x19, #12]
	b	LBB0_11
LBB0_27:
	mov	x0, x19
	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
	b	_xgbe_an73_enable_interrupts
LBB0_28:
	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
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh14, Lloh15
	.loh AdrpLdrGot	Lloh16, Lloh17
	.loh AdrpLdrGot	Lloh18, Lloh19
	.loh AdrpAdd	Lloh24, Lloh25
	.loh AdrpAdd	Lloh22, Lloh23
	.loh AdrpAdd	Lloh20, Lloh21
	.loh AdrpAdd	Lloh26, Lloh27
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_15-LBB0_15)>>2
	.byte	(LBB0_17-LBB0_15)>>2
	.byte	(LBB0_23-LBB0_15)>>2
	.byte	(LBB0_18-LBB0_15)>>2
	.byte	(LBB0_20-LBB0_15)>>2
                                        ; -- End function
	.comm	_XGBE_AN_CL73_PG_RCV,4,2        ; @XGBE_AN_CL73_PG_RCV
	.comm	_XGBE_AN_CL73_INC_LINK,4,2      ; @XGBE_AN_CL73_INC_LINK
	.comm	_XGBE_AN_CL73_INT_CMPLT,4,2     ; @XGBE_AN_CL73_INT_CMPLT
	.comm	_XGBE_AN_ERROR,8,3              ; @XGBE_AN_ERROR
	.comm	_link,4,2                       ; @link
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"CL73 AN %s\n"

l_.str.1:                               ; @.str.1
	.asciz	"%s successful\n"

l_.str.2:                               ; @.str.2
	.asciz	"Auto negotiation"

l_.str.3:                               ; @.str.3
	.asciz	"Parallel detection"

l_.str.4:                               ; @.str.4
	.asciz	"error during auto-negotiation, state=%u\n"

	.comm	_XGBE_RX_BPA,8,3                ; @XGBE_RX_BPA
l_.str.5:                               ; @.str.5
	.asciz	"CL73 AN result: %s\n"

	.no_dead_strip	_xgbe_an73_state_machine
.subsections_via_symbols
