	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function phy_read
_phy_read:                              ## @phy_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
	movq	%rdi, %r13
	movq	_PCI_DM9132_ID@GOTPCREL(%rip), %rax
	cmpq	%rcx, (%rax)
	jne	LBB0_1
## %bb.4:
	shll	$2, %r14d
	movslq	%r14d, %rax
	leaq	(%rax,%r13), %rdi
	addq	$128, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_inw                            ## TAILCALL
LBB0_1:
	movl	%esi, %r15d
	movq	_DCR9@GOTPCREL(%rip), %rax
	addq	(%rax), %r13
	movl	$35, %ebx
	movq	_PHY_DATA_1@GOTPCREL(%rip), %r12
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movl	(%r12), %esi
	movq	%r13, %rdi
	callq	_phy_write_1bit
	decl	%ebx
	jne	LBB0_2
## %bb.3:
	movq	_PHY_DATA_0@GOTPCREL(%rip), %rbx
	movl	(%rbx), %esi
	movq	%r13, %rdi
	callq	_phy_write_1bit
	movl	(%r12), %esi
	movq	%r13, %rdi
	callq	_phy_write_1bit
	movl	(%r12), %esi
	movq	%r13, %rdi
	callq	_phy_write_1bit
	movl	(%rbx), %esi
	movq	%r13, %rdi
	callq	_phy_write_1bit
	testb	$16, %r15b
	movq	%r12, %rax
	cmoveq	%rbx, %rax
	movl	(%rax), %esi
	movq	%r13, %rdi
	callq	_phy_write_1bit
	testb	$8, %r15b
	movq	%r12, %rax
	cmoveq	%rbx, %rax
	movl	(%rax), %esi
	movq	%r13, %rdi
	callq	_phy_write_1bit
	testb	$4, %r15b
	movq	%r12, %rax
	cmoveq	%rbx, %rax
	movl	(%rax), %esi
	movq	%r13, %rdi
	callq	_phy_write_1bit
	testb	$2, %r15b
	movq	%r12, %rax
	cmoveq	%rbx, %rax
	movl	(%rax), %esi
	movq	%r13, %rdi
	callq	_phy_write_1bit
	testb	$1, %r15b
	movq	%r12, %rax
	cmoveq	%rbx, %rax
	movl	(%rax), %esi
	movq	%r13, %rdi
	callq	_phy_write_1bit
	testb	$16, %r14b
	movq	%r12, %rax
	cmoveq	%rbx, %rax
	movl	(%rax), %esi
	movq	%r13, %rdi
	callq	_phy_write_1bit
	testb	$8, %r14b
	movq	%r12, %rax
	cmoveq	%rbx, %rax
	movl	(%rax), %esi
	movq	%r13, %rdi
	callq	_phy_write_1bit
	testb	$4, %r14b
	movq	%r12, %rax
	cmoveq	%rbx, %rax
	movl	(%rax), %esi
	movq	%r13, %rdi
	callq	_phy_write_1bit
	testb	$2, %r14b
	movq	%r12, %rax
	cmoveq	%rbx, %rax
	movl	(%rax), %esi
	movq	%r13, %rdi
	callq	_phy_write_1bit
	testb	$1, %r14b
	cmoveq	%rbx, %r12
	movl	(%r12), %esi
	movq	%r13, %rdi
	callq	_phy_write_1bit
	movq	%r13, %rdi
	callq	_phy_read_1bit
	movq	%r13, %rdi
	callq	_phy_read_1bit
	movl	%eax, %r14d
	movq	%r13, %rdi
	callq	_phy_read_1bit
	movl	%eax, %r15d
	shll	$2, %r14d
	addl	%eax, %r15d
	orl	%r14d, %r15d
	movq	%r13, %rdi
	callq	_phy_read_1bit
	movl	%eax, %r14d
	orl	%r15d, %r14d
	movq	%r13, %rdi
	callq	_phy_read_1bit
	movl	%eax, %r15d
	shll	$2, %r14d
	addl	%eax, %r15d
	movq	%r13, %rdi
	callq	_phy_read_1bit
	movl	%eax, %r12d
	orl	%r15d, %r12d
	orl	%r14d, %r12d
	movq	%r13, %rdi
	callq	_phy_read_1bit
	movl	%eax, %r14d
	shll	$2, %r12d
	addl	%eax, %r14d
	movq	%r13, %rdi
	callq	_phy_read_1bit
	movl	%eax, %r15d
	orl	%r14d, %r15d
	orl	%r12d, %r15d
	movq	%r13, %rdi
	callq	_phy_read_1bit
	movl	%eax, %r14d
	shll	$2, %r15d
	addl	%eax, %r14d
	movq	%r13, %rdi
	callq	_phy_read_1bit
	movl	%eax, %r12d
	orl	%r14d, %r12d
	orl	%r15d, %r12d
	movq	%r13, %rdi
	callq	_phy_read_1bit
	movl	%eax, %r14d
	shll	$2, %r12d
	addl	%eax, %r14d
	movq	%r13, %rdi
	callq	_phy_read_1bit
	movl	%eax, %r15d
	orl	%r14d, %r15d
	orl	%r12d, %r15d
	movq	%r13, %rdi
	callq	_phy_read_1bit
	movl	%eax, %r14d
	shll	$2, %r15d
	addl	%eax, %r14d
	movq	%r13, %rdi
	callq	_phy_read_1bit
	movl	%eax, %r12d
	orl	%r14d, %r12d
	orl	%r15d, %r12d
	movq	%r13, %rdi
	callq	_phy_read_1bit
	movl	%eax, %r14d
	shll	$2, %r12d
	addl	%eax, %r14d
	movq	%r13, %rdi
	callq	_phy_read_1bit
	movl	%eax, %r15d
	orl	%r14d, %r15d
	orl	%r12d, %r15d
	addl	%r15d, %r15d
	movq	%r13, %rdi
	callq	_phy_read_1bit
	orl	%r15d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_PCI_DM9132_ID,8,3              ## @PCI_DM9132_ID
	.comm	_DCR9,8,3                       ## @DCR9
	.comm	_PHY_DATA_1,4,2                 ## @PHY_DATA_1
	.comm	_PHY_DATA_0,4,2                 ## @PHY_DATA_0
	.no_dead_strip	_phy_read
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function phy_read
_phy_read:                              ; @phy_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
Lloh0:
	adrp	x8, _PCI_DM9132_ID@GOTPAGE
Lloh1:
	ldr	x8, [x8, _PCI_DM9132_ID@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	cmp	x8, x3
	b.ne	LBB0_2
; %bb.1:
	lsl	w8, w20, #2
	add	x8, x0, w8, sxtw
	add	x0, x8, #128
	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
	b	_inw
LBB0_2:
	mov	x21, x1
Lloh3:
	adrp	x8, _DCR9@GOTPAGE
Lloh4:
	ldr	x8, [x8, _DCR9@GOTPAGEOFF]
Lloh5:
	ldr	x8, [x8]
	add	x19, x8, x0
	mov	w23, #35
Lloh6:
	adrp	x22, _PHY_DATA_1@GOTPAGE
Lloh7:
	ldr	x22, [x22, _PHY_DATA_1@GOTPAGEOFF]
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w1, [x22]
	mov	x0, x19
	bl	_phy_write_1bit
	subs	w23, w23, #1
	b.ne	LBB0_3
; %bb.4:
Lloh8:
	adrp	x23, _PHY_DATA_0@GOTPAGE
Lloh9:
	ldr	x23, [x23, _PHY_DATA_0@GOTPAGEOFF]
	ldr	w1, [x23]
	mov	x0, x19
	bl	_phy_write_1bit
	ldr	w1, [x22]
	mov	x0, x19
	bl	_phy_write_1bit
	ldr	w1, [x22]
	mov	x0, x19
	bl	_phy_write_1bit
	ldr	w1, [x23]
	mov	x0, x19
	bl	_phy_write_1bit
	tst	w21, #0x10
	csel	x8, x23, x22, eq
	ldr	w1, [x8]
	mov	x0, x19
	bl	_phy_write_1bit
	tst	w21, #0x8
	csel	x8, x23, x22, eq
	ldr	w1, [x8]
	mov	x0, x19
	bl	_phy_write_1bit
	tst	w21, #0x4
	csel	x8, x23, x22, eq
	ldr	w1, [x8]
	mov	x0, x19
	bl	_phy_write_1bit
	tst	w21, #0x2
	csel	x8, x23, x22, eq
	ldr	w1, [x8]
	mov	x0, x19
	bl	_phy_write_1bit
	tst	w21, #0x1
	csel	x8, x23, x22, eq
	ldr	w1, [x8]
	mov	x0, x19
	bl	_phy_write_1bit
	tst	w20, #0x10
	csel	x8, x23, x22, eq
	ldr	w1, [x8]
	mov	x0, x19
	bl	_phy_write_1bit
	tst	w20, #0x8
	csel	x8, x23, x22, eq
	ldr	w1, [x8]
	mov	x0, x19
	bl	_phy_write_1bit
	tst	w20, #0x4
	csel	x8, x23, x22, eq
	ldr	w1, [x8]
	mov	x0, x19
	bl	_phy_write_1bit
	tst	w20, #0x2
	csel	x8, x23, x22, eq
	ldr	w1, [x8]
	mov	x0, x19
	bl	_phy_write_1bit
	tst	w20, #0x1
	csel	x8, x23, x22, eq
	ldr	w1, [x8]
	mov	x0, x19
	bl	_phy_write_1bit
	mov	x0, x19
	bl	_phy_read_1bit
	mov	x0, x19
	bl	_phy_read_1bit
	mov	x20, x0
	mov	x0, x19
	bl	_phy_read_1bit
	lsl	w8, w20, #2
	orr	w20, w8, w0, lsl #1
	mov	x0, x19
	bl	_phy_read_1bit
	orr	w20, w0, w20
	mov	x0, x19
	bl	_phy_read_1bit
	lsl	w8, w20, #2
	orr	w20, w8, w0, lsl #1
	mov	x0, x19
	bl	_phy_read_1bit
	orr	w20, w0, w20
	mov	x0, x19
	bl	_phy_read_1bit
	lsl	w8, w20, #2
	orr	w20, w8, w0, lsl #1
	mov	x0, x19
	bl	_phy_read_1bit
	orr	w20, w0, w20
	mov	x0, x19
	bl	_phy_read_1bit
	lsl	w8, w20, #2
	orr	w20, w8, w0, lsl #1
	mov	x0, x19
	bl	_phy_read_1bit
	orr	w20, w0, w20
	mov	x0, x19
	bl	_phy_read_1bit
	lsl	w8, w20, #2
	orr	w20, w8, w0, lsl #1
	mov	x0, x19
	bl	_phy_read_1bit
	orr	w20, w0, w20
	mov	x0, x19
	bl	_phy_read_1bit
	lsl	w8, w20, #2
	orr	w20, w8, w0, lsl #1
	mov	x0, x19
	bl	_phy_read_1bit
	orr	w20, w0, w20
	mov	x0, x19
	bl	_phy_read_1bit
	lsl	w8, w20, #2
	orr	w20, w8, w0, lsl #1
	mov	x0, x19
	bl	_phy_read_1bit
	orr	w20, w0, w20
	mov	x0, x19
	bl	_phy_read_1bit
	orr	w0, w0, w20, lsl #1
	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	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh8, Lloh9
	.cfi_endproc
                                        ; -- End function
	.comm	_PCI_DM9132_ID,8,3              ; @PCI_DM9132_ID
	.comm	_DCR9,8,3                       ; @DCR9
	.comm	_PHY_DATA_1,4,2                 ; @PHY_DATA_1
	.comm	_PHY_DATA_0,4,2                 ; @PHY_DATA_0
	.no_dead_strip	_phy_read
.subsections_via_symbols
