	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function tlan_mii_sync
_tlan_mii_sync:                         ## @tlan_mii_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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r14
	movq	_TLAN_NET_SIO@GOTPCREL(%rip), %rbx
	movq	(%rbx), %rdi
	movq	_TLAN_DIO_ADR@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	addq	%r14, %rsi
	callq	_outw
	movq	_TLAN_DIO_DATA@GOTPCREL(%rip), %rax
	addq	(%rax), %r14
	addq	(%rbx), %r14
	movq	_TLAN_NET_SIO_MTXEN@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	%r14, %rsi
	callq	_tlan_clear_bit
	movl	$32, %ebx
	movq	_TLAN_NET_SIO_MCLK@GOTPCREL(%rip), %r15
	.p2align	4, 0x90
LBB0_1:                                 ## =>This Inner Loop Header: Depth=1
	movl	(%r15), %edi
	movq	%r14, %rsi
	callq	_tlan_clear_bit
	movl	(%r15), %edi
	movq	%r14, %rsi
	callq	_tlan_set_bit
	decl	%ebx
	jne	LBB0_1
## %bb.2:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_TLAN_NET_SIO,8,3               ## @TLAN_NET_SIO
	.comm	_TLAN_DIO_ADR,8,3               ## @TLAN_DIO_ADR
	.comm	_TLAN_DIO_DATA,8,3              ## @TLAN_DIO_DATA
	.comm	_TLAN_NET_SIO_MTXEN,4,2         ## @TLAN_NET_SIO_MTXEN
	.comm	_TLAN_NET_SIO_MCLK,4,2          ## @TLAN_NET_SIO_MCLK
	.no_dead_strip	_tlan_mii_sync
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function tlan_mii_sync
_tlan_mii_sync:                         ; @tlan_mii_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	x20, _TLAN_NET_SIO@GOTPAGE
Lloh1:
	ldr	x20, [x20, _TLAN_NET_SIO@GOTPAGEOFF]
	ldr	x0, [x20]
Lloh2:
	adrp	x8, _TLAN_DIO_ADR@GOTPAGE
Lloh3:
	ldr	x8, [x8, _TLAN_DIO_ADR@GOTPAGEOFF]
Lloh4:
	ldr	x8, [x8]
	add	x1, x8, x19
	bl	_outw
Lloh5:
	adrp	x8, _TLAN_DIO_DATA@GOTPAGE
Lloh6:
	ldr	x8, [x8, _TLAN_DIO_DATA@GOTPAGEOFF]
Lloh7:
	ldr	x8, [x8]
	ldr	x9, [x20]
	add	x8, x8, x19
	add	x19, x8, x9
Lloh8:
	adrp	x8, _TLAN_NET_SIO_MTXEN@GOTPAGE
Lloh9:
	ldr	x8, [x8, _TLAN_NET_SIO_MTXEN@GOTPAGEOFF]
Lloh10:
	ldr	w0, [x8]
	mov	x1, x19
	bl	_tlan_clear_bit
	mov	w20, #32
Lloh11:
	adrp	x21, _TLAN_NET_SIO_MCLK@GOTPAGE
Lloh12:
	ldr	x21, [x21, _TLAN_NET_SIO_MCLK@GOTPAGEOFF]
LBB0_1:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w0, [x21]
	mov	x1, x19
	bl	_tlan_clear_bit
	ldr	w0, [x21]
	mov	x1, x19
	bl	_tlan_set_bit
	subs	w20, w20, #1
	b.ne	LBB0_1
; %bb.2:
	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
	ret
	.loh AdrpLdrGot	Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_TLAN_NET_SIO,8,3               ; @TLAN_NET_SIO
	.comm	_TLAN_DIO_ADR,8,3               ; @TLAN_DIO_ADR
	.comm	_TLAN_DIO_DATA,8,3              ; @TLAN_DIO_DATA
	.comm	_TLAN_NET_SIO_MTXEN,4,2         ; @TLAN_NET_SIO_MTXEN
	.comm	_TLAN_NET_SIO_MCLK,4,2          ; @TLAN_NET_SIO_MCLK
	.no_dead_strip	_tlan_mii_sync
.subsections_via_symbols
