	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_xenon_phy_adj                  ## -- Begin function xenon_phy_adj
	.p2align	4, 0x90
_xenon_phy_adj:                         ## @xenon_phy_adj
	.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
	movq	%rsi, %r14
	movq	%rdi, %r15
	callq	_sdhci_priv
	movq	%rax, %rdi
	callq	_sdhci_pltfm_priv
	movq	%rax, %rbx
	movq	(%r15), %rax
	testq	%rax, %rax
	je	LBB0_1
## %bb.2:
	cmpq	(%rbx), %rax
	jne	LBB0_5
## %bb.3:
	movq	(%r14), %rax
	cmpq	8(%rbx), %rax
	jne	LBB0_5
## %bb.4:
	movq	8(%r14), %rax
	cmpq	16(%rbx), %rax
	je	LBB0_7
LBB0_5:
	movq	8(%r14), %rsi
	movq	%r15, %rdi
	callq	_xenon_emmc_phy_set
	movq	8(%r14), %rcx
	movups	(%r14), %xmm0
	movups	%xmm0, 8(%rbx)
	movq	(%r15), %rax
	movq	%rax, (%rbx)
	movq	_MMC_TIMING_LEGACY@GOTPCREL(%rip), %rdx
	cmpq	(%rdx), %rcx
	je	LBB0_7
## %bb.6:
	movq	_XENON_DEFAULT_SDCLK_FREQ@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jle	LBB0_7
## %bb.8:
	movq	%r15, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_xenon_hs_delay_adj             ## TAILCALL
LBB0_1:
	movq	$0, (%rbx)
LBB0_7:
	xorl	%eax, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_MMC_TIMING_LEGACY,8,3          ## @MMC_TIMING_LEGACY
	.comm	_XENON_DEFAULT_SDCLK_FREQ,8,3   ## @XENON_DEFAULT_SDCLK_FREQ
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_xenon_phy_adj                  ; -- Begin function xenon_phy_adj
	.p2align	2
_xenon_phy_adj:                         ; @xenon_phy_adj
	.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, x1
	mov	x19, x0
	bl	_sdhci_priv
	bl	_sdhci_pltfm_priv
	mov	x21, x0
	ldr	x8, [x19]
	cbz	x8, LBB0_6
; %bb.1:
	ldr	x9, [x21]
	cmp	x8, x9
	b.ne	LBB0_4
; %bb.2:
	ldr	x8, [x20]
	ldr	x9, [x21, #8]
	cmp	x8, x9
	b.ne	LBB0_4
; %bb.3:
	ldr	x8, [x20, #8]
	ldr	x9, [x21, #16]
	cmp	x8, x9
	b.eq	LBB0_7
LBB0_4:
	ldr	x1, [x20, #8]
	mov	x0, x19
	bl	_xenon_emmc_phy_set
	ldp	x8, x9, [x20]
	str	x9, [x21, #16]
	ldr	x10, [x19]
	stp	x10, x8, [x21]
Lloh0:
	adrp	x8, _MMC_TIMING_LEGACY@GOTPAGE
Lloh1:
	ldr	x8, [x8, _MMC_TIMING_LEGACY@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
Lloh3:
	adrp	x11, _XENON_DEFAULT_SDCLK_FREQ@GOTPAGE
Lloh4:
	ldr	x11, [x11, _XENON_DEFAULT_SDCLK_FREQ@GOTPAGEOFF]
Lloh5:
	ldr	x11, [x11]
	cmp	x9, x8
	ccmp	x10, x11, #4, ne
	b.le	LBB0_7
; %bb.5:
	mov	x0, x19
	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
	b	_xenon_hs_delay_adj
LBB0_6:
	str	xzr, [x21]
LBB0_7:
	mov	w0, #0
	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
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_MMC_TIMING_LEGACY,8,3          ; @MMC_TIMING_LEGACY
	.comm	_XENON_DEFAULT_SDCLK_FREQ,8,3   ; @XENON_DEFAULT_SDCLK_FREQ
.subsections_via_symbols
