	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function phylink_bringup_phy
_phylink_bringup_phy:                   ## @phylink_bringup_phy
	.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	%rsi, %r14
	movq	%rdi, %r13
	movq	_supported@GOTPCREL(%rip), %r12
	movl	(%r12), %edi
	callq	___ETHTOOL_DECLARE_LINK_MODE_MASK
	leaq	-48(%rbp), %rdi
	xorl	%esi, %esi
	movl	$8, %edx
	callq	_memset
	movl	(%r12), %edi
	movl	32(%r14), %esi
	callq	_linkmode_copy
	movl	-48(%rbp), %edi
	movl	(%r14), %esi
	callq	_linkmode_copy
	movl	12(%r13), %eax
	movl	%eax, -44(%rbp)
	movl	(%r12), %edi
	movq	_Pause@GOTPCREL(%rip), %rbx
	movl	(%rbx), %esi
	callq	_phylink_test
	testq	%rax, %rax
	je	LBB0_2
## %bb.1:
	movl	-48(%rbp), %edi
	movl	(%rbx), %esi
	callq	_phylink_set
LBB0_2:
	movl	(%r12), %edi
	movq	_Asym_Pause@GOTPCREL(%rip), %rbx
	movl	(%rbx), %esi
	callq	_phylink_test
	testq	%rax, %rax
	je	LBB0_4
## %bb.3:
	movl	-48(%rbp), %edi
	movl	(%rbx), %esi
	callq	_phylink_set
LBB0_4:
	movl	(%r12), %esi
	leaq	-48(%rbp), %rdx
	movq	%r13, %rdi
	callq	_phylink_validate
	movl	%eax, %r15d
	testl	%eax, %eax
	jne	LBB0_7
## %bb.5:
	movq	%r13, 24(%r14)
	movq	_phylink_phy_change@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 20(%r14)
	leaq	16(%r14), %rdi
	callq	_dev_name
	movq	8(%r14), %rcx
	movl	(%rcx), %ecx
	leaq	L_.str(%rip), %rsi
	movq	%r13, %rdi
	movl	%eax, %edx
	callq	_phylink_info
	leaq	4(%r14), %rdi
	movq	%rdi, -56(%rbp)                 ## 8-byte Spill
	callq	_mutex_lock
	leaq	4(%r13), %rbx
	movq	%rbx, %rdi
	callq	_mutex_lock
	movq	%r14, 16(%r13)
	movl	(%r13), %edi
	movl	(%r12), %esi
	callq	_linkmode_copy
	movl	8(%r13), %edi
	movl	-48(%rbp), %esi
	callq	_linkmode_copy
	movl	(%r14), %edi
	movl	-48(%rbp), %esi
	callq	_linkmode_copy
	movq	%rbx, %rdi
	callq	_mutex_unlock
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	callq	_mutex_unlock
	movq	___ETHTOOL_LINK_MODE_MASK_NBITS@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movl	(%r13), %ecx
	movl	(%r14), %r9d
	leaq	L_.str.1(%rip), %rsi
	movq	%r13, %rdi
	movl	%edx, %r8d
	callq	_phylink_dbg
	movq	%r14, %rdi
	callq	_phy_interrupt_is_valid
	testq	%rax, %rax
	je	LBB0_7
## %bb.6:
	movq	%r14, %rdi
	callq	_phy_request_interrupt
LBB0_7:
	movl	%r15d, %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_supported,4,2                  ## @supported
	.comm	_Pause,4,2                      ## @Pause
	.comm	_Asym_Pause,4,2                 ## @Asym_Pause
	.comm	_phylink_phy_change,4,2         ## @phylink_phy_change
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"PHY [%s] driver [%s]\n"

L_.str.1:                               ## @.str.1
	.asciz	"phy: setting supported %*pb advertising %*pb\n"

	.comm	___ETHTOOL_LINK_MODE_MASK_NBITS,4,2 ## @__ETHTOOL_LINK_MODE_MASK_NBITS
	.no_dead_strip	_phylink_bringup_phy
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function phylink_bringup_phy
_phylink_bringup_phy:                   ; @phylink_bringup_phy
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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, x1
	mov	x20, x0
Lloh0:
	adrp	x24, _supported@GOTPAGE
Lloh1:
	ldr	x24, [x24, _supported@GOTPAGEOFF]
	ldr	w0, [x24]
	bl	___ETHTOOL_DECLARE_LINK_MODE_MASK
	add	x0, sp, #8
	mov	w1, #0
	mov	w2, #8
	bl	_memset
	ldr	w0, [x24]
	ldr	w1, [x19, #32]
	bl	_linkmode_copy
	ldr	w0, [sp, #8]
	ldr	w1, [x19]
	bl	_linkmode_copy
	ldr	w8, [x20, #12]
	str	w8, [sp, #12]
	ldr	w0, [x24]
Lloh2:
	adrp	x21, _Pause@GOTPAGE
Lloh3:
	ldr	x21, [x21, _Pause@GOTPAGEOFF]
	ldr	w1, [x21]
	bl	_phylink_test
	cbz	x0, LBB0_2
; %bb.1:
	ldr	w0, [sp, #8]
	ldr	w1, [x21]
	bl	_phylink_set
LBB0_2:
	ldr	w0, [x24]
Lloh4:
	adrp	x21, _Asym_Pause@GOTPAGE
Lloh5:
	ldr	x21, [x21, _Asym_Pause@GOTPAGEOFF]
	ldr	w1, [x21]
	bl	_phylink_test
	cbz	x0, LBB0_4
; %bb.3:
	ldr	w0, [sp, #8]
	ldr	w1, [x21]
	bl	_phylink_set
LBB0_4:
	ldr	w1, [x24]
	add	x2, sp, #8
	mov	x0, x20
	bl	_phylink_validate
	mov	x21, x0
	cbnz	w0, LBB0_7
; %bb.5:
	str	x20, [x19, #24]
Lloh6:
	adrp	x8, _phylink_phy_change@GOTPAGE
Lloh7:
	ldr	x8, [x8, _phylink_phy_change@GOTPAGEOFF]
Lloh8:
	ldr	w8, [x8]
	str	w8, [x19, #20]
	add	x0, x19, #16
	bl	_dev_name
	mov	x2, x0
	ldr	x8, [x19, #8]
	ldr	w3, [x8]
Lloh9:
	adrp	x1, l_.str@PAGE
Lloh10:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x20
	bl	_phylink_info
	add	x22, x19, #4
	mov	x0, x22
	bl	_mutex_lock
	add	x23, x20, #4
	mov	x0, x23
	bl	_mutex_lock
	str	x19, [x20, #16]
	ldr	w0, [x20]
	ldr	w1, [x24]
	bl	_linkmode_copy
	ldr	w0, [x20, #8]
	ldr	w1, [sp, #8]
	bl	_linkmode_copy
	ldr	w0, [x19]
	ldr	w1, [sp, #8]
	bl	_linkmode_copy
	mov	x0, x23
	bl	_mutex_unlock
	mov	x0, x22
	bl	_mutex_unlock
Lloh11:
	adrp	x8, ___ETHTOOL_LINK_MODE_MASK_NBITS@GOTPAGE
Lloh12:
	ldr	x8, [x8, ___ETHTOOL_LINK_MODE_MASK_NBITS@GOTPAGEOFF]
Lloh13:
	ldr	w2, [x8]
	ldr	w3, [x20]
	ldr	w5, [x19]
Lloh14:
	adrp	x1, l_.str.1@PAGE
Lloh15:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x0, x20
	mov	x4, x2
	bl	_phylink_dbg
	mov	x0, x19
	bl	_phy_interrupt_is_valid
	cbz	x0, LBB0_7
; %bb.6:
	mov	x0, x19
	bl	_phy_request_interrupt
LBB0_7:
	mov	x0, x21
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #80
	ret
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpAdd	Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_supported,4,2                  ; @supported
	.comm	_Pause,4,2                      ; @Pause
	.comm	_Asym_Pause,4,2                 ; @Asym_Pause
	.comm	_phylink_phy_change,4,2         ; @phylink_phy_change
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"PHY [%s] driver [%s]\n"

l_.str.1:                               ; @.str.1
	.asciz	"phy: setting supported %*pb advertising %*pb\n"

	.comm	___ETHTOOL_LINK_MODE_MASK_NBITS,4,2 ; @__ETHTOOL_LINK_MODE_MASK_NBITS
	.no_dead_strip	_phylink_bringup_phy
.subsections_via_symbols
