	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function qt202x_phy_probe
_qt202x_phy_probe:                      ## @qt202x_phy_probe
	.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
	pushq	%rax
	.cfi_offset %rbx, -24
	movq	%rdi, %rbx
	movq	_GFP_KERNEL@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	$24, %edi
	callq	_kzalloc
	testq	%rax, %rax
	je	LBB0_1
## %bb.2:
	movq	%rax, 16(%rbx)
	movl	12(%rbx), %ecx
	movl	%ecx, 16(%rax)
	movl	$0, (%rax)
	movq	$0, 8(%rax)
	movq	_QT202X_REQUIRED_DEVS@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 8(%rbx)
	movq	_MDIO_SUPPORTS_C45@GOTPCREL(%rip), %rax
	movq	_MDIO_EMULATE_C22@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	orl	(%rax), %ecx
	movl	%ecx, 4(%rbx)
	movq	_QT202X_LOOPBACKS@GOTPCREL(%rip), %rax
	movq	_FALCON_XMAC_LOOPBACKS@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	orl	(%rax), %ecx
	movl	%ecx, (%rbx)
	xorl	%eax, %eax
	jmp	LBB0_3
LBB0_1:
	movq	_ENOMEM@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	subl	(%rcx), %eax
LBB0_3:
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_GFP_KERNEL,4,2                 ## @GFP_KERNEL
	.comm	_ENOMEM,4,2                     ## @ENOMEM
	.comm	_QT202X_REQUIRED_DEVS,4,2       ## @QT202X_REQUIRED_DEVS
	.comm	_MDIO_SUPPORTS_C45,4,2          ## @MDIO_SUPPORTS_C45
	.comm	_MDIO_EMULATE_C22,4,2           ## @MDIO_EMULATE_C22
	.comm	_QT202X_LOOPBACKS,4,2           ## @QT202X_LOOPBACKS
	.comm	_FALCON_XMAC_LOOPBACKS,4,2      ## @FALCON_XMAC_LOOPBACKS
	.no_dead_strip	_qt202x_phy_probe
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function qt202x_phy_probe
_qt202x_phy_probe:                      ; @qt202x_phy_probe
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.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, _GFP_KERNEL@GOTPAGE
Lloh1:
	ldr	x8, [x8, _GFP_KERNEL@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	mov	w0, #24
	bl	_kzalloc
	cbz	x0, LBB0_2
; %bb.1:
	mov	x8, x0
	mov	w0, #0
	str	x8, [x19, #16]
	ldr	w9, [x19, #12]
	str	w9, [x8, #16]
	str	wzr, [x8]
	str	xzr, [x8, #8]
Lloh3:
	adrp	x8, _QT202X_REQUIRED_DEVS@GOTPAGE
Lloh4:
	ldr	x8, [x8, _QT202X_REQUIRED_DEVS@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	str	w8, [x19, #8]
Lloh6:
	adrp	x8, _MDIO_SUPPORTS_C45@GOTPAGE
Lloh7:
	ldr	x8, [x8, _MDIO_SUPPORTS_C45@GOTPAGEOFF]
Lloh8:
	adrp	x9, _MDIO_EMULATE_C22@GOTPAGE
Lloh9:
	ldr	x9, [x9, _MDIO_EMULATE_C22@GOTPAGEOFF]
Lloh10:
	ldr	w8, [x8]
Lloh11:
	ldr	w9, [x9]
	orr	w8, w9, w8
Lloh12:
	adrp	x9, _QT202X_LOOPBACKS@GOTPAGE
Lloh13:
	ldr	x9, [x9, _QT202X_LOOPBACKS@GOTPAGEOFF]
Lloh14:
	ldr	w9, [x9]
Lloh15:
	adrp	x10, _FALCON_XMAC_LOOPBACKS@GOTPAGE
Lloh16:
	ldr	x10, [x10, _FALCON_XMAC_LOOPBACKS@GOTPAGEOFF]
Lloh17:
	ldr	w10, [x10]
	orr	w9, w10, w9
	stp	w9, w8, [x19]
	b	LBB0_3
LBB0_2:
Lloh18:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh19:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh20:
	ldr	w8, [x8]
	neg	w0, w8
LBB0_3:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh10
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.cfi_endproc
                                        ; -- End function
	.comm	_GFP_KERNEL,4,2                 ; @GFP_KERNEL
	.comm	_ENOMEM,4,2                     ; @ENOMEM
	.comm	_QT202X_REQUIRED_DEVS,4,2       ; @QT202X_REQUIRED_DEVS
	.comm	_MDIO_SUPPORTS_C45,4,2          ; @MDIO_SUPPORTS_C45
	.comm	_MDIO_EMULATE_C22,4,2           ; @MDIO_EMULATE_C22
	.comm	_QT202X_LOOPBACKS,4,2           ; @QT202X_LOOPBACKS
	.comm	_FALCON_XMAC_LOOPBACKS,4,2      ; @FALCON_XMAC_LOOPBACKS
	.no_dead_strip	_qt202x_phy_probe
.subsections_via_symbols
