	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function xenon_emmc_phy_parse_param_dt
_xenon_emmc_phy_parse_param_dt:         ## @xenon_emmc_phy_parse_param_dt
	.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	%rdx, %rbx
	movq	%rsi, %r14
	movq	%rdi, %r15
	movl	$0, (%rdx)
	leaq	L_.str(%rip), %rsi
	movq	%r14, %rdi
	callq	_of_property_read_bool
	testq	%rax, %rax
	je	LBB0_2
## %bb.1:
	movl	$1, (%rbx)
LBB0_2:
	movq	_XENON_ZNR_DEF_VALUE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 4(%rbx)
	leaq	L_.str.1(%rip), %rsi
	leaq	-28(%rbp), %rdx
	movq	%r14, %rdi
	callq	_of_property_read_u32
	testl	%eax, %eax
	jne	LBB0_4
## %bb.3:
	movq	_XENON_ZNR_MASK@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	andl	-28(%rbp), %eax
	movl	%eax, 4(%rbx)
LBB0_4:
	movq	_XENON_ZPR_DEF_VALUE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 8(%rbx)
	leaq	L_.str.2(%rip), %rsi
	leaq	-28(%rbp), %rdx
	movq	%r14, %rdi
	callq	_of_property_read_u32
	testl	%eax, %eax
	jne	LBB0_6
## %bb.5:
	movq	_XENON_ZPR_MASK@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	andl	-28(%rbp), %eax
	movl	%eax, 8(%rbx)
LBB0_6:
	movq	_XENON_TUN_CONSECUTIVE_TIMES@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 12(%rbx)
	leaq	L_.str.3(%rip), %rsi
	leaq	-28(%rbp), %rdx
	movq	%r14, %rdi
	callq	_of_property_read_u32
	testl	%eax, %eax
	jne	LBB0_8
## %bb.7:
	movq	_XENON_TUN_CONSECUTIVE_TIMES_MASK@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	andl	-28(%rbp), %eax
	movl	%eax, 12(%rbx)
LBB0_8:
	movq	_XENON_TUNING_STEP_DIVIDER@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 16(%rbx)
	leaq	L_.str.4(%rip), %rsi
	leaq	-28(%rbp), %rdx
	movq	%r14, %rdi
	callq	_of_property_read_u32
	testl	%eax, %eax
	jne	LBB0_10
## %bb.9:
	movzbl	-28(%rbp), %eax
	movl	%eax, 16(%rbx)
LBB0_10:
	movq	%r15, %rdi
	movq	%r14, %rsi
	movq	%rbx, %rdx
	callq	_get_dt_pad_ctrl_data
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"marvell,xenon-phy-slow-mode"

	.comm	_XENON_ZNR_DEF_VALUE,4,2        ## @XENON_ZNR_DEF_VALUE
L_.str.1:                               ## @.str.1
	.asciz	"marvell,xenon-phy-znr"

	.comm	_XENON_ZNR_MASK,4,2             ## @XENON_ZNR_MASK
	.comm	_XENON_ZPR_DEF_VALUE,4,2        ## @XENON_ZPR_DEF_VALUE
L_.str.2:                               ## @.str.2
	.asciz	"marvell,xenon-phy-zpr"

	.comm	_XENON_ZPR_MASK,4,2             ## @XENON_ZPR_MASK
	.comm	_XENON_TUN_CONSECUTIVE_TIMES,4,2 ## @XENON_TUN_CONSECUTIVE_TIMES
L_.str.3:                               ## @.str.3
	.asciz	"marvell,xenon-phy-nr-success-tun"

	.comm	_XENON_TUN_CONSECUTIVE_TIMES_MASK,4,2 ## @XENON_TUN_CONSECUTIVE_TIMES_MASK
	.comm	_XENON_TUNING_STEP_DIVIDER,4,2  ## @XENON_TUNING_STEP_DIVIDER
L_.str.4:                               ## @.str.4
	.asciz	"marvell,xenon-phy-tun-step-divider"

	.no_dead_strip	_xenon_emmc_phy_parse_param_dt
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function xenon_emmc_phy_parse_param_dt
_xenon_emmc_phy_parse_param_dt:         ; @xenon_emmc_phy_parse_param_dt
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.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
	mov	x19, x2
	mov	x20, x1
	mov	x21, x0
	str	wzr, [x2]
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x20
	bl	_of_property_read_bool
	cbz	x0, LBB0_2
; %bb.1:
	mov	w8, #1
	str	w8, [x19]
LBB0_2:
Lloh2:
	adrp	x8, _XENON_ZNR_DEF_VALUE@GOTPAGE
Lloh3:
	ldr	x8, [x8, _XENON_ZNR_DEF_VALUE@GOTPAGEOFF]
Lloh4:
	ldr	w8, [x8]
	str	w8, [x19, #4]
Lloh5:
	adrp	x1, l_.str.1@PAGE
Lloh6:
	add	x1, x1, l_.str.1@PAGEOFF
	add	x2, sp, #12
	mov	x0, x20
	bl	_of_property_read_u32
	cbnz	w0, LBB0_4
; %bb.3:
	ldr	w8, [sp, #12]
Lloh7:
	adrp	x9, _XENON_ZNR_MASK@GOTPAGE
Lloh8:
	ldr	x9, [x9, _XENON_ZNR_MASK@GOTPAGEOFF]
Lloh9:
	ldr	w9, [x9]
	and	w8, w9, w8
	str	w8, [x19, #4]
LBB0_4:
Lloh10:
	adrp	x8, _XENON_ZPR_DEF_VALUE@GOTPAGE
Lloh11:
	ldr	x8, [x8, _XENON_ZPR_DEF_VALUE@GOTPAGEOFF]
Lloh12:
	ldr	w8, [x8]
	str	w8, [x19, #8]
Lloh13:
	adrp	x1, l_.str.2@PAGE
Lloh14:
	add	x1, x1, l_.str.2@PAGEOFF
	add	x2, sp, #12
	mov	x0, x20
	bl	_of_property_read_u32
	cbnz	w0, LBB0_6
; %bb.5:
	ldr	w8, [sp, #12]
Lloh15:
	adrp	x9, _XENON_ZPR_MASK@GOTPAGE
Lloh16:
	ldr	x9, [x9, _XENON_ZPR_MASK@GOTPAGEOFF]
Lloh17:
	ldr	w9, [x9]
	and	w8, w9, w8
	str	w8, [x19, #8]
LBB0_6:
Lloh18:
	adrp	x8, _XENON_TUN_CONSECUTIVE_TIMES@GOTPAGE
Lloh19:
	ldr	x8, [x8, _XENON_TUN_CONSECUTIVE_TIMES@GOTPAGEOFF]
Lloh20:
	ldr	w8, [x8]
	str	w8, [x19, #12]
Lloh21:
	adrp	x1, l_.str.3@PAGE
Lloh22:
	add	x1, x1, l_.str.3@PAGEOFF
	add	x2, sp, #12
	mov	x0, x20
	bl	_of_property_read_u32
	cbnz	w0, LBB0_8
; %bb.7:
	ldr	w8, [sp, #12]
Lloh23:
	adrp	x9, _XENON_TUN_CONSECUTIVE_TIMES_MASK@GOTPAGE
Lloh24:
	ldr	x9, [x9, _XENON_TUN_CONSECUTIVE_TIMES_MASK@GOTPAGEOFF]
Lloh25:
	ldr	w9, [x9]
	and	w8, w9, w8
	str	w8, [x19, #12]
LBB0_8:
Lloh26:
	adrp	x8, _XENON_TUNING_STEP_DIVIDER@GOTPAGE
Lloh27:
	ldr	x8, [x8, _XENON_TUNING_STEP_DIVIDER@GOTPAGEOFF]
Lloh28:
	ldr	w8, [x8]
	str	w8, [x19, #16]
Lloh29:
	adrp	x1, l_.str.4@PAGE
Lloh30:
	add	x1, x1, l_.str.4@PAGEOFF
	add	x2, sp, #12
	mov	x0, x20
	bl	_of_property_read_u32
	cbnz	w0, LBB0_10
; %bb.9:
	ldrb	w8, [sp, #12]
	str	w8, [x19, #16]
LBB0_10:
	mov	x0, x21
	mov	x1, x20
	mov	x2, x19
	bl	_get_dt_pad_ctrl_data
	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
	add	sp, sp, #64
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpAdd	Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpAdd	Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh25
	.loh AdrpAdd	Lloh29, Lloh30
	.loh AdrpLdrGotLdr	Lloh26, Lloh27, Lloh28
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"marvell,xenon-phy-slow-mode"

	.comm	_XENON_ZNR_DEF_VALUE,4,2        ; @XENON_ZNR_DEF_VALUE
l_.str.1:                               ; @.str.1
	.asciz	"marvell,xenon-phy-znr"

	.comm	_XENON_ZNR_MASK,4,2             ; @XENON_ZNR_MASK
	.comm	_XENON_ZPR_DEF_VALUE,4,2        ; @XENON_ZPR_DEF_VALUE
l_.str.2:                               ; @.str.2
	.asciz	"marvell,xenon-phy-zpr"

	.comm	_XENON_ZPR_MASK,4,2             ; @XENON_ZPR_MASK
	.comm	_XENON_TUN_CONSECUTIVE_TIMES,4,2 ; @XENON_TUN_CONSECUTIVE_TIMES
l_.str.3:                               ; @.str.3
	.asciz	"marvell,xenon-phy-nr-success-tun"

	.comm	_XENON_TUN_CONSECUTIVE_TIMES_MASK,4,2 ; @XENON_TUN_CONSECUTIVE_TIMES_MASK
	.comm	_XENON_TUNING_STEP_DIVIDER,4,2  ; @XENON_TUNING_STEP_DIVIDER
l_.str.4:                               ; @.str.4
	.asciz	"marvell,xenon-phy-tun-step-divider"

	.no_dead_strip	_xenon_emmc_phy_parse_param_dt
.subsections_via_symbols
