	.file	"extr_phy-stih407-usb.c_stih407_usb2_picophy_probe.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"global"
.LC1:
	.string	"failed to ctrl picoPHY reset\n"
.LC2:
	.string	"port"
.LC3:
	.string	"st,syscfg"
.LC4:
	.string	"No syscfg phandle specified\n"
	.section	.rodata.str1.8,"aMS",@progbits,1
	.align 8
.LC5:
	.string	"can't get phyparam offset (%d)\n"
	.align 8
.LC6:
	.string	"can't get phyctrl offset (%d)\n"
	.align 8
.LC7:
	.string	"failed to create Display Port PHY\n"
	.align 8
.LC8:
	.string	"STiH407 USB Generic picoPHY driver probed!"
	.text
	.p2align 4
	.type	stih407_usb2_picophy_probe, @function
stih407_usb2_picophy_probe:
.LFB0:
	.cfi_startproc
	endbr64
	push	r14
	.cfi_def_cfa_offset 16
	.cfi_offset 14, -16
	mov	esi, 48
	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
	sub	rsp, 8
	.cfi_def_cfa_offset 48
	mov	edx, DWORD PTR GFP_KERNEL[rip]
	mov	r14, QWORD PTR [rdi]
	call	devm_kzalloc@PLT
	mov	r13d, DWORD PTR ENOMEM[rip]
	neg	r13d
	test	rax, rax
	je	.L1
	mov	QWORD PTR 40[rax], rbp
	mov	rsi, rax
	mov	rdi, rbp
	mov	r12, rax
	call	dev_set_drvdata@PLT
	mov	rdi, rbp
	lea	rsi, .LC0[rip]
	call	devm_reset_control_get_shared@PLT
	mov	QWORD PTR 32[r12], rax
	mov	rdi, rax
	call	IS_ERR@PLT
	test	rax, rax
	jne	.L14
	mov	rdi, rbp
	lea	rsi, .LC2[rip]
	call	devm_reset_control_get_exclusive@PLT
	mov	QWORD PTR 24[r12], rax
	mov	rdi, rax
	call	IS_ERR@PLT
	test	rax, rax
	jne	.L15
	mov	rdi, QWORD PTR 24[r12]
	call	reset_control_assert@PLT
	mov	rdi, r14
	lea	rsi, .LC3[rip]
	call	syscon_regmap_lookup_by_phandle@PLT
	mov	QWORD PTR 16[r12], rax
	mov	rdi, rax
	call	IS_ERR@PLT
	test	rax, rax
	jne	.L16
	mov	edx, DWORD PTR PHYPARAM_REG[rip]
	lea	rcx, 12[r12]
	lea	rsi, .LC3[rip]
	mov	rdi, r14
	call	of_property_read_u32_index@PLT
	mov	r13d, eax
	test	eax, eax
	jne	.L17
	mov	edx, DWORD PTR PHYCTRL_REG[rip]
	lea	rcx, 8[r12]
	lea	rsi, .LC3[rip]
	mov	rdi, r14
	call	of_property_read_u32_index@PLT
	mov	r13d, eax
	test	eax, eax
	jne	.L18
	xor	esi, esi
	mov	rdi, rbp
	lea	rdx, stih407_usb2_picophy_data[rip]
	call	devm_phy_create@PLT
	mov	rdi, rax
	mov	r14, rax
	call	IS_ERR@PLT
	test	rax, rax
	jne	.L19
	mov	QWORD PTR [r12], r14
	mov	rsi, r12
	mov	rdi, r14
	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	r12, rax
	call	IS_ERR@PLT
	test	rax, rax
	jne	.L20
	lea	rsi, .LC8[rip]
	mov	rdi, rbp
	call	dev_info@PLT
.L1:
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	mov	eax, r13d
	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
	lea	rsi, .LC1[rip]
	xor	eax, eax
	call	dev_err@PLT
	mov	rdi, QWORD PTR 32[r12]
.L12:
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	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
	jmp	PTR_ERR@PLT
	.p2align 4,,10
	.p2align 3
.L16:
	.cfi_restore_state
	mov	rdi, rbp
	lea	rsi, .LC4[rip]
	xor	eax, eax
	call	dev_err@PLT
	mov	rdi, QWORD PTR 16[r12]
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	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
	jmp	PTR_ERR@PLT
	.p2align 4,,10
	.p2align 3
.L15:
	.cfi_restore_state
	mov	rdi, rbp
	lea	rsi, .LC1[rip]
	xor	eax, eax
	call	dev_err@PLT
	mov	rdi, QWORD PTR 24[r12]
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	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
	jmp	PTR_ERR@PLT
	.p2align 4,,10
	.p2align 3
.L17:
	.cfi_restore_state
	mov	edx, eax
	lea	rsi, .LC5[rip]
	mov	rdi, rbp
	xor	eax, eax
	call	dev_err@PLT
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L20:
	mov	rdi, r12
	jmp	.L12
	.p2align 4,,10
	.p2align 3
.L18:
	mov	edx, eax
	lea	rsi, .LC6[rip]
	mov	rdi, rbp
	xor	eax, eax
	call	dev_err@PLT
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L19:
	mov	rdi, rbp
	lea	rsi, .LC7[rip]
	xor	eax, eax
	call	dev_err@PLT
	mov	rdi, r14
	jmp	.L12
	.cfi_endproc
.LFE0:
	.size	stih407_usb2_picophy_probe, .-stih407_usb2_picophy_probe
	.comm	stih407_usb2_picophy_data,4,4
	.comm	of_phy_simple_xlate,4,4
	.comm	PHYPARAM_REG,4,4
	.comm	PHYCTRL_REG,4,4
	.comm	GFP_KERNEL,4,4
	.comm	ENOMEM,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-stih407-usb.c_stih407_usb2_picophy_probe.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"global\000"
	.align	2
.LC1:
	.ascii	"failed to ctrl picoPHY reset\012\000"
	.align	2
.LC2:
	.ascii	"port\000"
	.align	2
.LC3:
	.ascii	"st,syscfg\000"
	.align	2
.LC4:
	.ascii	"No syscfg phandle specified\012\000"
	.align	2
.LC5:
	.ascii	"can't get phyparam offset (%d)\012\000"
	.align	2
.LC6:
	.ascii	"can't get phyctrl offset (%d)\012\000"
	.align	2
.LC7:
	.ascii	"failed to create Display Port PHY\012\000"
	.align	2
.LC8:
	.ascii	"STiH407 USB Generic picoPHY driver probed!\000"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	stih407_usb2_picophy_probe, %function
stih407_usb2_picophy_probe:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	ldr	r3, .L21
	push	{r4, r5, r6, r7, r8, lr}
	mov	r1, #28
	ldr	r2, [r3]
	mov	r6, r0
	ldr	r7, [r0]
	bl	devm_kzalloc
	subs	r4, r0, #0
	beq	.L13
	mov	r1, r4
	mov	r0, r6
	str	r6, [r4, #24]
	bl	dev_set_drvdata
	ldr	r1, .L21+4
	mov	r0, r6
	bl	devm_reset_control_get_shared
	str	r0, [r4, #20]
	bl	IS_ERR
	cmp	r0, #0
	bne	.L14
	ldr	r1, .L21+8
	mov	r0, r6
	bl	devm_reset_control_get_exclusive
	str	r0, [r4, #16]
	bl	IS_ERR
	cmp	r0, #0
	bne	.L15
	ldr	r0, [r4, #16]
	bl	reset_control_assert
	ldr	r1, .L21+12
	mov	r0, r7
	bl	syscon_regmap_lookup_by_phandle
	str	r0, [r4, #12]
	bl	IS_ERR
	cmp	r0, #0
	bne	.L16
	ldr	r2, .L21+16
	mov	r0, r7
	ldr	r2, [r2]
	ldr	r1, .L21+12
	add	r3, r4, #8
	bl	of_property_read_u32_index
	subs	r5, r0, #0
	bne	.L17
	ldr	r3, .L21+20
	mov	r0, r7
	ldr	r2, [r3]
	ldr	r1, .L21+12
	add	r3, r4, #4
	bl	of_property_read_u32_index
	subs	r5, r0, #0
	bne	.L18
	mov	r1, r5
	ldr	r2, .L21+24
	mov	r0, r6
	bl	devm_phy_create
	mov	r5, r0
	bl	IS_ERR
	cmp	r0, #0
	bne	.L19
	mov	r1, r4
	str	r5, [r4]
	mov	r0, r5
	bl	phy_set_drvdata
	ldr	r3, .L21+28
	mov	r0, r6
	ldr	r1, [r3]
	bl	devm_of_phy_provider_register
	mov	r4, r0
	bl	IS_ERR
	subs	r5, r0, #0
	bne	.L20
	mov	r0, r6
	ldr	r1, .L21+32
	bl	dev_info
	b	.L1
.L14:
	mov	r0, r6
	ldr	r1, .L21+36
	bl	dev_err
	ldr	r0, [r4, #20]
	pop	{r4, r5, r6, r7, r8, lr}
	b	PTR_ERR
.L13:
	ldr	r3, .L21+40
	ldr	r5, [r3]
	rsb	r5, r5, #0
.L1:
	mov	r0, r5
	pop	{r4, r5, r6, r7, r8, pc}
.L16:
	mov	r0, r6
	ldr	r1, .L21+44
	bl	dev_err
	ldr	r0, [r4, #12]
	pop	{r4, r5, r6, r7, r8, lr}
	b	PTR_ERR
.L15:
	mov	r0, r6
	ldr	r1, .L21+36
	bl	dev_err
	ldr	r0, [r4, #16]
	pop	{r4, r5, r6, r7, r8, lr}
	b	PTR_ERR
.L17:
	mov	r0, r6
	mov	r2, r5
	ldr	r1, .L21+48
	bl	dev_err
	b	.L1
.L20:
	mov	r0, r4
	pop	{r4, r5, r6, r7, r8, lr}
	b	PTR_ERR
.L18:
	mov	r0, r6
	mov	r2, r5
	ldr	r1, .L21+52
	bl	dev_err
	b	.L1
.L19:
	mov	r0, r6
	ldr	r1, .L21+56
	bl	dev_err
	mov	r0, r5
	pop	{r4, r5, r6, r7, r8, lr}
	b	PTR_ERR
.L22:
	.align	2
.L21:
	.word	GFP_KERNEL
	.word	.LC0
	.word	.LC2
	.word	.LC3
	.word	PHYPARAM_REG
	.word	PHYCTRL_REG
	.word	stih407_usb2_picophy_data
	.word	of_phy_simple_xlate
	.word	.LC8
	.word	.LC1
	.word	ENOMEM
	.word	.LC4
	.word	.LC5
	.word	.LC6
	.word	.LC7
	.size	stih407_usb2_picophy_probe, .-stih407_usb2_picophy_probe
	.comm	stih407_usb2_picophy_data,4,4
	.comm	of_phy_simple_xlate,4,4
	.comm	PHYPARAM_REG,4,4
	.comm	PHYCTRL_REG,4,4
	.comm	GFP_KERNEL,4,4
	.comm	ENOMEM,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
