	.file	"extr_xhci-mtk.c_xhci_mtk_clks_get.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"sys_ck"
.LC1:
	.string	"fail to get sys_ck\n"
.LC2:
	.string	"xhci_ck"
.LC3:
	.string	"ref_ck"
.LC4:
	.string	"mcu_ck"
.LC5:
	.string	"dma_ck"
	.text
	.p2align 4
	.type	xhci_mtk_clks_get, @function
xhci_mtk_clks_get:
.LFB0:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	lea	rsi, .LC0[rip]
	push	rbx
	.cfi_def_cfa_offset 24
	.cfi_offset 3, -24
	mov	rbx, rdi
	sub	rsp, 8
	.cfi_def_cfa_offset 32
	mov	rbp, QWORD PTR 40[rdi]
	mov	rdi, rbp
	call	devm_clk_get@PLT
	mov	QWORD PTR 32[rbx], rax
	mov	rdi, rax
	call	IS_ERR@PLT
	test	rax, rax
	jne	.L8
	mov	rdi, rbp
	lea	rsi, .LC2[rip]
	call	devm_clk_get_optional@PLT
	mov	QWORD PTR 24[rbx], rax
	mov	rdi, rax
	call	IS_ERR@PLT
	test	rax, rax
	jne	.L9
	mov	rdi, rbp
	lea	rsi, .LC3[rip]
	call	devm_clk_get_optional@PLT
	mov	QWORD PTR 16[rbx], rax
	mov	rdi, rax
	call	IS_ERR@PLT
	test	rax, rax
	jne	.L10
	mov	rdi, rbp
	lea	rsi, .LC4[rip]
	call	devm_clk_get_optional@PLT
	mov	QWORD PTR 8[rbx], rax
	mov	rdi, rax
	call	IS_ERR@PLT
	test	rax, rax
	jne	.L11
	mov	rdi, rbp
	lea	rsi, .LC5[rip]
	call	devm_clk_get_optional@PLT
	mov	QWORD PTR [rbx], rax
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	mov	rdi, rax
	pop	rbx
	.cfi_def_cfa_offset 16
	pop	rbp
	.cfi_def_cfa_offset 8
	jmp	PTR_ERR_OR_ZERO@PLT
	.p2align 4,,10
	.p2align 3
.L9:
	.cfi_restore_state
	mov	rdi, QWORD PTR 24[rbx]
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	pop	rbx
	.cfi_def_cfa_offset 16
	pop	rbp
	.cfi_def_cfa_offset 8
	jmp	PTR_ERR@PLT
	.p2align 4,,10
	.p2align 3
.L8:
	.cfi_restore_state
	mov	rdi, rbp
	lea	rsi, .LC1[rip]
	call	dev_err@PLT
	mov	rdi, QWORD PTR 32[rbx]
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	pop	rbx
	.cfi_def_cfa_offset 16
	pop	rbp
	.cfi_def_cfa_offset 8
	jmp	PTR_ERR@PLT
	.p2align 4,,10
	.p2align 3
.L11:
	.cfi_restore_state
	mov	rdi, QWORD PTR 8[rbx]
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	pop	rbx
	.cfi_def_cfa_offset 16
	pop	rbp
	.cfi_def_cfa_offset 8
	jmp	PTR_ERR@PLT
	.p2align 4,,10
	.p2align 3
.L10:
	.cfi_restore_state
	mov	rdi, QWORD PTR 16[rbx]
	add	rsp, 8
	.cfi_def_cfa_offset 24
	pop	rbx
	.cfi_def_cfa_offset 16
	pop	rbp
	.cfi_def_cfa_offset 8
	jmp	PTR_ERR@PLT
	.cfi_endproc
.LFE0:
	.size	xhci_mtk_clks_get, .-xhci_mtk_clks_get
	.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_xhci-mtk.c_xhci_mtk_clks_get.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"sys_ck\000"
	.align	2
.LC1:
	.ascii	"fail to get sys_ck\012\000"
	.align	2
.LC2:
	.ascii	"xhci_ck\000"
	.align	2
.LC3:
	.ascii	"ref_ck\000"
	.align	2
.LC4:
	.ascii	"mcu_ck\000"
	.align	2
.LC5:
	.ascii	"dma_ck\000"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	xhci_mtk_clks_get, %function
xhci_mtk_clks_get:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, lr}
	ldr	r5, [r0, #20]
	mov	r4, r0
	ldr	r1, .L12
	mov	r0, r5
	bl	devm_clk_get
	str	r0, [r4, #16]
	bl	IS_ERR
	cmp	r0, #0
	bne	.L8
	ldr	r1, .L12+4
	mov	r0, r5
	bl	devm_clk_get_optional
	str	r0, [r4, #12]
	bl	IS_ERR
	cmp	r0, #0
	bne	.L9
	ldr	r1, .L12+8
	mov	r0, r5
	bl	devm_clk_get_optional
	str	r0, [r4, #8]
	bl	IS_ERR
	cmp	r0, #0
	bne	.L10
	ldr	r1, .L12+12
	mov	r0, r5
	bl	devm_clk_get_optional
	str	r0, [r4, #4]
	bl	IS_ERR
	cmp	r0, #0
	bne	.L11
	mov	r0, r5
	ldr	r1, .L12+16
	bl	devm_clk_get_optional
	str	r0, [r4]
	pop	{r4, r5, r6, lr}
	b	PTR_ERR_OR_ZERO
.L9:
	ldr	r0, [r4, #12]
	pop	{r4, r5, r6, lr}
	b	PTR_ERR
.L8:
	mov	r0, r5
	ldr	r1, .L12+20
	bl	dev_err
	ldr	r0, [r4, #16]
	pop	{r4, r5, r6, lr}
	b	PTR_ERR
.L11:
	ldr	r0, [r4, #4]
	pop	{r4, r5, r6, lr}
	b	PTR_ERR
.L10:
	ldr	r0, [r4, #8]
	pop	{r4, r5, r6, lr}
	b	PTR_ERR
.L13:
	.align	2
.L12:
	.word	.LC0
	.word	.LC2
	.word	.LC3
	.word	.LC4
	.word	.LC5
	.word	.LC1
	.size	xhci_mtk_clks_get, .-xhci_mtk_clks_get
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
