	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function mdio_sync
_mdio_sync:                             ## @mdio_sync
	.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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r14
	leaq	L_.str(%rip), %rdi
	callq	_DPRINTK
	movl	$-33, %ebx
	movq	_MDIO_WRITE1@GOTPCREL(%rip), %r15
	movq	_MDIO_CLK@GOTPCREL(%rip), %r12
	.p2align	4, 0x90
LBB0_1:                                 ## =>This Inner Loop Header: Depth=1
	movl	(%r15), %edi
	movq	%r14, %rsi
	callq	_writeb
	xorl	%eax, %eax
	callq	_mdio_delay
	movl	(%r12), %edi
	orl	(%r15), %edi
	movq	%r14, %rsi
	callq	_writeb
	xorl	%eax, %eax
	callq	_mdio_delay
	incl	%ebx
	jne	LBB0_1
## %bb.2:
	leaq	L_.str.1(%rip), %rdi
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_DPRINTK                        ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"ENTER\n"

	.comm	_MDIO_WRITE1,4,2                ## @MDIO_WRITE1
	.comm	_MDIO_CLK,4,2                   ## @MDIO_CLK
L_.str.1:                               ## @.str.1
	.asciz	"EXIT\n"

	.no_dead_strip	_mdio_sync
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function mdio_sync
_mdio_sync:                             ; @mdio_sync
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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
	mov	x19, x0
Lloh0:
	adrp	x0, l_.str@PAGE
Lloh1:
	add	x0, x0, l_.str@PAGEOFF
	bl	_DPRINTK
	mov	w20, #-33
Lloh2:
	adrp	x21, _MDIO_WRITE1@GOTPAGE
Lloh3:
	ldr	x21, [x21, _MDIO_WRITE1@GOTPAGEOFF]
Lloh4:
	adrp	x22, _MDIO_CLK@GOTPAGE
Lloh5:
	ldr	x22, [x22, _MDIO_CLK@GOTPAGEOFF]
LBB0_1:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w0, [x21]
	mov	x1, x19
	bl	_writeb
	bl	_mdio_delay
	ldr	w8, [x21]
	ldr	w9, [x22]
	orr	w0, w9, w8
	mov	x1, x19
	bl	_writeb
	bl	_mdio_delay
	adds	w20, w20, #1
	b.lo	LBB0_1
; %bb.2:
Lloh6:
	adrp	x0, l_.str.1@PAGE
Lloh7:
	add	x0, x0, l_.str.1@PAGEOFF
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	b	_DPRINTK
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"ENTER\n"

	.comm	_MDIO_WRITE1,4,2                ; @MDIO_WRITE1
	.comm	_MDIO_CLK,4,2                   ; @MDIO_CLK
l_.str.1:                               ; @.str.1
	.asciz	"EXIT\n"

	.no_dead_strip	_mdio_sync
.subsections_via_symbols
