	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_get_phy_device                 ## -- Begin function get_phy_device
	.p2align	4, 0x90
_get_phy_device:                        ## @get_phy_device
	.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	%rbx
	subq	$24, %rsp
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%edx, %r14d
	movl	%esi, %r15d
	movq	%rdi, %rbx
	movl	$0, -32(%rbp)
	movl	$0, -36(%rbp)
	leaq	-36(%rbp), %rdx
	leaq	-32(%rbp), %r8
	movl	%r14d, %ecx
	callq	_get_phy_id
	testl	%eax, %eax
	je	LBB0_2
## %bb.1:
	movl	%eax, %edi
	callq	_ERR_PTR
	jmp	LBB0_5
LBB0_2:
	movl	-36(%rbp), %edx
	movl	%edx, %eax
	notl	%eax
	testl	$536870911, %eax                ## imm = 0x1FFFFFFF
	jne	LBB0_4
## %bb.3:
	movq	_ENODEV@GOTPCREL(%rip), %rax
	xorl	%edi, %edi
	subl	(%rax), %edi
	callq	_ERR_PTR
	jmp	LBB0_5
LBB0_4:
	leaq	-32(%rbp), %r8
	movq	%rbx, %rdi
	movl	%r15d, %esi
	movl	%r14d, %ecx
	callq	_phy_device_create
LBB0_5:
	addq	$24, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_ENODEV,4,2                     ## @ENODEV
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_get_phy_device                 ; -- Begin function get_phy_device
	.p2align	2
_get_phy_device:                        ; @get_phy_device
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.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
	mov	x19, x2
	mov	x20, x1
	mov	x21, x0
	stp	wzr, wzr, [sp, #4]
	add	x2, sp, #4
	add	x4, sp, #8
	mov	x3, x19
	bl	_get_phy_id
	cbz	w0, LBB0_2
; %bb.1:
	bl	_ERR_PTR
	b	LBB0_5
LBB0_2:
	ldr	w2, [sp, #4]
	mvn	w8, w2
	tst	w8, #0x1fffffff
	b.ne	LBB0_4
; %bb.3:
Lloh0:
	adrp	x8, _ENODEV@GOTPAGE
Lloh1:
	ldr	x8, [x8, _ENODEV@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	neg	w0, w8
	bl	_ERR_PTR
	b	LBB0_5
LBB0_4:
	add	x4, sp, #8
	mov	x0, x21
	mov	x1, x20
	mov	x3, x19
	bl	_phy_device_create
LBB0_5:
	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
	add	sp, sp, #64
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_ENODEV,4,2                     ; @ENODEV
.subsections_via_symbols
