	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function arasan_phy_write
_arasan_phy_write:                      ## @arasan_phy_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	%r15
	pushq	%r14
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%edx, %ebx
	movq	%rdi, %r14
	movq	_PHY_DAT_REG@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	callq	_sdhci_writew
	movq	_PHY_WRITE@GOTPCREL(%rip), %rax
	orl	(%rax), %ebx
	movq	_PHY_ADDR_REG@GOTPCREL(%rip), %r15
	movl	(%r15), %edx
	movq	%r14, %rdi
	movl	%ebx, %esi
	callq	_sdhci_writew
	movl	(%r15), %esi
	movq	_PHY_BUSY@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r14, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_arasan_phy_addr_poll           ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_PHY_DAT_REG,4,2                ## @PHY_DAT_REG
	.comm	_PHY_WRITE,4,2                  ## @PHY_WRITE
	.comm	_PHY_ADDR_REG,4,2               ## @PHY_ADDR_REG
	.comm	_PHY_BUSY,4,2                   ## @PHY_BUSY
	.no_dead_strip	_arasan_phy_write
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function arasan_phy_write
_arasan_phy_write:                      ; @arasan_phy_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, x2
	mov	x20, x0
Lloh0:
	adrp	x8, _PHY_DAT_REG@GOTPAGE
Lloh1:
	ldr	x8, [x8, _PHY_DAT_REG@GOTPAGEOFF]
Lloh2:
	ldr	w2, [x8]
	bl	_sdhci_writew
Lloh3:
	adrp	x8, _PHY_WRITE@GOTPAGE
Lloh4:
	ldr	x8, [x8, _PHY_WRITE@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	orr	w1, w8, w19
Lloh6:
	adrp	x19, _PHY_ADDR_REG@GOTPAGE
Lloh7:
	ldr	x19, [x19, _PHY_ADDR_REG@GOTPAGEOFF]
	ldr	w2, [x19]
	mov	x0, x20
	bl	_sdhci_writew
	ldr	w1, [x19]
Lloh8:
	adrp	x8, _PHY_BUSY@GOTPAGE
Lloh9:
	ldr	x8, [x8, _PHY_BUSY@GOTPAGEOFF]
Lloh10:
	ldr	w2, [x8]
	mov	x0, x20
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_arasan_phy_addr_poll
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_PHY_DAT_REG,4,2                ; @PHY_DAT_REG
	.comm	_PHY_WRITE,4,2                  ; @PHY_WRITE
	.comm	_PHY_ADDR_REG,4,2               ; @PHY_ADDR_REG
	.comm	_PHY_BUSY,4,2                   ; @PHY_BUSY
	.no_dead_strip	_arasan_phy_write
.subsections_via_symbols
