	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function mii_rd
_mii_rd:                                ## @mii_rd
	.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
	movl	%edx, %r14d
	movl	%esi, %r15d
	movl	%edi, %r12d
	movl	$2, %edi
	callq	_SelectPage
	movl	%r12d, %edi
	movl	$1, %esi
	callq	_mii_putbit
	movl	%r12d, %edi
	movl	$1, %esi
	callq	_mii_putbit
	movl	%r12d, %edi
	movl	$1, %esi
	callq	_mii_putbit
	movl	%r12d, %edi
	movl	$1, %esi
	callq	_mii_putbit
	movl	%r12d, %edi
	movl	$1, %esi
	callq	_mii_putbit
	movl	%r12d, %edi
	movl	$1, %esi
	callq	_mii_putbit
	movl	%r12d, %edi
	movl	$1, %esi
	callq	_mii_putbit
	movl	%r12d, %edi
	movl	$1, %esi
	callq	_mii_putbit
	movl	%r12d, %edi
	movl	$1, %esi
	callq	_mii_putbit
	movl	%r12d, %edi
	movl	$1, %esi
	callq	_mii_putbit
	movl	%r12d, %edi
	movl	$1, %esi
	callq	_mii_putbit
	movl	%r12d, %edi
	movl	$1, %esi
	callq	_mii_putbit
	movl	%r12d, %edi
	movl	$1, %esi
	callq	_mii_putbit
	movl	%r12d, %edi
	movl	$1, %esi
	callq	_mii_putbit
	movl	%r12d, %edi
	movl	$1, %esi
	callq	_mii_putbit
	movl	%r12d, %edi
	movl	$1, %esi
	callq	_mii_putbit
	movl	%r12d, %edi
	movl	$1, %esi
	callq	_mii_putbit
	movl	%r12d, %edi
	movl	$1, %esi
	callq	_mii_putbit
	movl	%r12d, %edi
	movl	$1, %esi
	callq	_mii_putbit
	movl	%r12d, %edi
	movl	$1, %esi
	callq	_mii_putbit
	movl	%r12d, %edi
	movl	$1, %esi
	callq	_mii_putbit
	movl	%r12d, %edi
	movl	$1, %esi
	callq	_mii_putbit
	movl	%r12d, %edi
	movl	$1, %esi
	callq	_mii_putbit
	movl	%r12d, %edi
	movl	$1, %esi
	callq	_mii_putbit
	movl	%r12d, %edi
	movl	$1, %esi
	callq	_mii_putbit
	movl	%r12d, %edi
	movl	$1, %esi
	callq	_mii_putbit
	movl	%r12d, %edi
	movl	$1, %esi
	callq	_mii_putbit
	movl	%r12d, %edi
	movl	$1, %esi
	callq	_mii_putbit
	movl	%r12d, %edi
	movl	$1, %esi
	callq	_mii_putbit
	movl	%r12d, %edi
	movl	$1, %esi
	callq	_mii_putbit
	movl	%r12d, %edi
	movl	$1, %esi
	callq	_mii_putbit
	movl	%r12d, %edi
	movl	$1, %esi
	callq	_mii_putbit
	movl	%r12d, %edi
	movl	$6, %esi
	movl	$4, %edx
	callq	_mii_wbits
	movl	%r12d, %edi
	movl	%r15d, %esi
	movl	$5, %edx
	callq	_mii_wbits
	movl	%r12d, %edi
	movl	%r14d, %esi
	movl	$5, %edx
	callq	_mii_wbits
	movl	%r12d, %edi
	callq	_mii_idle
	movl	%r12d, %edi
	callq	_mii_getbit
	movl	%r12d, %edi
	callq	_mii_getbit
	xorl	%r14d, %r14d
	testq	%rax, %rax
	setne	%r14b
	shll	$15, %r14d
	movl	%r12d, %edi
	callq	_mii_getbit
	xorl	%ebx, %ebx
	testq	%rax, %rax
	setne	%bl
	shll	$14, %ebx
	orl	%r14d, %ebx
	movl	%r12d, %edi
	callq	_mii_getbit
	xorl	%r14d, %r14d
	testq	%rax, %rax
	setne	%r14b
	shll	$13, %r14d
	orl	%ebx, %r14d
	movl	%r12d, %edi
	callq	_mii_getbit
	xorl	%ebx, %ebx
	testq	%rax, %rax
	setne	%bl
	shll	$12, %ebx
	orl	%r14d, %ebx
	movl	%r12d, %edi
	callq	_mii_getbit
	xorl	%r14d, %r14d
	testq	%rax, %rax
	setne	%r14b
	shll	$11, %r14d
	orl	%ebx, %r14d
	movl	%r12d, %edi
	callq	_mii_getbit
	xorl	%ebx, %ebx
	testq	%rax, %rax
	setne	%bl
	shll	$10, %ebx
	orl	%r14d, %ebx
	movl	%r12d, %edi
	callq	_mii_getbit
	xorl	%r15d, %r15d
	testq	%rax, %rax
	setne	%r15b
	shll	$9, %r15d
	orl	%ebx, %r15d
	movl	%r12d, %edi
	callq	_mii_getbit
	xorl	%r14d, %r14d
	testq	%rax, %rax
	setne	%r14b
	shll	$8, %r14d
	movl	%r12d, %edi
	callq	_mii_getbit
	xorl	%ebx, %ebx
	testq	%rax, %rax
	setne	%bl
	shll	$7, %ebx
	orl	%r14d, %ebx
	movl	%r12d, %edi
	callq	_mii_getbit
	xorl	%r14d, %r14d
	testq	%rax, %rax
	setne	%r14b
	shll	$6, %r14d
	orl	%ebx, %r14d
	movl	%r12d, %edi
	callq	_mii_getbit
	xorl	%ebx, %ebx
	testq	%rax, %rax
	setne	%bl
	shll	$5, %ebx
	orl	%r14d, %ebx
	movl	%r12d, %edi
	callq	_mii_getbit
	xorl	%r14d, %r14d
	testq	%rax, %rax
	setne	%r14b
	shll	$4, %r14d
	orl	%ebx, %r14d
	movl	%r12d, %edi
	callq	_mii_getbit
	xorl	%ebx, %ebx
	testq	%rax, %rax
	setne	%bl
	shll	$3, %ebx
	orl	%r14d, %ebx
	movl	%r12d, %edi
	callq	_mii_getbit
	xorl	%r14d, %r14d
	testq	%rax, %rax
	setne	%r14b
	shll	$2, %r14d
	orl	%ebx, %r14d
	orl	%r15d, %r14d
	movl	%r12d, %edi
	callq	_mii_getbit
	xorl	%r15d, %r15d
	testq	%rax, %rax
	setne	%r15b
	addl	%r15d, %r15d
	movl	%r12d, %edi
	callq	_mii_getbit
	xorl	%ebx, %ebx
	testq	%rax, %rax
	setne	%bl
	orl	%r15d, %ebx
	orl	%r14d, %ebx
	movl	%r12d, %edi
	callq	_mii_idle
	movl	%ebx, %eax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_mii_rd
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function mii_rd
_mii_rd:                                ; @mii_rd
	.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	x20, x2
	mov	x21, x1
	mov	x19, x0
	mov	w0, #2
	bl	_SelectPage
	mov	x0, x19
	mov	w1, #1
	bl	_mii_putbit
	mov	x0, x19
	mov	w1, #1
	bl	_mii_putbit
	mov	x0, x19
	mov	w1, #1
	bl	_mii_putbit
	mov	x0, x19
	mov	w1, #1
	bl	_mii_putbit
	mov	x0, x19
	mov	w1, #1
	bl	_mii_putbit
	mov	x0, x19
	mov	w1, #1
	bl	_mii_putbit
	mov	x0, x19
	mov	w1, #1
	bl	_mii_putbit
	mov	x0, x19
	mov	w1, #1
	bl	_mii_putbit
	mov	x0, x19
	mov	w1, #1
	bl	_mii_putbit
	mov	x0, x19
	mov	w1, #1
	bl	_mii_putbit
	mov	x0, x19
	mov	w1, #1
	bl	_mii_putbit
	mov	x0, x19
	mov	w1, #1
	bl	_mii_putbit
	mov	x0, x19
	mov	w1, #1
	bl	_mii_putbit
	mov	x0, x19
	mov	w1, #1
	bl	_mii_putbit
	mov	x0, x19
	mov	w1, #1
	bl	_mii_putbit
	mov	x0, x19
	mov	w1, #1
	bl	_mii_putbit
	mov	x0, x19
	mov	w1, #1
	bl	_mii_putbit
	mov	x0, x19
	mov	w1, #1
	bl	_mii_putbit
	mov	x0, x19
	mov	w1, #1
	bl	_mii_putbit
	mov	x0, x19
	mov	w1, #1
	bl	_mii_putbit
	mov	x0, x19
	mov	w1, #1
	bl	_mii_putbit
	mov	x0, x19
	mov	w1, #1
	bl	_mii_putbit
	mov	x0, x19
	mov	w1, #1
	bl	_mii_putbit
	mov	x0, x19
	mov	w1, #1
	bl	_mii_putbit
	mov	x0, x19
	mov	w1, #1
	bl	_mii_putbit
	mov	x0, x19
	mov	w1, #1
	bl	_mii_putbit
	mov	x0, x19
	mov	w1, #1
	bl	_mii_putbit
	mov	x0, x19
	mov	w1, #1
	bl	_mii_putbit
	mov	x0, x19
	mov	w1, #1
	bl	_mii_putbit
	mov	x0, x19
	mov	w1, #1
	bl	_mii_putbit
	mov	x0, x19
	mov	w1, #1
	bl	_mii_putbit
	mov	x0, x19
	mov	w1, #1
	bl	_mii_putbit
	mov	x0, x19
	mov	w1, #6
	mov	w2, #4
	bl	_mii_wbits
	mov	x0, x19
	mov	x1, x21
	mov	w2, #5
	bl	_mii_wbits
	mov	x0, x19
	mov	x1, x20
	mov	w2, #5
	bl	_mii_wbits
	mov	x0, x19
	bl	_mii_idle
	mov	x0, x19
	bl	_mii_getbit
	mov	x0, x19
	bl	_mii_getbit
	cmp	x0, #0
	cset	w8, ne
	lsl	w20, w8, #15
	mov	x0, x19
	bl	_mii_getbit
	cmp	x0, #0
	cset	w8, ne
	bfi	w20, w8, #14, #1
	mov	x0, x19
	bl	_mii_getbit
	cmp	x0, #0
	cset	w8, ne
	bfi	w20, w8, #13, #1
	mov	x0, x19
	bl	_mii_getbit
	cmp	x0, #0
	cset	w8, ne
	bfi	w20, w8, #12, #1
	mov	x0, x19
	bl	_mii_getbit
	cmp	x0, #0
	cset	w8, ne
	bfi	w20, w8, #11, #1
	mov	x0, x19
	bl	_mii_getbit
	cmp	x0, #0
	cset	w8, ne
	bfi	w20, w8, #10, #1
	mov	x0, x19
	bl	_mii_getbit
	cmp	x0, #0
	cset	w8, ne
	bfi	w20, w8, #9, #1
	mov	x0, x19
	bl	_mii_getbit
	cmp	x0, #0
	cset	w8, ne
	orr	w20, w20, w8, lsl #8
	mov	x0, x19
	bl	_mii_getbit
	cmp	x0, #0
	cset	w8, ne
	orr	w20, w20, w8, lsl #7
	mov	x0, x19
	bl	_mii_getbit
	cmp	x0, #0
	cset	w8, ne
	orr	w20, w20, w8, lsl #6
	mov	x0, x19
	bl	_mii_getbit
	cmp	x0, #0
	cset	w8, ne
	orr	w20, w20, w8, lsl #5
	mov	x0, x19
	bl	_mii_getbit
	cmp	x0, #0
	cset	w8, ne
	orr	w20, w20, w8, lsl #4
	mov	x0, x19
	bl	_mii_getbit
	cmp	x0, #0
	cset	w8, ne
	orr	w20, w20, w8, lsl #3
	mov	x0, x19
	bl	_mii_getbit
	cmp	x0, #0
	cset	w8, ne
	orr	w20, w20, w8, lsl #2
	mov	x0, x19
	bl	_mii_getbit
	cmp	x0, #0
	cset	w8, ne
	orr	w20, w20, w8, lsl #1
	mov	x0, x19
	bl	_mii_getbit
	cmp	x0, #0
	cset	w8, ne
	orr	w20, w20, w8
	mov	x0, x19
	bl	_mii_idle
	mov	x0, x20
	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
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_mii_rd
.subsections_via_symbols
