	.file	"extr_ufs-hisi.c_ufs_hisi_link_startup_post_change.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	ufs_hisi_link_startup_post_change, @function
ufs_hisi_link_startup_post_change:
.LFB0:
	.cfi_startproc
	endbr64
	push	r12
	.cfi_def_cfa_offset 16
	.cfi_offset 12, -16
	push	rbp
	.cfi_def_cfa_offset 24
	.cfi_offset 6, -24
	mov	rbp, rdi
	sub	rsp, 8
	.cfi_def_cfa_offset 32
	call	ufshcd_get_variant@PLT
	mov	edi, 8260
	mov	r12, rax
	call	UIC_ARG_MIB@PLT
	xor	edx, edx
	mov	rdi, rbp
	mov	esi, eax
	call	ufshcd_dme_set@PLT
	mov	edi, 8261
	call	UIC_ARG_MIB@PLT
	xor	edx, edx
	mov	rdi, rbp
	mov	esi, eax
	call	ufshcd_dme_set@PLT
	mov	edi, 8256
	call	UIC_ARG_MIB@PLT
	mov	rdi, rbp
	mov	edx, 9
	mov	esi, eax
	call	ufshcd_dme_set@PLT
	mov	edx, DWORD PTR CLOCK_GATE_BYPASS[rip]
	mov	esi, DWORD PTR MASK_UFS_CLK_GATE_BYPASS[rip]
	mov	rdi, r12
	call	ufs_sys_ctrl_clr_bits@PLT
	mov	edx, DWORD PTR UFS_SYSCTRL[rip]
	mov	esi, DWORD PTR MASK_UFS_SYSCRTL_BYPASS[rip]
	mov	rdi, r12
	call	ufs_sys_ctrl_clr_bits@PLT
	mov	edi, 53402
	call	UIC_ARG_MIB@PLT
	mov	edx, -2147483648
	mov	rdi, rbp
	mov	esi, eax
	call	ufshcd_dme_set@PLT
	mov	edi, 53404
	call	UIC_ARG_MIB@PLT
	mov	rdi, rbp
	mov	edx, 5
	mov	esi, eax
	call	ufshcd_dme_set@PLT
	add	rsp, 8
	.cfi_def_cfa_offset 24
	xor	eax, eax
	pop	rbp
	.cfi_def_cfa_offset 16
	pop	r12
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE0:
	.size	ufs_hisi_link_startup_post_change, .-ufs_hisi_link_startup_post_change
	.comm	UFS_SYSCTRL,4,4
	.comm	MASK_UFS_SYSCRTL_BYPASS,4,4
	.comm	MASK_UFS_CLK_GATE_BYPASS,4,4
	.comm	CLOCK_GATE_BYPASS,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",@progbits
	.section	.note.gnu.property,"a"
	.align 8
	.long	 1f - 0f
	.long	 4f - 1f
	.long	 5
0:
	.string	 "GNU"
1:
	.align 8
	.long	 0xc0000002
	.long	 3f - 2f
2:
	.long	 0x3
3:
	.align 8
4:

	.arch armv5t
	.eabi_attribute 20, 1
	.eabi_attribute 21, 1
	.eabi_attribute 23, 3
	.eabi_attribute 24, 1
	.eabi_attribute 25, 1
	.eabi_attribute 26, 2
	.eabi_attribute 30, 2
	.eabi_attribute 34, 0
	.eabi_attribute 18, 4
	.file	"extr_ufs-hisi.c_ufs_hisi_link_startup_post_change.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	ufs_hisi_link_startup_post_change, %function
ufs_hisi_link_startup_post_change:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, lr}
	mov	r4, r0
	bl	ufshcd_get_variant
	mov	r5, r0
	ldr	r0, .L4
	bl	UIC_ARG_MIB
	mov	r2, #0
	mov	r1, r0
	mov	r0, r4
	bl	ufshcd_dme_set
	ldr	r0, .L4+4
	bl	UIC_ARG_MIB
	mov	r2, #0
	mov	r1, r0
	mov	r0, r4
	bl	ufshcd_dme_set
	mov	r0, #8256
	bl	UIC_ARG_MIB
	mov	r2, #9
	mov	r1, r0
	mov	r0, r4
	bl	ufshcd_dme_set
	ldr	r3, .L4+8
	ldr	r2, .L4+12
	ldr	r1, [r3]
	mov	r0, r5
	ldr	r2, [r2]
	bl	ufs_sys_ctrl_clr_bits
	ldr	r3, .L4+16
	ldr	r2, .L4+20
	ldr	r1, [r3]
	ldr	r2, [r2]
	mov	r0, r5
	bl	ufs_sys_ctrl_clr_bits
	ldr	r0, .L4+24
	bl	UIC_ARG_MIB
	mov	r2, #-2147483648
	mov	r1, r0
	mov	r0, r4
	bl	ufshcd_dme_set
	ldr	r0, .L4+28
	bl	UIC_ARG_MIB
	mov	r2, #5
	mov	r1, r0
	mov	r0, r4
	bl	ufshcd_dme_set
	mov	r0, #0
	pop	{r4, r5, r6, pc}
.L5:
	.align	2
.L4:
	.word	8260
	.word	8261
	.word	MASK_UFS_CLK_GATE_BYPASS
	.word	CLOCK_GATE_BYPASS
	.word	MASK_UFS_SYSCRTL_BYPASS
	.word	UFS_SYSCTRL
	.word	53402
	.word	53404
	.size	ufs_hisi_link_startup_post_change, .-ufs_hisi_link_startup_post_change
	.comm	UFS_SYSCTRL,4,4
	.comm	MASK_UFS_SYSCRTL_BYPASS,4,4
	.comm	MASK_UFS_CLK_GATE_BYPASS,4,4
	.comm	CLOCK_GATE_BYPASS,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
