	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function fwphy_wrdata
_fwphy_wrdata:                          ## @fwphy_wrdata
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movl	%esi, %ebx
	andl	$15, %ebx
	movzbl	%dl, %edx
	movq	_PHYDEV_REGADDR@GOTPCREL(%rip), %rax
	movb	(%rax), %cl
	movl	%ebx, %eax
	shll	%cl, %eax
	movq	_PHYDEV_WRCMD@GOTPCREL(%rip), %rcx
	orl	(%rcx), %eax
	movq	_PHYDEV_WRDATA@GOTPCREL(%rip), %rcx
	movb	(%rcx), %cl
	shll	%cl, %edx
	movq	%rdi, %r14
	orl	%eax, %edx
	movq	_OHCI_PHYACCESS@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_OWRITE
	movl	$100, %edi
	callq	_DELAY
	movq	%r14, %rdi
	movl	%ebx, %esi
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_fwphy_rddata                   ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_PHYDEV_WRCMD,4,2               ## @PHYDEV_WRCMD
	.comm	_PHYDEV_REGADDR,4,2             ## @PHYDEV_REGADDR
	.comm	_PHYDEV_WRDATA,4,2              ## @PHYDEV_WRDATA
	.comm	_OHCI_PHYACCESS,4,2             ## @OHCI_PHYACCESS
	.no_dead_strip	_fwphy_wrdata
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function fwphy_wrdata
_fwphy_wrdata:                          ; @fwphy_wrdata
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x0
	and	w20, w1, #0xf
	and	w8, w2, #0xff
Lloh0:
	adrp	x9, _PHYDEV_WRCMD@GOTPAGE
Lloh1:
	ldr	x9, [x9, _PHYDEV_WRCMD@GOTPAGEOFF]
Lloh2:
	adrp	x10, _PHYDEV_REGADDR@GOTPAGE
Lloh3:
	ldr	x10, [x10, _PHYDEV_REGADDR@GOTPAGEOFF]
Lloh4:
	ldr	w9, [x9]
Lloh5:
	ldr	w10, [x10]
	lsl	w10, w20, w10
	orr	w9, w10, w9
Lloh6:
	adrp	x10, _PHYDEV_WRDATA@GOTPAGE
Lloh7:
	ldr	x10, [x10, _PHYDEV_WRDATA@GOTPAGEOFF]
Lloh8:
	ldr	w10, [x10]
	lsl	w8, w8, w10
	orr	w2, w9, w8
Lloh9:
	adrp	x8, _OHCI_PHYACCESS@GOTPAGE
Lloh10:
	ldr	x8, [x8, _OHCI_PHYACCESS@GOTPAGEOFF]
Lloh11:
	ldr	w1, [x8]
	bl	_OWRITE
	mov	w0, #100
	bl	_DELAY
	mov	x0, x19
	mov	x1, x20
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_fwphy_rddata
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh4
	.cfi_endproc
                                        ; -- End function
	.comm	_PHYDEV_WRCMD,4,2               ; @PHYDEV_WRCMD
	.comm	_PHYDEV_REGADDR,4,2             ; @PHYDEV_REGADDR
	.comm	_PHYDEV_WRDATA,4,2              ; @PHYDEV_WRDATA
	.comm	_OHCI_PHYACCESS,4,2             ; @OHCI_PHYACCESS
	.no_dead_strip	_fwphy_wrdata
.subsections_via_symbols
