	.file	"extr_phy-rcar-gen3-usb3.c_rcar_gen3_phy_usb3_probe.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.8,"aMS",@progbits,1
	.align 8
.LC0:
	.string	"This driver needs device tree\n"
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC1:
	.string	"usb3s_clk"
.LC2:
	.string	"usb_extal"
	.section	.rodata.str1.8
	.align 8
.LC3:
	.string	"This driver needs usb3s_clk and/or usb_extal\n"
	.section	.rodata.str1.1
.LC4:
	.string	"Failed to create USB3 PHY\n"
.LC5:
	.string	"renesas,ssc-range"
	.section	.rodata.str1.8
	.align 8
.LC6:
	.string	"Failed to register PHY provider\n"
	.text
	.p2align 4
	.type	rcar_gen3_phy_usb3_probe, @function
rcar_gen3_phy_usb3_probe:
.LFB0:
	.cfi_startproc
	endbr64
	push	r13
	.cfi_def_cfa_offset 16
	.cfi_offset 13, -16
	push	r12
	.cfi_def_cfa_offset 24
	.cfi_offset 12, -24
	push	rbp
	.cfi_def_cfa_offset 32
	.cfi_offset 6, -32
	mov	eax, DWORD PTR [rdi]
	mov	rbp, rdi
	test	eax, eax
	je	.L19
	mov	edx, DWORD PTR GFP_KERNEL[rip]
	mov	esi, 32
	call	devm_kzalloc@PLT
	mov	r12, rax
	test	rax, rax
	je	.L20
	mov	esi, DWORD PTR IORESOURCE_MEM[rip]
	xor	edx, edx
	mov	rdi, rbp
	call	platform_get_resource@PLT
	mov	rdi, rbp
	mov	rsi, rax
	call	devm_ioremap_resource@PLT
	mov	QWORD PTR 24[r12], rax
	mov	rdi, rax
	call	IS_ERR@PLT
	test	rax, rax
	jne	.L21
	mov	rdi, rbp
	lea	rsi, .LC1[rip]
	call	devm_clk_get@PLT
	mov	rdi, rax
	mov	r13, rax
	call	IS_ERR@PLT
	test	rax, rax
	je	.L22
.L7:
	mov	rdi, rbp
	lea	rsi, .LC2[rip]
	call	devm_clk_get@PLT
	mov	rdi, rax
	mov	r13, rax
	call	IS_ERR@PLT
	test	rax, rax
	je	.L23
.L10:
	cmp	QWORD PTR [r12], 0
	je	.L24
	mov	rdi, rbp
	call	pm_runtime_enable@PLT
	xor	esi, esi
	mov	rdi, rbp
	lea	rdx, rcar_gen3_phy_usb3_ops[rip]
	call	devm_phy_create@PLT
	mov	QWORD PTR 8[r12], rax
	mov	rdi, rax
	call	IS_ERR@PLT
	test	rax, rax
	jne	.L25
	mov	edi, DWORD PTR 0[rbp]
	lea	rdx, 16[r12]
	lea	rsi, .LC5[rip]
	call	of_property_read_u32@PLT
	mov	rsi, r12
	mov	rdi, rbp
	call	platform_set_drvdata@PLT
	mov	rdi, QWORD PTR 8[r12]
	mov	rsi, r12
	xor	r12d, r12d
	call	phy_set_drvdata@PLT
	mov	esi, DWORD PTR of_phy_simple_xlate[rip]
	mov	rdi, rbp
	call	devm_of_phy_provider_register@PLT
	mov	rdi, rax
	mov	r13, rax
	call	IS_ERR@PLT
	test	rax, rax
	je	.L1
	lea	rsi, .LC6[rip]
	mov	rdi, rbp
	call	dev_err@PLT
	mov	rdi, r13
	call	PTR_ERR@PLT
	mov	r12d, eax
	jmp	.L13
	.p2align 4,,10
	.p2align 3
.L20:
	mov	r12d, DWORD PTR ENOMEM[rip]
	neg	r12d
.L1:
	mov	eax, r12d
	pop	rbp
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	pop	r12
	.cfi_def_cfa_offset 16
	pop	r13
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L19:
	.cfi_restore_state
	lea	rsi, .LC0[rip]
	call	dev_err@PLT
	mov	r12d, DWORD PTR EINVAL[rip]
	pop	rbp
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	neg	r12d
	mov	eax, r12d
	pop	r12
	.cfi_def_cfa_offset 16
	pop	r13
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L24:
	.cfi_restore_state
	lea	rsi, .LC3[rip]
	mov	rdi, rbp
	call	dev_err@PLT
	mov	r12d, DWORD PTR EINVAL[rip]
	neg	r12d
.L13:
	mov	rdi, rbp
	call	pm_runtime_disable@PLT
	mov	eax, r12d
	pop	rbp
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	pop	r12
	.cfi_def_cfa_offset 16
	pop	r13
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L21:
	.cfi_restore_state
	mov	rdi, QWORD PTR 24[r12]
	pop	rbp
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	pop	r12
	.cfi_def_cfa_offset 16
	pop	r13
	.cfi_def_cfa_offset 8
	jmp	PTR_ERR@PLT
	.p2align 4,,10
	.p2align 3
.L22:
	.cfi_restore_state
	mov	rdi, r13
	call	clk_prepare_enable@PLT
	test	eax, eax
	jne	.L7
	mov	rdi, r13
	call	clk_get_rate@PLT
	mov	rdi, r13
	test	eax, eax
	setne	al
	movzx	eax, al
	mov	DWORD PTR [r12], eax
	call	clk_disable_unprepare@PLT
	jmp	.L7
	.p2align 4,,10
	.p2align 3
.L23:
	mov	rdi, r13
	call	clk_prepare_enable@PLT
	test	eax, eax
	jne	.L10
	mov	rdi, r13
	call	clk_get_rate@PLT
	mov	rdi, r13
	test	eax, eax
	setne	al
	movzx	eax, al
	mov	DWORD PTR 4[r12], eax
	call	clk_disable_unprepare@PLT
	jmp	.L10
	.p2align 4,,10
	.p2align 3
.L25:
	lea	rsi, .LC4[rip]
	mov	rdi, rbp
	call	dev_err@PLT
	mov	rdi, QWORD PTR 8[r12]
	call	PTR_ERR@PLT
	mov	r12d, eax
	jmp	.L13
	.cfi_endproc
.LFE0:
	.size	rcar_gen3_phy_usb3_probe, .-rcar_gen3_phy_usb3_probe
	.comm	rcar_gen3_phy_usb3_ops,4,4
	.comm	of_phy_simple_xlate,4,4
	.comm	IORESOURCE_MEM,4,4
	.comm	GFP_KERNEL,4,4
	.comm	ENOMEM,4,4
	.comm	EINVAL,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_phy-rcar-gen3-usb3.c_rcar_gen3_phy_usb3_probe.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"This driver needs device tree\012\000"
	.align	2
.LC1:
	.ascii	"usb3s_clk\000"
	.align	2
.LC2:
	.ascii	"usb_extal\000"
	.align	2
.LC3:
	.ascii	"This driver needs usb3s_clk and/or usb_extal\012\000"
	.align	2
.LC4:
	.ascii	"Failed to create USB3 PHY\012\000"
	.align	2
.LC5:
	.ascii	"renesas,ssc-range\000"
	.align	2
.LC6:
	.ascii	"Failed to register PHY provider\012\000"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	rcar_gen3_phy_usb3_probe, %function
rcar_gen3_phy_usb3_probe:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	ldr	r3, [r0]
	push	{r4, r5, r6, lr}
	cmp	r3, #0
	beq	.L20
	ldr	r3, .L27
	mov	r1, #20
	ldr	r2, [r3]
	mov	r4, r0
	bl	devm_kzalloc
	subs	r5, r0, #0
	beq	.L21
	ldr	r3, .L27+4
	mov	r2, #0
	ldr	r1, [r3]
	mov	r0, r4
	bl	platform_get_resource
	mov	r1, r0
	mov	r0, r4
	bl	devm_ioremap_resource
	str	r0, [r5, #16]
	bl	IS_ERR
	cmp	r0, #0
	bne	.L22
	ldr	r1, .L27+8
	mov	r0, r4
	bl	devm_clk_get
	mov	r6, r0
	bl	IS_ERR
	cmp	r0, #0
	beq	.L23
.L7:
	ldr	r1, .L27+12
	mov	r0, r4
	bl	devm_clk_get
	mov	r6, r0
	bl	IS_ERR
	cmp	r0, #0
	beq	.L24
.L10:
	ldr	r3, [r5]
	cmp	r3, #0
	bne	.L12
	ldr	r3, [r5, #4]
	cmp	r3, #0
	beq	.L25
.L12:
	mov	r0, r4
	bl	pm_runtime_enable
	mov	r1, #0
	ldr	r2, .L27+16
	mov	r0, r4
	bl	devm_phy_create
	str	r0, [r5, #8]
	bl	IS_ERR
	cmp	r0, #0
	bne	.L26
	add	r2, r5, #12
	ldr	r1, .L27+20
	ldr	r0, [r4]
	bl	of_property_read_u32
	mov	r1, r5
	mov	r0, r4
	bl	platform_set_drvdata
	mov	r1, r5
	ldr	r0, [r5, #8]
	bl	phy_set_drvdata
	ldr	r3, .L27+24
	mov	r0, r4
	ldr	r1, [r3]
	bl	devm_of_phy_provider_register
	mov	r6, r0
	bl	IS_ERR
	subs	r5, r0, #0
	beq	.L1
	ldr	r1, .L27+28
	mov	r0, r4
	bl	dev_err
	mov	r0, r6
	bl	PTR_ERR
	mov	r5, r0
	b	.L13
.L21:
	ldr	r3, .L27+32
	ldr	r5, [r3]
	rsb	r5, r5, #0
.L1:
	mov	r0, r5
	pop	{r4, r5, r6, pc}
.L20:
	ldr	r1, .L27+36
	bl	dev_err
	ldr	r3, .L27+40
	ldr	r5, [r3]
	rsb	r5, r5, #0
	mov	r0, r5
	pop	{r4, r5, r6, pc}
.L26:
	ldr	r1, .L27+44
	mov	r0, r4
	bl	dev_err
	ldr	r0, [r5, #8]
	bl	PTR_ERR
	mov	r5, r0
.L13:
	mov	r0, r4
	bl	pm_runtime_disable
	mov	r0, r5
	pop	{r4, r5, r6, pc}
.L22:
	ldr	r0, [r5, #16]
	pop	{r4, r5, r6, lr}
	b	PTR_ERR
.L24:
	mov	r0, r6
	bl	clk_prepare_enable
	cmp	r0, #0
	bne	.L10
	mov	r0, r6
	bl	clk_get_rate
	subs	r3, r0, #0
	movne	r3, #1
	mov	r0, r6
	str	r3, [r5, #4]
	bl	clk_disable_unprepare
	b	.L10
.L23:
	mov	r0, r6
	bl	clk_prepare_enable
	cmp	r0, #0
	bne	.L7
	mov	r0, r6
	bl	clk_get_rate
	subs	r3, r0, #0
	movne	r3, #1
	mov	r0, r6
	str	r3, [r5]
	bl	clk_disable_unprepare
	b	.L7
.L25:
	mov	r0, r4
	ldr	r1, .L27+48
	bl	dev_err
	ldr	r3, .L27+40
	ldr	r5, [r3]
	rsb	r5, r5, #0
	b	.L13
.L28:
	.align	2
.L27:
	.word	GFP_KERNEL
	.word	IORESOURCE_MEM
	.word	.LC1
	.word	.LC2
	.word	rcar_gen3_phy_usb3_ops
	.word	.LC5
	.word	of_phy_simple_xlate
	.word	.LC6
	.word	ENOMEM
	.word	.LC0
	.word	EINVAL
	.word	.LC4
	.word	.LC3
	.size	rcar_gen3_phy_usb3_probe, .-rcar_gen3_phy_usb3_probe
	.comm	rcar_gen3_phy_usb3_ops,4,4
	.comm	of_phy_simple_xlate,4,4
	.comm	IORESOURCE_MEM,4,4
	.comm	GFP_KERNEL,4,4
	.comm	ENOMEM,4,4
	.comm	EINVAL,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
