	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function phylink_phy_change
_phylink_phy_change:                    ## @phylink_phy_change
	.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	%esi, %r15d
	movq	%rdi, %r14
	movq	32(%rdi), %rbx
	movq	%rbx, %rdi
	callq	_mutex_lock
	movl	4(%r14), %eax
	movl	%eax, 20(%rbx)
	movl	(%r14), %eax
	movl	%eax, 16(%rbx)
	movq	_MLO_PAUSE_NONE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 12(%rbx)
	cmpq	$0, 24(%r14)
	je	LBB0_2
## %bb.1:
	movq	_MLO_PAUSE_SYM@GOTPCREL(%rip), %rcx
	orl	(%rcx), %eax
	movl	%eax, 12(%rbx)
LBB0_2:
	cmpq	$0, 16(%r14)
	je	LBB0_4
## %bb.3:
	movq	_MLO_PAUSE_ASYM@GOTPCREL(%rip), %rcx
	orl	(%rcx), %eax
	movl	%eax, 12(%rbx)
LBB0_4:
	movl	8(%r14), %eax
	movl	%eax, 8(%rbx)
	movl	%r15d, 4(%rbx)
	movq	%rbx, %rdi
	callq	_mutex_unlock
	movq	%rbx, %rdi
	callq	_phylink_run_resolve
	testl	%r15d, %r15d
	leaq	L_.str.2(%rip), %rax
	leaq	L_.str.1(%rip), %r15
	cmoveq	%rax, %r15
	movl	8(%r14), %edi
	callq	_phy_modes
	movl	%eax, %r12d
	movl	4(%r14), %edi
	callq	_phy_speed_to_str
	movl	%eax, %r13d
	movl	(%r14), %edi
	callq	_phy_duplex_to_str
	leaq	L_.str(%rip), %rsi
	movq	%rbx, %rdi
	movq	%r15, %rdx
	movl	%r12d, %ecx
	movl	%r13d, %r8d
	movl	%eax, %r9d
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_phylink_dbg                    ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_MLO_PAUSE_NONE,4,2             ## @MLO_PAUSE_NONE
	.comm	_MLO_PAUSE_SYM,4,2              ## @MLO_PAUSE_SYM
	.comm	_MLO_PAUSE_ASYM,4,2             ## @MLO_PAUSE_ASYM
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"phy link %s %s/%s/%s\n"

L_.str.1:                               ## @.str.1
	.asciz	"up"

L_.str.2:                               ## @.str.2
	.asciz	"down"

	.no_dead_strip	_phylink_phy_change
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function phylink_phy_change
_phylink_phy_change:                    ; @phylink_phy_change
	.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	x21, x1
	mov	x20, x0
	ldr	x19, [x0, #32]
	mov	x0, x19
	bl	_mutex_lock
	ldr	d0, [x20]
	str	d0, [x19, #16]
Lloh0:
	adrp	x8, _MLO_PAUSE_NONE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _MLO_PAUSE_NONE@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	str	w8, [x19, #12]
	ldr	x9, [x20, #24]
	cbz	x9, LBB0_2
; %bb.1:
Lloh3:
	adrp	x9, _MLO_PAUSE_SYM@GOTPAGE
Lloh4:
	ldr	x9, [x9, _MLO_PAUSE_SYM@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
	orr	w8, w9, w8
	str	w8, [x19, #12]
LBB0_2:
	ldr	x9, [x20, #16]
	cbz	x9, LBB0_4
; %bb.3:
Lloh6:
	adrp	x9, _MLO_PAUSE_ASYM@GOTPAGE
Lloh7:
	ldr	x9, [x9, _MLO_PAUSE_ASYM@GOTPAGEOFF]
Lloh8:
	ldr	w9, [x9]
	orr	w8, w8, w9
	str	w8, [x19, #12]
LBB0_4:
	ldr	w8, [x20, #8]
	stp	w21, w8, [x19, #4]
	mov	x0, x19
	bl	_mutex_unlock
	mov	x0, x19
	bl	_phylink_run_resolve
Lloh9:
	adrp	x8, l_.str.1@PAGE
Lloh10:
	add	x8, x8, l_.str.1@PAGEOFF
Lloh11:
	adrp	x9, l_.str.2@PAGE
Lloh12:
	add	x9, x9, l_.str.2@PAGEOFF
	cmp	w21, #0
	csel	x21, x9, x8, eq
	ldr	w0, [x20, #8]
	bl	_phy_modes
	mov	x22, x0
	ldr	w0, [x20, #4]
	bl	_phy_speed_to_str
	mov	x23, x0
	ldr	w0, [x20]
	bl	_phy_duplex_to_str
	mov	x5, x0
Lloh13:
	adrp	x1, l_.str@PAGE
Lloh14:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x19
	mov	x2, x21
	mov	x3, x22
	mov	x4, x23
	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
	b	_phylink_dbg
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpAdd	Lloh13, Lloh14
	.loh AdrpAdd	Lloh11, Lloh12
	.loh AdrpAdd	Lloh9, Lloh10
	.cfi_endproc
                                        ; -- End function
	.comm	_MLO_PAUSE_NONE,4,2             ; @MLO_PAUSE_NONE
	.comm	_MLO_PAUSE_SYM,4,2              ; @MLO_PAUSE_SYM
	.comm	_MLO_PAUSE_ASYM,4,2             ; @MLO_PAUSE_ASYM
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"phy link %s %s/%s/%s\n"

l_.str.1:                               ; @.str.1
	.asciz	"up"

l_.str.2:                               ; @.str.2
	.asciz	"down"

	.no_dead_strip	_phylink_phy_change
.subsections_via_symbols
