	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_of_phy_register_fixed_link     ## -- Begin function of_phy_register_fixed_link
	.p2align	4, 0x90
_of_phy_register_fixed_link:            ## @of_phy_register_fixed_link
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	subq	$112, %rsp
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rdi, %r14
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -24(%rbp)
	pxor	%xmm0, %xmm0
	movdqa	%xmm0, -96(%rbp)
	movdqa	%xmm0, -112(%rbp)
	movq	$0, -80(%rbp)
	leaq	L_.str(%rip), %rsi
	leaq	-120(%rbp), %rdx
	callq	_of_property_read_string
	testq	%rax, %rax
	jne	LBB0_2
## %bb.1:
	movq	-120(%rbp), %rdi
	leaq	L_.str.1(%rip), %rsi
	callq	_strcmp
	testq	%rax, %rax
	je	LBB0_10
LBB0_2:
	leaq	L_.str.2(%rip), %rsi
	movq	%r14, %rdi
	callq	_of_get_child_by_name
	testq	%rax, %rax
	je	LBB0_5
## %bb.3:
	movq	%rax, %rbx
	movl	$1, -112(%rbp)
	leaq	L_.str.3(%rip), %rsi
	movq	%rax, %rdi
	callq	_of_property_read_bool
	movq	%rax, -80(%rbp)
	leaq	-88(%rbp), %rdx
	leaq	L_.str.4(%rip), %rsi
	movq	%rbx, %rdi
	callq	_of_property_read_u32
	testq	%rax, %rax
	je	LBB0_9
## %bb.4:
	movq	%rbx, %rdi
	callq	_of_node_put
	movq	_EINVAL@GOTPCREL(%rip), %rcx
	jmp	LBB0_8
LBB0_5:
	leaq	-64(%rbp), %rbx
	movq	%rbx, %rdi
	callq	_ARRAY_SIZE
	leaq	L_.str.2(%rip), %rsi
	movq	%r14, %rdi
	movq	%rbx, %rdx
	movl	%eax, %ecx
	callq	_of_property_read_u32_array
	testq	%rax, %rax
	je	LBB0_6
## %bb.7:
	movq	_ENODEV@GOTPCREL(%rip), %rcx
LBB0_8:
	xorl	%eax, %eax
	subl	(%rcx), %eax
	jmp	LBB0_11
LBB0_9:
	leaq	L_.str.5(%rip), %rsi
	movq	%rbx, %rdi
	callq	_of_property_read_bool
	movq	%rax, -96(%rbp)
	leaq	L_.str.6(%rip), %rsi
	movq	%rbx, %rdi
	callq	_of_property_read_bool
	movq	%rax, -104(%rbp)
	movq	%rbx, %rdi
	callq	_of_node_put
	jmp	LBB0_10
LBB0_6:
	movl	$1, -112(%rbp)
	movdqu	-56(%rbp), %xmm0
	movdqu	-40(%rbp), %xmm1
	pshufd	$78, %xmm0, %xmm0               ## xmm0 = xmm0[2,3,0,1]
	movdqu	%xmm0, -88(%rbp)
	pshufd	$78, %xmm1, %xmm0               ## xmm0 = xmm1[2,3,0,1]
	movdqu	%xmm0, -104(%rbp)
LBB0_10:
	movq	_PHY_POLL@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	-112(%rbp), %rsi
	movq	%r14, %rdx
	callq	_fixed_phy_register
	movl	%eax, %edi
	callq	_PTR_ERR_OR_ZERO
LBB0_11:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	cmpq	-24(%rbp), %rcx
	jne	LBB0_13
## %bb.12:
	addq	$112, %rsp
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
LBB0_13:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"managed"

L_.str.1:                               ## @.str.1
	.asciz	"in-band-status"

L_.str.2:                               ## @.str.2
	.asciz	"fixed-link"

L_.str.3:                               ## @.str.3
	.asciz	"full-duplex"

L_.str.4:                               ## @.str.4
	.asciz	"speed"

	.comm	_EINVAL,4,2                     ## @EINVAL
L_.str.5:                               ## @.str.5
	.asciz	"pause"

L_.str.6:                               ## @.str.6
	.asciz	"asym-pause"

	.comm	_ENODEV,4,2                     ## @ENODEV
	.comm	_PHY_POLL,4,2                   ## @PHY_POLL
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_of_phy_register_fixed_link     ; -- Begin function of_phy_register_fixed_link
	.p2align	2
_of_phy_register_fixed_link:            ; @of_phy_register_fixed_link
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #144
	.cfi_def_cfa_offset 144
	stp	x20, x19, [sp, #112]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #128]            ; 16-byte Folded Spill
	add	x29, sp, #128
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x0
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-24]
	str	xzr, [sp, #48]
	movi.2d	v0, #0000000000000000
	stp	q0, q0, [sp, #16]
Lloh3:
	adrp	x1, l_.str@PAGE
Lloh4:
	add	x1, x1, l_.str@PAGEOFF
	add	x2, sp, #8
	bl	_of_property_read_string
	cbnz	x0, LBB0_2
; %bb.1:
	ldr	x0, [sp, #8]
Lloh5:
	adrp	x1, l_.str.1@PAGE
Lloh6:
	add	x1, x1, l_.str.1@PAGEOFF
	bl	_strcmp
	cbz	x0, LBB0_10
LBB0_2:
Lloh7:
	adrp	x1, l_.str.2@PAGE
Lloh8:
	add	x1, x1, l_.str.2@PAGEOFF
	mov	x0, x19
	bl	_of_get_child_by_name
	cbz	x0, LBB0_5
; %bb.3:
	mov	x20, x0
	mov	w8, #1
	str	w8, [sp, #16]
Lloh9:
	adrp	x1, l_.str.3@PAGE
Lloh10:
	add	x1, x1, l_.str.3@PAGEOFF
	bl	_of_property_read_bool
	str	x0, [sp, #48]
	add	x8, sp, #16
	add	x2, x8, #24
Lloh11:
	adrp	x1, l_.str.4@PAGE
Lloh12:
	add	x1, x1, l_.str.4@PAGEOFF
	mov	x0, x20
	bl	_of_property_read_u32
	cbz	x0, LBB0_8
; %bb.4:
	mov	x0, x20
	bl	_of_node_put
Lloh13:
	adrp	x8, _EINVAL@GOTPAGE
Lloh14:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
	b	LBB0_7
LBB0_5:
	add	x0, sp, #64
	bl	_ARRAY_SIZE
	mov	x3, x0
Lloh15:
	adrp	x1, l_.str.2@PAGE
Lloh16:
	add	x1, x1, l_.str.2@PAGEOFF
	add	x2, sp, #64
	mov	x0, x19
	bl	_of_property_read_u32_array
	cbz	x0, LBB0_9
; %bb.6:
Lloh17:
	adrp	x8, _ENODEV@GOTPAGE
Lloh18:
	ldr	x8, [x8, _ENODEV@GOTPAGEOFF]
LBB0_7:
	ldr	w8, [x8]
	neg	w0, w8
	b	LBB0_11
LBB0_8:
Lloh19:
	adrp	x1, l_.str.5@PAGE
Lloh20:
	add	x1, x1, l_.str.5@PAGEOFF
	mov	x0, x20
	bl	_of_property_read_bool
	str	x0, [sp, #32]
Lloh21:
	adrp	x1, l_.str.6@PAGE
Lloh22:
	add	x1, x1, l_.str.6@PAGEOFF
	mov	x0, x20
	bl	_of_property_read_bool
	str	x0, [sp, #24]
	mov	x0, x20
	bl	_of_node_put
	b	LBB0_10
LBB0_9:
	mov	w8, #1
	str	w8, [sp, #16]
	ldp	x8, x9, [sp, #72]
	stp	x9, x8, [sp, #40]
	ldp	x8, x9, [sp, #88]
	stp	x9, x8, [sp, #24]
LBB0_10:
Lloh23:
	adrp	x8, _PHY_POLL@GOTPAGE
Lloh24:
	ldr	x8, [x8, _PHY_POLL@GOTPAGEOFF]
Lloh25:
	ldr	w0, [x8]
	add	x1, sp, #16
	mov	x2, x19
	bl	_fixed_phy_register
	bl	_PTR_ERR_OR_ZERO
LBB0_11:
	ldur	x8, [x29, #-24]
Lloh26:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh27:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh28:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_13
; %bb.12:
	ldp	x29, x30, [sp, #128]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #112]            ; 16-byte Folded Reload
	add	sp, sp, #144
	ret
LBB0_13:
	bl	___stack_chk_fail
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpAdd	Lloh7, Lloh8
	.loh AdrpAdd	Lloh11, Lloh12
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh13, Lloh14
	.loh AdrpAdd	Lloh15, Lloh16
	.loh AdrpLdrGot	Lloh17, Lloh18
	.loh AdrpAdd	Lloh21, Lloh22
	.loh AdrpAdd	Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh25
	.loh AdrpLdrGotLdr	Lloh26, Lloh27, Lloh28
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"managed"

l_.str.1:                               ; @.str.1
	.asciz	"in-band-status"

l_.str.2:                               ; @.str.2
	.asciz	"fixed-link"

l_.str.3:                               ; @.str.3
	.asciz	"full-duplex"

l_.str.4:                               ; @.str.4
	.asciz	"speed"

	.comm	_EINVAL,4,2                     ; @EINVAL
l_.str.5:                               ; @.str.5
	.asciz	"pause"

l_.str.6:                               ; @.str.6
	.asciz	"asym-pause"

	.comm	_ENODEV,4,2                     ; @ENODEV
	.comm	_PHY_POLL,4,2                   ; @PHY_POLL
.subsections_via_symbols
