	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function rtl_ephy_write
_rtl_ephy_write:                        ## @rtl_ephy_write
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	movq	%rdi, %rbx
	movq	_EPHYAR@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	_EPHYAR_DATA_MASK@GOTPCREL(%rip), %rcx
	andl	(%rcx), %edx
	movq	_EPHYAR_WRITE_CMD@GOTPCREL(%rip), %rcx
	orl	(%rcx), %edx
	movq	_EPHYAR_REG_MASK@GOTPCREL(%rip), %rcx
	andl	(%rcx), %esi
	movq	_EPHYAR_REG_SHIFT@GOTPCREL(%rip), %rcx
	movb	(%rcx), %cl
	shll	%cl, %esi
	orl	%esi, %edx
	movl	%eax, %esi
	callq	_RTL_W32
	movq	_rtl_ephyar_cond@GOTPCREL(%rip), %rsi
	movq	%rbx, %rdi
	movl	$10, %edx
	movl	$100, %ecx
	callq	_rtl_udelay_loop_wait_low
	movl	$10, %edi
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	jmp	_udelay                         ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_EPHYAR,4,2                     ## @EPHYAR
	.comm	_EPHYAR_WRITE_CMD,4,2           ## @EPHYAR_WRITE_CMD
	.comm	_EPHYAR_DATA_MASK,4,2           ## @EPHYAR_DATA_MASK
	.comm	_EPHYAR_REG_MASK,4,2            ## @EPHYAR_REG_MASK
	.comm	_EPHYAR_REG_SHIFT,4,2           ## @EPHYAR_REG_SHIFT
	.comm	_rtl_ephyar_cond,4,2            ## @rtl_ephyar_cond
	.no_dead_strip	_rtl_ephy_write
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function rtl_ephy_write
_rtl_ephy_write:                        ; @rtl_ephy_write
	.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
Lloh0:
	adrp	x8, _EPHYAR@GOTPAGE
Lloh1:
	ldr	x8, [x8, _EPHYAR@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
Lloh3:
	adrp	x9, _EPHYAR_WRITE_CMD@GOTPAGE
Lloh4:
	ldr	x9, [x9, _EPHYAR_WRITE_CMD@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
Lloh6:
	adrp	x10, _EPHYAR_DATA_MASK@GOTPAGE
Lloh7:
	ldr	x10, [x10, _EPHYAR_DATA_MASK@GOTPAGEOFF]
Lloh8:
	ldr	w10, [x10]
	and	w10, w10, w2
	orr	w9, w10, w9
Lloh9:
	adrp	x10, _EPHYAR_REG_MASK@GOTPAGE
Lloh10:
	ldr	x10, [x10, _EPHYAR_REG_MASK@GOTPAGEOFF]
Lloh11:
	ldr	w10, [x10]
	and	w10, w10, w1
Lloh12:
	adrp	x11, _EPHYAR_REG_SHIFT@GOTPAGE
Lloh13:
	ldr	x11, [x11, _EPHYAR_REG_SHIFT@GOTPAGEOFF]
Lloh14:
	ldr	w11, [x11]
	lsl	w10, w10, w11
	orr	w2, w9, w10
	mov	x1, x8
	bl	_RTL_W32
Lloh15:
	adrp	x1, _rtl_ephyar_cond@GOTPAGE
Lloh16:
	ldr	x1, [x1, _rtl_ephyar_cond@GOTPAGEOFF]
	mov	x0, x19
	mov	w2, #10
	mov	w3, #100
	bl	_rtl_udelay_loop_wait_low
	mov	w0, #10
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_udelay
	.loh AdrpLdrGot	Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_EPHYAR,4,2                     ; @EPHYAR
	.comm	_EPHYAR_WRITE_CMD,4,2           ; @EPHYAR_WRITE_CMD
	.comm	_EPHYAR_DATA_MASK,4,2           ; @EPHYAR_DATA_MASK
	.comm	_EPHYAR_REG_MASK,4,2            ; @EPHYAR_REG_MASK
	.comm	_EPHYAR_REG_SHIFT,4,2           ; @EPHYAR_REG_SHIFT
	.comm	_rtl_ephyar_cond,4,2            ; @rtl_ephyar_cond
	.no_dead_strip	_rtl_ephy_write
.subsections_via_symbols
