	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function __b44_readphy
___b44_readphy:                         ## @__b44_readphy
	.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	%rcx, -48(%rbp)                 ## 8-byte Spill
	movl	%edx, %ebx
	movl	%esi, %r12d
	movq	%rdi, %r15
	movq	_B44_EMAC_ISTAT@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_EMAC_INT_MII@GOTPCREL(%rip), %r14
	movl	(%r14), %edx
	callq	_bw32
	movq	_MDIO_DATA_SB_START@GOTPCREL(%rip), %rdx
	movq	_MDIO_OP_READ@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	_MDIO_DATA_OP_SHIFT@GOTPCREL(%rip), %rcx
	movb	(%rcx), %cl
	shll	%cl, %eax
	orl	(%rdx), %eax
	movq	_MDIO_DATA_PMD_SHIFT@GOTPCREL(%rip), %rcx
	movb	(%rcx), %cl
	shll	%cl, %r12d
	movq	_MDIO_DATA_RA_SHIFT@GOTPCREL(%rip), %rcx
	movb	(%rcx), %cl
	shll	%cl, %ebx
	movq	_B44_MDIO_DATA@GOTPCREL(%rip), %r13
	movq	_MDIO_TA_VALID@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	movq	_MDIO_DATA_TA_SHIFT@GOTPCREL(%rip), %rcx
	movb	(%rcx), %cl
	shll	%cl, %edx
	movl	(%r13), %esi
	orl	%r12d, %ebx
	orl	%ebx, %edx
	orl	%eax, %edx
	movq	%r15, %rdi
	callq	_bw32
	movq	_B44_EMAC_ISTAT@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	(%r14), %edx
	movq	%r15, %rdi
	movl	$100, %ecx
	xorl	%r8d, %r8d
	callq	_b44_wait_bit
	movl	%eax, %ebx
	movl	(%r13), %esi
	movq	%r15, %rdi
	callq	_br32
	movq	_MDIO_DATA_DATA@GOTPCREL(%rip), %rcx
	andl	(%rcx), %eax
	movq	-48(%rbp), %rcx                 ## 8-byte Reload
	movl	%eax, (%rcx)
	movl	%ebx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_B44_EMAC_ISTAT,4,2             ## @B44_EMAC_ISTAT
	.comm	_EMAC_INT_MII,4,2               ## @EMAC_INT_MII
	.comm	_B44_MDIO_DATA,4,2              ## @B44_MDIO_DATA
	.comm	_MDIO_DATA_SB_START,4,2         ## @MDIO_DATA_SB_START
	.comm	_MDIO_OP_READ,4,2               ## @MDIO_OP_READ
	.comm	_MDIO_DATA_OP_SHIFT,4,2         ## @MDIO_DATA_OP_SHIFT
	.comm	_MDIO_DATA_PMD_SHIFT,4,2        ## @MDIO_DATA_PMD_SHIFT
	.comm	_MDIO_DATA_RA_SHIFT,4,2         ## @MDIO_DATA_RA_SHIFT
	.comm	_MDIO_TA_VALID,4,2              ## @MDIO_TA_VALID
	.comm	_MDIO_DATA_TA_SHIFT,4,2         ## @MDIO_DATA_TA_SHIFT
	.comm	_MDIO_DATA_DATA,4,2             ## @MDIO_DATA_DATA
	.no_dead_strip	___b44_readphy
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function __b44_readphy
___b44_readphy:                         ; @__b44_readphy
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	mov	x19, x3
	mov	x21, x2
	mov	x22, x1
	mov	x20, x0
Lloh0:
	adrp	x23, _B44_EMAC_ISTAT@GOTPAGE
Lloh1:
	ldr	x23, [x23, _B44_EMAC_ISTAT@GOTPAGEOFF]
	ldr	w1, [x23]
Lloh2:
	adrp	x24, _EMAC_INT_MII@GOTPAGE
Lloh3:
	ldr	x24, [x24, _EMAC_INT_MII@GOTPAGEOFF]
	ldr	w2, [x24]
	bl	_bw32
Lloh4:
	adrp	x25, _B44_MDIO_DATA@GOTPAGE
Lloh5:
	ldr	x25, [x25, _B44_MDIO_DATA@GOTPAGEOFF]
	ldr	w1, [x25]
Lloh6:
	adrp	x8, _MDIO_DATA_SB_START@GOTPAGE
Lloh7:
	ldr	x8, [x8, _MDIO_DATA_SB_START@GOTPAGEOFF]
Lloh8:
	ldr	w8, [x8]
Lloh9:
	adrp	x9, _MDIO_OP_READ@GOTPAGE
Lloh10:
	ldr	x9, [x9, _MDIO_OP_READ@GOTPAGEOFF]
Lloh11:
	ldr	w9, [x9]
Lloh12:
	adrp	x10, _MDIO_DATA_OP_SHIFT@GOTPAGE
Lloh13:
	ldr	x10, [x10, _MDIO_DATA_OP_SHIFT@GOTPAGEOFF]
Lloh14:
	ldr	w10, [x10]
	lsl	w9, w9, w10
	orr	w8, w9, w8
Lloh15:
	adrp	x9, _MDIO_DATA_PMD_SHIFT@GOTPAGE
Lloh16:
	ldr	x9, [x9, _MDIO_DATA_PMD_SHIFT@GOTPAGEOFF]
Lloh17:
	ldr	w9, [x9]
	lsl	w9, w22, w9
Lloh18:
	adrp	x10, _MDIO_DATA_RA_SHIFT@GOTPAGE
Lloh19:
	ldr	x10, [x10, _MDIO_DATA_RA_SHIFT@GOTPAGEOFF]
	orr	w8, w8, w9
Lloh20:
	ldr	w9, [x10]
	lsl	w9, w21, w9
	orr	w8, w8, w9
Lloh21:
	adrp	x9, _MDIO_TA_VALID@GOTPAGE
Lloh22:
	ldr	x9, [x9, _MDIO_TA_VALID@GOTPAGEOFF]
Lloh23:
	ldr	w9, [x9]
Lloh24:
	adrp	x10, _MDIO_DATA_TA_SHIFT@GOTPAGE
Lloh25:
	ldr	x10, [x10, _MDIO_DATA_TA_SHIFT@GOTPAGEOFF]
Lloh26:
	ldr	w10, [x10]
	lsl	w9, w9, w10
	orr	w2, w8, w9
	mov	x0, x20
	bl	_bw32
	ldr	w1, [x23]
	ldr	w2, [x24]
	mov	x0, x20
	mov	w3, #100
	mov	w4, #0
	bl	_b44_wait_bit
	mov	x21, x0
	ldr	w1, [x25]
	mov	x0, x20
	bl	_br32
Lloh27:
	adrp	x8, _MDIO_DATA_DATA@GOTPAGE
Lloh28:
	ldr	x8, [x8, _MDIO_DATA_DATA@GOTPAGEOFF]
Lloh29:
	ldr	w8, [x8]
	and	w8, w8, w0
	str	w8, [x19]
	mov	x0, x21
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh27, Lloh28, Lloh29
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_B44_EMAC_ISTAT,4,2             ; @B44_EMAC_ISTAT
	.comm	_EMAC_INT_MII,4,2               ; @EMAC_INT_MII
	.comm	_B44_MDIO_DATA,4,2              ; @B44_MDIO_DATA
	.comm	_MDIO_DATA_SB_START,4,2         ; @MDIO_DATA_SB_START
	.comm	_MDIO_OP_READ,4,2               ; @MDIO_OP_READ
	.comm	_MDIO_DATA_OP_SHIFT,4,2         ; @MDIO_DATA_OP_SHIFT
	.comm	_MDIO_DATA_PMD_SHIFT,4,2        ; @MDIO_DATA_PMD_SHIFT
	.comm	_MDIO_DATA_RA_SHIFT,4,2         ; @MDIO_DATA_RA_SHIFT
	.comm	_MDIO_TA_VALID,4,2              ; @MDIO_TA_VALID
	.comm	_MDIO_DATA_TA_SHIFT,4,2         ; @MDIO_DATA_TA_SHIFT
	.comm	_MDIO_DATA_DATA,4,2             ; @MDIO_DATA_DATA
	.no_dead_strip	___b44_readphy
.subsections_via_symbols
