	.file	"extr_ehci-exynos.c_exynos_ehci_probe.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"Unable to create HCD\n"
.LC1:
	.string	"usbhost"
.LC2:
	.string	"Failed to get usbhost clock\n"
.LC3:
	.string	"Failed to get IRQ\n"
.LC4:
	.string	"Failed to enable USB phy\n"
.LC5:
	.string	"Failed to add USB HCD\n"
	.text
	.p2align 4
	.type	exynos_ehci_probe, @function
exynos_ehci_probe:
.LFB0:
	.cfi_startproc
	endbr64
	push	r14
	.cfi_def_cfa_offset 16
	.cfi_offset 14, -16
	push	r13
	.cfi_def_cfa_offset 24
	.cfi_offset 13, -24
	push	r12
	.cfi_def_cfa_offset 32
	.cfi_offset 12, -32
	push	rbp
	.cfi_def_cfa_offset 40
	.cfi_offset 6, -40
	mov	rbp, rdi
	mov	edi, 32
	push	rbx
	.cfi_def_cfa_offset 48
	.cfi_offset 3, -48
	call	DMA_BIT_MASK@PLT
	mov	rdi, rbp
	mov	esi, eax
	call	dma_coerce_mask_and_coherent@PLT
	mov	r12d, eax
	test	eax, eax
	je	.L14
.L1:
	pop	rbx
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	mov	eax, r12d
	pop	rbp
	.cfi_def_cfa_offset 32
	pop	r12
	.cfi_def_cfa_offset 24
	pop	r13
	.cfi_def_cfa_offset 16
	pop	r14
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L14:
	.cfi_restore_state
	mov	rdi, rbp
	call	exynos_setup_vbus_gpio@PLT
	mov	rdi, rbp
	call	dev_name@PLT
	mov	rsi, rbp
	lea	rdi, exynos_ehci_hc_driver[rip]
	mov	edx, eax
	call	usb_create_hcd@PLT
	mov	r13, rax
	test	rax, rax
	je	.L15
	mov	rdi, rax
	call	to_exynos_ehci@PLT
	mov	rdi, rbp
	mov	rsi, rax
	mov	rbx, rax
	call	exynos_ehci_get_phy@PLT
	mov	r12d, eax
	test	eax, eax
	je	.L16
.L4:
	mov	rdi, r13
	call	usb_put_hcd@PLT
	pop	rbx
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	mov	eax, r12d
	pop	rbp
	.cfi_def_cfa_offset 32
	pop	r12
	.cfi_def_cfa_offset 24
	pop	r13
	.cfi_def_cfa_offset 16
	pop	r14
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L16:
	.cfi_restore_state
	mov	rdi, rbp
	lea	rsi, .LC1[rip]
	call	devm_clk_get@PLT
	mov	DWORD PTR [rbx], eax
	mov	edi, eax
	call	IS_ERR@PLT
	test	rax, rax
	jne	.L17
	mov	edi, DWORD PTR [rbx]
	call	clk_prepare_enable@PLT
	mov	r12d, eax
	test	eax, eax
	jne	.L4
	mov	esi, DWORD PTR IORESOURCE_MEM[rip]
	xor	edx, edx
	mov	rdi, rbp
	call	platform_get_resource@PLT
	mov	rdi, rbp
	mov	rsi, rax
	mov	r12, rax
	call	devm_ioremap_resource@PLT
	mov	DWORD PTR 4[r13], eax
	mov	edi, eax
	call	IS_ERR@PLT
	test	rax, rax
	jne	.L18
	mov	eax, DWORD PTR [r12]
	mov	rdi, r12
	mov	DWORD PTR 12[r13], eax
	call	resource_size@PLT
	xor	esi, esi
	mov	rdi, rbp
	mov	DWORD PTR 8[r13], eax
	call	platform_get_irq@PLT
	mov	r14d, eax
	test	eax, eax
	je	.L19
	mov	rdi, rbp
	call	exynos_ehci_phy_enable@PLT
	mov	r12d, eax
	test	eax, eax
	jne	.L20
	mov	rdi, r13
	call	hcd_to_ehci@PLT
	mov	edi, DWORD PTR 4[r13]
	cmp	QWORD PTR 16[rbx], 0
	mov	DWORD PTR [rax], edi
	mov	rax, QWORD PTR 0[rbp]
	mov	QWORD PTR 8[rbx], rax
	je	.L10
	mov	QWORD PTR 0[rbp], 0
.L10:
	call	EHCI_INSNREG00@PLT
	mov	edi, DWORD PTR EHCI_INSNREG00_ENABLE_DMA_BURST[rip]
	mov	esi, eax
	call	writel@PLT
	mov	edx, DWORD PTR IRQF_SHARED[rip]
	mov	esi, r14d
	mov	rdi, r13
	call	usb_add_hcd@PLT
	mov	r12d, eax
	test	eax, eax
	jne	.L21
	mov	edi, DWORD PTR 0[r13]
	call	device_wakeup_enable@PLT
	mov	rsi, r13
	mov	rdi, rbp
	call	platform_set_drvdata@PLT
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L15:
	lea	rsi, .LC0[rip]
	mov	rdi, rbp
	call	dev_err@PLT
	mov	r12d, DWORD PTR ENOMEM[rip]
	neg	r12d
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L17:
	lea	rsi, .LC2[rip]
	mov	rdi, rbp
	call	dev_err@PLT
	mov	edi, DWORD PTR [rbx]
	call	PTR_ERR@PLT
	mov	r12d, eax
	jmp	.L4
	.p2align 4,,10
	.p2align 3
.L18:
	mov	edi, DWORD PTR 4[r13]
	call	PTR_ERR@PLT
	mov	r12d, eax
.L7:
	mov	edi, DWORD PTR [rbx]
	call	clk_disable_unprepare@PLT
	jmp	.L4
	.p2align 4,,10
	.p2align 3
.L19:
	lea	rsi, .LC3[rip]
	mov	rdi, rbp
	call	dev_err@PLT
	mov	r12d, DWORD PTR ENODEV[rip]
	neg	r12d
	jmp	.L7
.L20:
	lea	rsi, .LC4[rip]
	mov	rdi, rbp
	call	dev_err@PLT
	jmp	.L7
.L21:
	lea	rsi, .LC5[rip]
	mov	rdi, rbp
	call	dev_err@PLT
	mov	rdi, rbp
	call	exynos_ehci_phy_disable@PLT
	mov	rax, QWORD PTR 8[rbx]
	mov	QWORD PTR 0[rbp], rax
	jmp	.L7
	.cfi_endproc
.LFE0:
	.size	exynos_ehci_probe, .-exynos_ehci_probe
	.comm	exynos_ehci_hc_driver,4,4
	.comm	IRQF_SHARED,4,4
	.comm	IORESOURCE_MEM,4,4
	.comm	ENOMEM,4,4
	.comm	ENODEV,4,4
	.comm	EHCI_INSNREG00_ENABLE_DMA_BURST,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_ehci-exynos.c_exynos_ehci_probe.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"Unable to create HCD\012\000"
	.align	2
.LC1:
	.ascii	"usbhost\000"
	.align	2
.LC2:
	.ascii	"Failed to get usbhost clock\012\000"
	.align	2
.LC3:
	.ascii	"Failed to get IRQ\012\000"
	.align	2
.LC4:
	.ascii	"Failed to enable USB phy\012\000"
	.align	2
.LC5:
	.ascii	"Failed to add USB HCD\012\000"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	exynos_ehci_probe, %function
exynos_ehci_probe:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, lr}
	mov	r5, r0
	mov	r0, #32
	bl	DMA_BIT_MASK
	mov	r1, r0
	mov	r0, r5
	bl	dma_coerce_mask_and_coherent
	subs	r4, r0, #0
	beq	.L17
.L1:
	mov	r0, r4
	pop	{r4, r5, r6, r7, r8, pc}
.L17:
	mov	r0, r5
	bl	exynos_setup_vbus_gpio
	mov	r0, r5
	bl	dev_name
	mov	r1, r5
	mov	r2, r0
	ldr	r0, .L25
	bl	usb_create_hcd
	subs	r6, r0, #0
	beq	.L18
	bl	to_exynos_ehci
	mov	r7, r0
	mov	r0, r5
	mov	r1, r7
	bl	exynos_ehci_get_phy
	subs	r4, r0, #0
	beq	.L19
.L4:
	mov	r0, r6
	bl	usb_put_hcd
	mov	r0, r4
	pop	{r4, r5, r6, r7, r8, pc}
.L19:
	ldr	r1, .L25+4
	mov	r0, r5
	bl	devm_clk_get
	str	r0, [r7]
	bl	IS_ERR
	cmp	r0, #0
	bne	.L20
	ldr	r0, [r7]
	bl	clk_prepare_enable
	subs	r4, r0, #0
	bne	.L4
	ldr	r3, .L25+8
	mov	r2, r4
	ldr	r1, [r3]
	mov	r0, r5
	bl	platform_get_resource
	mov	r8, r0
	mov	r0, r5
	mov	r1, r8
	bl	devm_ioremap_resource
	str	r0, [r6, #4]
	bl	IS_ERR
	cmp	r0, #0
	bne	.L21
	ldr	r3, [r8]
	mov	r0, r8
	str	r3, [r6, #12]
	bl	resource_size
	mov	r1, r4
	str	r0, [r6, #8]
	mov	r0, r5
	bl	platform_get_irq
	subs	r8, r0, #0
	mov	r0, r5
	beq	.L22
	bl	exynos_ehci_phy_enable
	subs	r4, r0, #0
	bne	.L23
	mov	r0, r6
	bl	hcd_to_ehci
	ldr	r2, [r7, #8]
	ldr	r3, [r6, #4]
	cmp	r2, #0
	ldr	r2, [r5]
	str	r3, [r0]
	str	r2, [r7, #4]
	ldr	r2, .L25+12
	strne	r4, [r5]
	mov	r0, r3
	ldr	r4, [r2]
	bl	EHCI_INSNREG00
	mov	r1, r0
	mov	r0, r4
	bl	writel
	ldr	r3, .L25+16
	mov	r1, r8
	mov	r0, r6
	ldr	r2, [r3]
	bl	usb_add_hcd
	subs	r4, r0, #0
	bne	.L24
	ldr	r0, [r6]
	bl	device_wakeup_enable
	mov	r1, r6
	mov	r0, r5
	bl	platform_set_drvdata
	b	.L1
.L18:
	mov	r0, r5
	ldr	r1, .L25+20
	bl	dev_err
	ldr	r3, .L25+24
	ldr	r0, [r3]
	rsb	r4, r0, #0
	b	.L1
.L20:
	ldr	r1, .L25+28
	mov	r0, r5
	bl	dev_err
	ldr	r0, [r7]
	bl	PTR_ERR
	mov	r4, r0
	b	.L4
.L21:
	ldr	r0, [r6, #4]
	bl	PTR_ERR
	mov	r4, r0
.L7:
	ldr	r0, [r7]
	bl	clk_disable_unprepare
	b	.L4
.L22:
	ldr	r1, .L25+32
	bl	dev_err
	ldr	r3, .L25+36
	ldr	r0, [r3]
	rsb	r4, r0, #0
	b	.L7
.L23:
	mov	r0, r5
	ldr	r1, .L25+40
	bl	dev_err
	b	.L7
.L24:
	ldr	r1, .L25+44
	mov	r0, r5
	bl	dev_err
	mov	r0, r5
	bl	exynos_ehci_phy_disable
	ldr	r3, [r7, #4]
	str	r3, [r5]
	b	.L7
.L26:
	.align	2
.L25:
	.word	exynos_ehci_hc_driver
	.word	.LC1
	.word	IORESOURCE_MEM
	.word	EHCI_INSNREG00_ENABLE_DMA_BURST
	.word	IRQF_SHARED
	.word	.LC0
	.word	ENOMEM
	.word	.LC2
	.word	.LC3
	.word	ENODEV
	.word	.LC4
	.word	.LC5
	.size	exynos_ehci_probe, .-exynos_ehci_probe
	.comm	exynos_ehci_hc_driver,4,4
	.comm	IRQF_SHARED,4,4
	.comm	IORESOURCE_MEM,4,4
	.comm	ENOMEM,4,4
	.comm	ENODEV,4,4
	.comm	EHCI_INSNREG00_ENABLE_DMA_BURST,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
