	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_of_phy_is_fixed_link           ## -- Begin function of_phy_is_fixed_link
	.p2align	4, 0x90
_of_phy_is_fixed_link:                  ## @of_phy_is_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	%rbx
	subq	$24, %rsp
	.cfi_offset %rbx, -24
	movq	%rdi, %rbx
	leaq	L_.str(%rip), %rsi
	callq	_of_get_child_by_name
	testq	%rax, %rax
	je	LBB0_2
## %bb.1:
	movq	%rax, %rdi
	callq	_of_node_put
	movl	$1, %eax
	jmp	LBB0_5
LBB0_2:
	leaq	L_.str.1(%rip), %rsi
	leaq	-24(%rbp), %rdx
	movq	%rbx, %rdi
	callq	_of_property_read_string
	testl	%eax, %eax
	jne	LBB0_4
## %bb.3:
	movq	-24(%rbp), %rdi
	leaq	L_.str.2(%rip), %rsi
	callq	_strcmp
	movq	%rax, %rcx
	movl	$1, %eax
	testq	%rcx, %rcx
	jne	LBB0_5
LBB0_4:
	leaq	L_.str(%rip), %rsi
	leaq	-12(%rbp), %rdx
	movq	%rbx, %rdi
	callq	_of_get_property
	testq	%rax, %rax
	setne	%al
	cmpl	$20, -12(%rbp)
	sete	%cl
	andb	%al, %cl
	movzbl	%cl, %eax
LBB0_5:
	addq	$24, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"fixed-link"

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

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

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_of_phy_is_fixed_link           ; -- Begin function of_phy_is_fixed_link
	.p2align	2
_of_phy_is_fixed_link:                  ; @of_phy_is_fixed_link
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #48
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	bl	_of_get_child_by_name
	cbz	x0, LBB0_3
; %bb.1:
	bl	_of_node_put
LBB0_2:
	mov	w0, #1
	b	LBB0_5
LBB0_3:
Lloh2:
	adrp	x1, l_.str.1@PAGE
Lloh3:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x2, sp
	mov	x0, x19
	bl	_of_property_read_string
	cbz	w0, LBB0_6
LBB0_4:
Lloh4:
	adrp	x1, l_.str@PAGE
Lloh5:
	add	x1, x1, l_.str@PAGEOFF
	add	x2, sp, #12
	mov	x0, x19
	bl	_of_get_property
	cmp	x0, #0
	ldr	w8, [sp, #12]
	ccmp	w8, #20, #0, ne
	cset	w0, eq
LBB0_5:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	ret
LBB0_6:
	ldr	x0, [sp]
Lloh6:
	adrp	x1, l_.str.2@PAGE
Lloh7:
	add	x1, x1, l_.str.2@PAGEOFF
	bl	_strcmp
	cbnz	x0, LBB0_2
	b	LBB0_4
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpAdd	Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"fixed-link"

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

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

.subsections_via_symbols
