	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function macb_mdio_read
_macb_mdio_read:                        ## @macb_mdio_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	%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	%edx, %r14d
	movl	%esi, %r12d
	movq	(%rdi), %r13
	movq	(%r13), %rdi
	callq	_pm_runtime_get_sync
	testl	%eax, %eax
	js	LBB0_1
## %bb.2:
	movq	%r13, %rdi
	callq	_macb_mdio_wait_for_idle
	testl	%eax, %eax
	js	LBB0_5
## %bb.3:
	movq	_MAN@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -44(%rbp)                 ## 4-byte Spill
	movq	_SOF@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_MACB_MAN_SOF@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_MACB_BF
	movl	%eax, %r15d
	movq	_RW@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_MACB_MAN_READ@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_MACB_BF
	orl	%eax, %r15d
	movq	_PHYA@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	%r12d, %esi
	callq	_MACB_BF
	movl	%eax, %ebx
	movq	_REGA@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	%r14d, %esi
	callq	_MACB_BF
	orl	%eax, %ebx
	orl	%r15d, %ebx
	movq	_CODE@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_MACB_MAN_CODE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_MACB_BF
	orl	%eax, %ebx
	movq	%r13, %rdi
	movl	-44(%rbp), %esi                 ## 4-byte Reload
	movl	%ebx, %edx
	callq	_macb_writel
	movq	%r13, %rdi
	callq	_macb_mdio_wait_for_idle
	testl	%eax, %eax
	js	LBB0_5
## %bb.4:
	movq	_DATA@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	movq	_MAN@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r13, %rdi
	callq	_macb_readl
	movl	%ebx, %edi
	movl	%eax, %esi
	callq	_MACB_BFEXT
LBB0_5:
	movl	%eax, %ebx
	movq	(%r13), %rdi
	callq	_pm_runtime_mark_last_busy
	movq	(%r13), %rdi
	callq	_pm_runtime_put_autosuspend
	jmp	LBB0_6
LBB0_1:
	movl	%eax, %ebx
LBB0_6:
	movl	%ebx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_MAN,4,2                        ## @MAN
	.comm	_SOF,4,2                        ## @SOF
	.comm	_MACB_MAN_SOF,4,2               ## @MACB_MAN_SOF
	.comm	_RW,4,2                         ## @RW
	.comm	_MACB_MAN_READ,4,2              ## @MACB_MAN_READ
	.comm	_PHYA,4,2                       ## @PHYA
	.comm	_REGA,4,2                       ## @REGA
	.comm	_CODE,4,2                       ## @CODE
	.comm	_MACB_MAN_CODE,4,2              ## @MACB_MAN_CODE
	.comm	_DATA,4,2                       ## @DATA
	.no_dead_strip	_macb_mdio_read
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function macb_mdio_read
_macb_mdio_read:                        ; @macb_mdio_read
	.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	x20, x2
	mov	x21, x1
	ldr	x19, [x0]
	ldr	x0, [x19]
	bl	_pm_runtime_get_sync
	tbnz	w0, #31, LBB0_5
; %bb.1:
	mov	x0, x19
	bl	_macb_mdio_wait_for_idle
	tbnz	w0, #31, LBB0_4
; %bb.2:
Lloh0:
	adrp	x24, _MAN@GOTPAGE
Lloh1:
	ldr	x24, [x24, _MAN@GOTPAGEOFF]
	ldr	w22, [x24]
Lloh2:
	adrp	x8, _SOF@GOTPAGE
Lloh3:
	ldr	x8, [x8, _SOF@GOTPAGEOFF]
Lloh4:
	ldr	w0, [x8]
Lloh5:
	adrp	x8, _MACB_MAN_SOF@GOTPAGE
Lloh6:
	ldr	x8, [x8, _MACB_MAN_SOF@GOTPAGEOFF]
Lloh7:
	ldr	w1, [x8]
	bl	_MACB_BF
	mov	x23, x0
Lloh8:
	adrp	x8, _RW@GOTPAGE
Lloh9:
	ldr	x8, [x8, _RW@GOTPAGEOFF]
Lloh10:
	ldr	w0, [x8]
Lloh11:
	adrp	x8, _MACB_MAN_READ@GOTPAGE
Lloh12:
	ldr	x8, [x8, _MACB_MAN_READ@GOTPAGEOFF]
Lloh13:
	ldr	w1, [x8]
	bl	_MACB_BF
	orr	w23, w0, w23
Lloh14:
	adrp	x8, _PHYA@GOTPAGE
Lloh15:
	ldr	x8, [x8, _PHYA@GOTPAGEOFF]
Lloh16:
	ldr	w0, [x8]
	mov	x1, x21
	bl	_MACB_BF
	orr	w21, w23, w0
Lloh17:
	adrp	x8, _REGA@GOTPAGE
Lloh18:
	ldr	x8, [x8, _REGA@GOTPAGEOFF]
Lloh19:
	ldr	w0, [x8]
	mov	x1, x20
	bl	_MACB_BF
	orr	w20, w21, w0
Lloh20:
	adrp	x8, _CODE@GOTPAGE
Lloh21:
	ldr	x8, [x8, _CODE@GOTPAGEOFF]
Lloh22:
	ldr	w0, [x8]
Lloh23:
	adrp	x8, _MACB_MAN_CODE@GOTPAGE
Lloh24:
	ldr	x8, [x8, _MACB_MAN_CODE@GOTPAGEOFF]
Lloh25:
	ldr	w1, [x8]
	bl	_MACB_BF
	orr	w2, w20, w0
	mov	x0, x19
	mov	x1, x22
	bl	_macb_writel
	mov	x0, x19
	bl	_macb_mdio_wait_for_idle
	tbnz	w0, #31, LBB0_4
; %bb.3:
Lloh26:
	adrp	x8, _DATA@GOTPAGE
Lloh27:
	ldr	x8, [x8, _DATA@GOTPAGEOFF]
Lloh28:
	ldr	w20, [x8]
	ldr	w1, [x24]
	mov	x0, x19
	bl	_macb_readl
	mov	x1, x0
	mov	x0, x20
	bl	_MACB_BFEXT
LBB0_4:
	mov	x22, x0
	ldr	x0, [x19]
	bl	_pm_runtime_mark_last_busy
	ldr	x0, [x19]
	bl	_pm_runtime_put_autosuspend
	b	LBB0_6
LBB0_5:
	mov	x22, x0
LBB0_6:
	mov	x0, x22
	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	Lloh23, Lloh24, Lloh25
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.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	Lloh26, Lloh27, Lloh28
	.cfi_endproc
                                        ; -- End function
	.comm	_MAN,4,2                        ; @MAN
	.comm	_SOF,4,2                        ; @SOF
	.comm	_MACB_MAN_SOF,4,2               ; @MACB_MAN_SOF
	.comm	_RW,4,2                         ; @RW
	.comm	_MACB_MAN_READ,4,2              ; @MACB_MAN_READ
	.comm	_PHYA,4,2                       ; @PHYA
	.comm	_REGA,4,2                       ; @REGA
	.comm	_CODE,4,2                       ; @CODE
	.comm	_MACB_MAN_CODE,4,2              ; @MACB_MAN_CODE
	.comm	_DATA,4,2                       ; @DATA
	.no_dead_strip	_macb_mdio_read
.subsections_via_symbols
