	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function bfin_mdiobus_read
_bfin_mdiobus_read:                     ## @bfin_mdiobus_read
	.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
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movl	%edx, %r14d
	movl	%esi, %ebx
	xorl	%eax, %eax
	callq	_bfin_mdio_poll
	movl	%ebx, %edi
	callq	_SET_PHYAD
	movl	%eax, %ebx
	movl	%r14d, %edi
	callq	_SET_REGAD
	orl	%eax, %ebx
	movq	_STABUSY@GOTPCREL(%rip), %rax
	orl	(%rax), %ebx
	movl	%ebx, %edi
	callq	_bfin_write_EMAC_STAADD
	xorl	%eax, %eax
	callq	_bfin_mdio_poll
	xorl	%eax, %eax
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_bfin_read_EMAC_STADAT          ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_STABUSY,4,2                    ## @STABUSY
	.no_dead_strip	_bfin_mdiobus_read
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function bfin_mdiobus_read
_bfin_mdiobus_read:                     ; @bfin_mdiobus_read
	.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, x2
	mov	x20, x1
	bl	_bfin_mdio_poll
	mov	x0, x20
	bl	_SET_PHYAD
	mov	x20, x0
	mov	x0, x19
	bl	_SET_REGAD
	orr	w8, w0, w20
Lloh0:
	adrp	x9, _STABUSY@GOTPAGE
Lloh1:
	ldr	x9, [x9, _STABUSY@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
	orr	w0, w8, w9
	bl	_bfin_write_EMAC_STAADD
	bl	_bfin_mdio_poll
	bl	_bfin_read_EMAC_STADAT
                                        ; kill: def $w0 killed $w0 killed $x0
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_STABUSY,4,2                    ; @STABUSY
	.no_dead_strip	_bfin_mdiobus_read
.subsections_via_symbols
