	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_efx_mcdi_port_probe            ## -- Begin function efx_mcdi_port_probe
	.p2align	4, 0x90
_efx_mcdi_port_probe:                   ## @efx_mcdi_port_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	%r15
	pushq	%r14
	pushq	%r13
	pushq	%r12
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %rbx
	movq	_efx_mcdi_phy_ops@GOTPCREL(%rip), %rax
	movq	%rax, 32(%rdi)
	movq	_MDIO_SUPPORTS_C45@GOTPCREL(%rip), %rcx
	movq	_MDIO_EMULATE_C22@GOTPCREL(%rip), %rdx
	movl	(%rdx), %edx
	orl	(%rcx), %edx
	movl	%edx, 40(%rdi)
	movq	_efx_mcdi_mdio_read@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movl	%ecx, 48(%rdi)
	movq	_efx_mcdi_mdio_write@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movl	%ecx, 44(%rdi)
	callq	*(%rax)
	testl	%eax, %eax
	jne	LBB0_3
## %bb.1:
	leaq	8(%rbx), %rsi
	movl	(%rbx), %edx
	shll	$2, %edx
	movq	_GFP_KERNEL@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	%rbx, %rdi
	callq	_efx_nic_alloc_buffer
	testl	%eax, %eax
	jne	LBB0_3
## %bb.2:
	movq	_probe@GOTPCREL(%rip), %rax
	movl	(%rax), %r14d
	movl	24(%rbx), %r15d
	movl	8(%rbx), %r12d
	movl	16(%rbx), %r13d
	movl	%r12d, %edi
	callq	_virt_to_phys
	movl	%eax, (%rsp)
	leaq	L_.str(%rip), %rcx
	movq	%rbx, %rdi
	movl	%r14d, %esi
	movl	%r15d, %edx
	movl	%r13d, %r8d
	movl	%r12d, %r9d
	callq	_netif_dbg
	movq	_EFX_STATS_DISABLE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	movl	$1, %edx
	callq	_efx_mcdi_mac_stats
	xorl	%eax, %eax
LBB0_3:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_efx_mcdi_phy_ops,8,3           ## @efx_mcdi_phy_ops
	.comm	_MDIO_SUPPORTS_C45,4,2          ## @MDIO_SUPPORTS_C45
	.comm	_MDIO_EMULATE_C22,4,2           ## @MDIO_EMULATE_C22
	.comm	_efx_mcdi_mdio_read,4,2         ## @efx_mcdi_mdio_read
	.comm	_efx_mcdi_mdio_write,4,2        ## @efx_mcdi_mdio_write
	.comm	_GFP_KERNEL,4,2                 ## @GFP_KERNEL
	.comm	_probe,4,2                      ## @probe
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"stats buffer at %llx (virt %p phys %llx)\n"

	.comm	_EFX_STATS_DISABLE,4,2          ## @EFX_STATS_DISABLE
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_efx_mcdi_port_probe            ; -- Begin function efx_mcdi_port_probe
	.p2align	2
_efx_mcdi_port_probe:                   ; @efx_mcdi_port_probe
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	mov	x19, x0
Lloh0:
	adrp	x8, _efx_mcdi_phy_ops@GOTPAGE
Lloh1:
	ldr	x8, [x8, _efx_mcdi_phy_ops@GOTPAGEOFF]
	str	x8, [x0, #32]
Lloh2:
	adrp	x9, _MDIO_SUPPORTS_C45@GOTPAGE
Lloh3:
	ldr	x9, [x9, _MDIO_SUPPORTS_C45@GOTPAGEOFF]
Lloh4:
	ldr	w9, [x9]
Lloh5:
	adrp	x10, _MDIO_EMULATE_C22@GOTPAGE
Lloh6:
	ldr	x10, [x10, _MDIO_EMULATE_C22@GOTPAGEOFF]
Lloh7:
	ldr	w10, [x10]
	orr	w9, w10, w9
Lloh8:
	adrp	x10, _efx_mcdi_mdio_read@GOTPAGE
Lloh9:
	ldr	x10, [x10, _efx_mcdi_mdio_read@GOTPAGEOFF]
Lloh10:
	ldr	w10, [x10]
	str	w10, [x0, #48]
Lloh11:
	adrp	x10, _efx_mcdi_mdio_write@GOTPAGE
Lloh12:
	ldr	x10, [x10, _efx_mcdi_mdio_write@GOTPAGEOFF]
Lloh13:
	ldr	w10, [x10]
	stp	w9, w10, [x0, #40]
	ldr	x8, [x8]
	blr	x8
	cbnz	w0, LBB0_3
; %bb.1:
	mov	x1, x19
	ldr	w8, [x1], #8
	lsl	w2, w8, #2
Lloh14:
	adrp	x8, _GFP_KERNEL@GOTPAGE
Lloh15:
	ldr	x8, [x8, _GFP_KERNEL@GOTPAGEOFF]
Lloh16:
	ldr	w3, [x8]
	mov	x0, x19
	bl	_efx_nic_alloc_buffer
	cbnz	w0, LBB0_3
; %bb.2:
Lloh17:
	adrp	x8, _probe@GOTPAGE
Lloh18:
	ldr	x8, [x8, _probe@GOTPAGEOFF]
Lloh19:
	ldr	w20, [x8]
	ldr	w21, [x19, #24]
	ldr	w22, [x19, #16]
	ldr	w23, [x19, #8]
	mov	x0, x23
	bl	_virt_to_phys
	mov	x6, x0
Lloh20:
	adrp	x3, l_.str@PAGE
Lloh21:
	add	x3, x3, l_.str@PAGEOFF
	mov	x0, x19
	mov	x1, x20
	mov	x2, x21
	mov	x4, x22
	mov	x5, x23
                                        ; kill: def $w6 killed $w6 killed $x6
	bl	_netif_dbg
Lloh22:
	adrp	x8, _EFX_STATS_DISABLE@GOTPAGE
Lloh23:
	ldr	x8, [x8, _EFX_STATS_DISABLE@GOTPAGEOFF]
Lloh24:
	ldr	w1, [x8]
	mov	x0, x19
	mov	w2, #1
	bl	_efx_mcdi_mac_stats
	mov	w0, #0
LBB0_3:
	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
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh22, Lloh23, Lloh24
	.loh AdrpAdd	Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.cfi_endproc
                                        ; -- End function
	.comm	_efx_mcdi_phy_ops,8,3           ; @efx_mcdi_phy_ops
	.comm	_MDIO_SUPPORTS_C45,4,2          ; @MDIO_SUPPORTS_C45
	.comm	_MDIO_EMULATE_C22,4,2           ; @MDIO_EMULATE_C22
	.comm	_efx_mcdi_mdio_read,4,2         ; @efx_mcdi_mdio_read
	.comm	_efx_mcdi_mdio_write,4,2        ; @efx_mcdi_mdio_write
	.comm	_GFP_KERNEL,4,2                 ; @GFP_KERNEL
	.comm	_probe,4,2                      ; @probe
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"stats buffer at %llx (virt %p phys %llx)\n"

	.comm	_EFX_STATS_DISABLE,4,2          ; @EFX_STATS_DISABLE
.subsections_via_symbols
