	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_mdio45_probe                   ## -- Begin function mdio45_probe
	.p2align	4, 0x90
_mdio45_probe:                          ## @mdio45_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
	movl	%esi, %r14d
	movq	%rdi, %r15
	movl	$1, %ebx
	movq	_MDIO_STAT2@GOTPCREL(%rip), %r13
	jmp	LBB0_1
	.p2align	4, 0x90
LBB0_6:                                 ##   in Loop: Header=BB0_1 Depth=1
	incl	%ebx
	cmpl	$6, %ebx
	je	LBB0_7
LBB0_1:                                 ## =>This Inner Loop Header: Depth=1
	movl	16(%r15), %edi
	movl	(%r13), %ecx
	movl	%r14d, %esi
	movl	%ebx, %edx
	callq	*(%r15)
	testl	%eax, %eax
	js	LBB0_6
## %bb.2:                               ##   in Loop: Header=BB0_1 Depth=1
	movq	_MDIO_STAT2_DEVPRST@GOTPCREL(%rip), %rcx
	andl	(%rcx), %eax
	movq	_MDIO_STAT2_DEVPRST_VAL@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	jne	LBB0_6
## %bb.3:                               ##   in Loop: Header=BB0_1 Depth=1
	movl	16(%r15), %edi
	movq	_MDIO_DEVS1@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movl	%r14d, %esi
	movl	%ebx, %edx
	callq	*(%r15)
	movl	%eax, %r12d
	movl	16(%r15), %edi
	movq	_MDIO_DEVS2@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movl	%r14d, %esi
	movl	%ebx, %edx
	callq	*(%r15)
	testl	%r12d, %r12d
	js	LBB0_6
## %bb.4:                               ##   in Loop: Header=BB0_1 Depth=1
	testl	%eax, %eax
	js	LBB0_6
## %bb.5:
	movl	%r14d, 8(%r15)
	shll	$16, %eax
	orl	%r12d, %eax
	movl	%eax, 12(%r15)
	xorl	%eax, %eax
	jmp	LBB0_8
LBB0_7:
	movq	_ENODEV@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	subl	(%rcx), %eax
LBB0_8:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_MDIO_STAT2,4,2                 ## @MDIO_STAT2
	.comm	_MDIO_STAT2_DEVPRST,4,2         ## @MDIO_STAT2_DEVPRST
	.comm	_MDIO_STAT2_DEVPRST_VAL,4,2     ## @MDIO_STAT2_DEVPRST_VAL
	.comm	_MDIO_DEVS1,4,2                 ## @MDIO_DEVS1
	.comm	_MDIO_DEVS2,4,2                 ## @MDIO_DEVS2
	.comm	_ENODEV,4,2                     ## @ENODEV
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_mdio45_probe                   ; -- Begin function mdio45_probe
	.p2align	2
_mdio45_probe:                          ; @mdio45_probe
	.cfi_startproc
; %bb.0:
	stp	x28, x27, [sp, #-96]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	mov	x20, x1
	mov	x19, x0
	mov	w21, #1
Lloh0:
	adrp	x23, _MDIO_STAT2@GOTPAGE
Lloh1:
	ldr	x23, [x23, _MDIO_STAT2@GOTPAGEOFF]
Lloh2:
	adrp	x24, _MDIO_STAT2_DEVPRST@GOTPAGE
Lloh3:
	ldr	x24, [x24, _MDIO_STAT2_DEVPRST@GOTPAGEOFF]
Lloh4:
	adrp	x25, _MDIO_STAT2_DEVPRST_VAL@GOTPAGE
Lloh5:
	ldr	x25, [x25, _MDIO_STAT2_DEVPRST_VAL@GOTPAGEOFF]
Lloh6:
	adrp	x26, _MDIO_DEVS1@GOTPAGE
Lloh7:
	ldr	x26, [x26, _MDIO_DEVS1@GOTPAGEOFF]
Lloh8:
	adrp	x27, _MDIO_DEVS2@GOTPAGE
Lloh9:
	ldr	x27, [x27, _MDIO_DEVS2@GOTPAGEOFF]
	b	LBB0_2
LBB0_1:                                 ;   in Loop: Header=BB0_2 Depth=1
	add	w21, w21, #1
	cmp	w21, #6
	b.eq	LBB0_7
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x19]
	ldr	w0, [x19, #16]
	ldr	w3, [x23]
	mov	x1, x20
	mov	x2, x21
	blr	x8
	tbnz	w0, #31, LBB0_1
; %bb.3:                                ;   in Loop: Header=BB0_2 Depth=1
	ldr	w8, [x24]
	and	w8, w8, w0
	ldr	w9, [x25]
	cmp	w8, w9
	b.ne	LBB0_1
; %bb.4:                                ;   in Loop: Header=BB0_2 Depth=1
	ldr	x8, [x19]
	ldr	w0, [x19, #16]
	ldr	w3, [x26]
	mov	x1, x20
	mov	x2, x21
	blr	x8
	mov	x22, x0
	ldr	x8, [x19]
	ldr	w0, [x19, #16]
	ldr	w3, [x27]
	mov	x1, x20
	mov	x2, x21
	blr	x8
	tbnz	w22, #31, LBB0_1
; %bb.5:                                ;   in Loop: Header=BB0_2 Depth=1
	mov	x8, x0
	tbnz	w0, #31, LBB0_1
; %bb.6:
	mov	w0, #0
	orr	w8, w22, w8, lsl #16
	stp	w20, w8, [x19, #8]
	b	LBB0_8
LBB0_7:
Lloh10:
	adrp	x8, _ENODEV@GOTPAGE
Lloh11:
	ldr	x8, [x8, _ENODEV@GOTPAGEOFF]
Lloh12:
	ldr	w8, [x8]
	neg	w0, w8
LBB0_8:
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.cfi_endproc
                                        ; -- End function
	.comm	_MDIO_STAT2,4,2                 ; @MDIO_STAT2
	.comm	_MDIO_STAT2_DEVPRST,4,2         ; @MDIO_STAT2_DEVPRST
	.comm	_MDIO_STAT2_DEVPRST_VAL,4,2     ; @MDIO_STAT2_DEVPRST_VAL
	.comm	_MDIO_DEVS1,4,2                 ; @MDIO_DEVS1
	.comm	_MDIO_DEVS2,4,2                 ; @MDIO_DEVS2
	.comm	_ENODEV,4,2                     ; @ENODEV
.subsections_via_symbols
