	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function _of_phy_get
__of_phy_get:                           ## @_of_phy_get
	.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	$16, %rsp
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movl	%esi, %ecx
	leaq	L_.str(%rip), %rsi
	leaq	L_.str.1(%rip), %rdx
	leaq	-24(%rbp), %r8
	callq	_of_parse_phandle_with_args
	testl	%eax, %eax
	jne	LBB0_1
## %bb.2:
	movl	-24(%rbp), %edi
	leaq	L_.str.2(%rip), %rsi
	callq	_of_device_is_compatible
	testq	%rax, %rax
	je	LBB0_3
LBB0_1:
	movq	_ENODEV@GOTPCREL(%rip), %rax
	xorl	%edi, %edi
	subl	(%rax), %edi
	callq	_ERR_PTR
	movq	%rax, %rbx
LBB0_11:
	movq	%rbx, %rax
	addq	$16, %rsp
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
LBB0_3:
	movq	_phy_provider_mutex@GOTPCREL(%rip), %rdi
	callq	_mutex_lock
	movl	-24(%rbp), %edi
	callq	_of_phy_provider_lookup
	movq	%rax, %r14
	movq	%rax, %rdi
	callq	_IS_ERR
	testq	%rax, %rax
	je	LBB0_4
LBB0_5:
	movq	_EPROBE_DEFER@GOTPCREL(%rip), %rax
	xorl	%edi, %edi
	subl	(%rax), %edi
	callq	_ERR_PTR
	movq	%rax, %rbx
	jmp	LBB0_10
LBB0_4:
	movl	(%r14), %edi
	callq	_try_module_get
	testl	%eax, %eax
	je	LBB0_5
## %bb.6:
	movl	-24(%rbp), %edi
	callq	_of_device_is_available
	testl	%eax, %eax
	je	LBB0_7
## %bb.8:
	movl	4(%r14), %edi
	leaq	-24(%rbp), %rsi
	callq	*8(%r14)
	jmp	LBB0_9
LBB0_7:
	movl	4(%r14), %edi
	leaq	L_.str.3(%rip), %rsi
	callq	_dev_warn
	movq	_ENODEV@GOTPCREL(%rip), %rax
	xorl	%edi, %edi
	subl	(%rax), %edi
	callq	_ERR_PTR
LBB0_9:
	movq	%rax, %rbx
	movl	(%r14), %edi
	callq	_module_put
LBB0_10:
	movq	_phy_provider_mutex@GOTPCREL(%rip), %rdi
	callq	_mutex_unlock
	movl	-24(%rbp), %edi
	callq	_of_node_put
	jmp	LBB0_11
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"phys"

L_.str.1:                               ## @.str.1
	.asciz	"#phy-cells"

	.comm	_ENODEV,4,2                     ## @ENODEV
L_.str.2:                               ## @.str.2
	.asciz	"usb-nop-xceiv"

	.comm	_phy_provider_mutex,4,2         ## @phy_provider_mutex
	.comm	_EPROBE_DEFER,4,2               ## @EPROBE_DEFER
L_.str.3:                               ## @.str.3
	.asciz	"Requested PHY is disabled\n"

	.no_dead_strip	__of_phy_get
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function _of_phy_get
__of_phy_get:                           ; @_of_phy_get
	.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	x3, x1
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
Lloh2:
	adrp	x2, l_.str.1@PAGE
Lloh3:
	add	x2, x2, l_.str.1@PAGEOFF
	add	x4, sp, #8
	bl	_of_parse_phandle_with_args
	cbnz	w0, LBB0_2
; %bb.1:
	ldr	w0, [sp, #8]
Lloh4:
	adrp	x1, l_.str.2@PAGE
Lloh5:
	add	x1, x1, l_.str.2@PAGEOFF
	bl	_of_device_is_compatible
	cbz	x0, LBB0_4
LBB0_2:
Lloh6:
	adrp	x8, _ENODEV@GOTPAGE
Lloh7:
	ldr	x8, [x8, _ENODEV@GOTPAGEOFF]
Lloh8:
	ldr	w8, [x8]
	neg	w0, w8
	bl	_ERR_PTR
	mov	x20, x0
LBB0_3:
	mov	x0, x20
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	ret
LBB0_4:
Lloh9:
	adrp	x0, _phy_provider_mutex@GOTPAGE
Lloh10:
	ldr	x0, [x0, _phy_provider_mutex@GOTPAGEOFF]
	bl	_mutex_lock
	ldr	w0, [sp, #8]
	bl	_of_phy_provider_lookup
	mov	x19, x0
	bl	_IS_ERR
	cbz	x0, LBB0_6
LBB0_5:
Lloh11:
	adrp	x8, _EPROBE_DEFER@GOTPAGE
Lloh12:
	ldr	x8, [x8, _EPROBE_DEFER@GOTPAGEOFF]
Lloh13:
	ldr	w8, [x8]
	neg	w0, w8
	bl	_ERR_PTR
	mov	x20, x0
	b	LBB0_11
LBB0_6:
	ldr	w0, [x19]
	bl	_try_module_get
	cbz	w0, LBB0_5
; %bb.7:
	ldr	w0, [sp, #8]
	bl	_of_device_is_available
	cbz	w0, LBB0_9
; %bb.8:
	ldr	x8, [x19, #8]
	ldr	w0, [x19, #4]
	add	x1, sp, #8
	blr	x8
	b	LBB0_10
LBB0_9:
	ldr	w0, [x19, #4]
Lloh14:
	adrp	x1, l_.str.3@PAGE
Lloh15:
	add	x1, x1, l_.str.3@PAGEOFF
	bl	_dev_warn
Lloh16:
	adrp	x8, _ENODEV@GOTPAGE
Lloh17:
	ldr	x8, [x8, _ENODEV@GOTPAGEOFF]
Lloh18:
	ldr	w8, [x8]
	neg	w0, w8
	bl	_ERR_PTR
LBB0_10:
	mov	x20, x0
	ldr	w0, [x19]
	bl	_module_put
LBB0_11:
Lloh19:
	adrp	x0, _phy_provider_mutex@GOTPAGE
Lloh20:
	ldr	x0, [x0, _phy_provider_mutex@GOTPAGEOFF]
	bl	_mutex_unlock
	ldr	w0, [sp, #8]
	bl	_of_node_put
	b	LBB0_3
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpAdd	Lloh14, Lloh15
	.loh AdrpLdrGot	Lloh19, Lloh20
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"phys"

l_.str.1:                               ; @.str.1
	.asciz	"#phy-cells"

	.comm	_ENODEV,4,2                     ; @ENODEV
l_.str.2:                               ; @.str.2
	.asciz	"usb-nop-xceiv"

	.comm	_phy_provider_mutex,4,2         ; @phy_provider_mutex
	.comm	_EPROBE_DEFER,4,2               ; @EPROBE_DEFER
l_.str.3:                               ; @.str.3
	.asciz	"Requested PHY is disabled\n"

	.no_dead_strip	__of_phy_get
.subsections_via_symbols
