	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ufs_qcom_phy_init_clks         ## -- Begin function ufs_qcom_phy_init_clks
	.p2align	4, 0x90
_ufs_qcom_phy_init_clks:                ## @ufs_qcom_phy_init_clks
	.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	8(%rdi), %rax
	movl	(%rax), %edi
	leaq	L_.str(%rip), %rsi
	callq	_of_device_is_compatible
	testq	%rax, %rax
	je	LBB0_1
LBB0_3:
	movq	8(%rbx), %rdi
	leaq	20(%rbx), %rdx
	leaq	L_.str.3(%rip), %rsi
	callq	_ufs_qcom_phy_clk_get
	testl	%eax, %eax
	jne	LBB0_4
## %bb.5:
	movq	8(%rbx), %rdi
	leaq	16(%rbx), %rdx
	leaq	L_.str.4(%rip), %rsi
	xorl	%ecx, %ecx
	callq	___ufs_qcom_phy_clk_get
	movq	8(%rbx), %rdi
	leaq	L_.str.5(%rip), %rsi
	movq	%rbx, %rdx
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	jmp	_ufs_qcom_phy_clk_get           ## TAILCALL
LBB0_1:
	movq	8(%rbx), %rdi
	leaq	28(%rbx), %rdx
	leaq	L_.str.1(%rip), %rsi
	callq	_ufs_qcom_phy_clk_get
	testl	%eax, %eax
	jne	LBB0_4
## %bb.2:
	movq	8(%rbx), %rdi
	leaq	24(%rbx), %rdx
	leaq	L_.str.2(%rip), %rsi
	callq	_ufs_qcom_phy_clk_get
	testl	%eax, %eax
	je	LBB0_3
LBB0_4:
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"qcom,msm8996-ufs-phy-qmp-14nm"

L_.str.1:                               ## @.str.1
	.asciz	"tx_iface_clk"

L_.str.2:                               ## @.str.2
	.asciz	"rx_iface_clk"

L_.str.3:                               ## @.str.3
	.asciz	"ref_clk_src"

L_.str.4:                               ## @.str.4
	.asciz	"ref_clk_parent"

L_.str.5:                               ## @.str.5
	.asciz	"ref_clk"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ufs_qcom_phy_init_clks         ; -- Begin function ufs_qcom_phy_init_clks
	.p2align	2
_ufs_qcom_phy_init_clks:                ; @ufs_qcom_phy_init_clks
	.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
	ldr	x8, [x0, #8]
	ldr	w0, [x8]
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	bl	_of_device_is_compatible
	cbz	x0, LBB0_3
LBB0_1:
	ldr	x0, [x19, #8]
	add	x2, x19, #20
Lloh2:
	adrp	x1, l_.str.3@PAGE
Lloh3:
	add	x1, x1, l_.str.3@PAGEOFF
	bl	_ufs_qcom_phy_clk_get
	cbnz	w0, LBB0_5
; %bb.2:
	ldr	x0, [x19, #8]
	add	x2, x19, #16
Lloh4:
	adrp	x1, l_.str.4@PAGE
Lloh5:
	add	x1, x1, l_.str.4@PAGEOFF
	mov	w3, #0
	bl	___ufs_qcom_phy_clk_get
	ldr	x0, [x19, #8]
Lloh6:
	adrp	x1, l_.str.5@PAGE
Lloh7:
	add	x1, x1, l_.str.5@PAGEOFF
	mov	x2, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_ufs_qcom_phy_clk_get
LBB0_3:
	ldr	x0, [x19, #8]
	add	x2, x19, #28
Lloh8:
	adrp	x1, l_.str.1@PAGE
Lloh9:
	add	x1, x1, l_.str.1@PAGEOFF
	bl	_ufs_qcom_phy_clk_get
	cbnz	w0, LBB0_5
; %bb.4:
	ldr	x0, [x19, #8]
	add	x2, x19, #24
Lloh10:
	adrp	x1, l_.str.2@PAGE
Lloh11:
	add	x1, x1, l_.str.2@PAGEOFF
	bl	_ufs_qcom_phy_clk_get
	cbz	w0, LBB0_1
LBB0_5:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpAdd	Lloh10, Lloh11
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"qcom,msm8996-ufs-phy-qmp-14nm"

l_.str.1:                               ; @.str.1
	.asciz	"tx_iface_clk"

l_.str.2:                               ; @.str.2
	.asciz	"rx_iface_clk"

l_.str.3:                               ; @.str.3
	.asciz	"ref_clk_src"

l_.str.4:                               ; @.str.4
	.asciz	"ref_clk_parent"

l_.str.5:                               ; @.str.5
	.asciz	"ref_clk"

.subsections_via_symbols
