	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_mt7620_mdio_link_adjust        ## -- Begin function mt7620_mdio_link_adjust
	.p2align	4, 0x90
_mt7620_mdio_link_adjust:               ## @mt7620_mdio_link_adjust
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	movq	%rdi, %rbx
	movq	(%rdi), %rax
	movq	8(%rdi), %rcx
	movslq	%esi, %rsi
	movl	(%rcx,%rsi,4), %edx
	movq	(%rax), %rdi
	movq	8(%rax), %rax
	movl	(%rax,%rsi,4), %ecx
	movq	(%rdi,%rsi,8), %rax
	movq	_DUPLEX_FULL@GOTPCREL(%rip), %rdi
	xorl	%r8d, %r8d
	cmpq	(%rdi), %rax
	sete	%r8b
	movq	%rbx, %rdi
                                        ## kill: def $esi killed $esi killed $rsi
	callq	_mt7620_print_link_state
	movq	%rbx, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	jmp	_mt7620_handle_carrier          ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_DUPLEX_FULL,8,3                ## @DUPLEX_FULL
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_mt7620_mdio_link_adjust        ; -- Begin function mt7620_mdio_link_adjust
	.p2align	2
_mt7620_mdio_link_adjust:               ; @mt7620_mdio_link_adjust
	.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
                                        ; kill: def $w1 killed $w1 def $x1
	mov	x19, x0
	sbfiz	x8, x1, #2, #32
	ldp	x10, x9, [x0]
	ldr	w2, [x9, x8]
	ldp	x10, x9, [x10]
	ldr	w3, [x9, x8]
	ldr	x8, [x10, w1, sxtw #3]
Lloh0:
	adrp	x9, _DUPLEX_FULL@GOTPAGE
Lloh1:
	ldr	x9, [x9, _DUPLEX_FULL@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	cmp	x8, x9
	cset	w4, eq
                                        ; kill: def $w1 killed $w1 killed $x1
	bl	_mt7620_print_link_state
	mov	x0, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_mt7620_handle_carrier
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_DUPLEX_FULL,8,3                ; @DUPLEX_FULL
.subsections_via_symbols
