	.file	"extr_phy-hix5hd2-sata.c_hix5hd2_sata_phy_probe.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"hisilicon,peripheral-syscon"
.LC1:
	.string	"failed to create PHY\n"
	.text
	.p2align 4
	.type	hix5hd2_sata_phy_probe, @function
hix5hd2_sata_phy_probe:
.LFB0:
	.cfi_startproc
	endbr64
	push	r13
	.cfi_def_cfa_offset 16
	.cfi_offset 13, -16
	mov	esi, 16
	push	r12
	.cfi_def_cfa_offset 24
	.cfi_offset 12, -24
	push	rbp
	.cfi_def_cfa_offset 32
	.cfi_offset 6, -32
	mov	rbp, rdi
	push	rbx
	.cfi_def_cfa_offset 40
	.cfi_offset 3, -40
	sub	rsp, 8
	.cfi_def_cfa_offset 48
	mov	edx, DWORD PTR GFP_KERNEL[rip]
	call	devm_kzalloc@PLT
	test	rax, rax
	je	.L12
	mov	esi, DWORD PTR IORESOURCE_MEM[rip]
	xor	edx, edx
	mov	rdi, rbp
	mov	r12, rax
	call	platform_get_resource@PLT
	mov	rbx, rax
	mov	eax, DWORD PTR EINVAL[rip]
	neg	eax
	test	rbx, rbx
	je	.L1
	mov	rdi, rbx
	call	resource_size@PLT
	mov	esi, DWORD PTR [rbx]
	mov	rdi, rbp
	mov	edx, eax
	call	devm_ioremap@PLT
	mov	DWORD PTR 8[r12], eax
	test	eax, eax
	je	.L12
	mov	edi, DWORD PTR 0[rbp]
	lea	rsi, .LC0[rip]
	call	syscon_regmap_lookup_by_phandle@PLT
	mov	QWORD PTR [r12], rax
	mov	rdi, rax
	call	IS_ERR@PLT
	test	rax, rax
	je	.L6
	mov	QWORD PTR [r12], 0
.L6:
	xor	esi, esi
	mov	rdi, rbp
	lea	rdx, hix5hd2_sata_phy_ops[rip]
	call	devm_phy_create@PLT
	mov	rdi, rax
	mov	r13, rax
	call	IS_ERR@PLT
	test	rax, rax
	jne	.L14
	mov	rsi, r12
	mov	rdi, r13
	call	phy_set_drvdata@PLT
	mov	esi, DWORD PTR of_phy_simple_xlate[rip]
	mov	rdi, rbp
	call	devm_of_phy_provider_register@PLT
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	pop	rbx
	.cfi_def_cfa_offset 32
	mov	rdi, rax
	pop	rbp
	.cfi_def_cfa_offset 24
	pop	r12
	.cfi_def_cfa_offset 16
	pop	r13
	.cfi_def_cfa_offset 8
	jmp	PTR_ERR_OR_ZERO@PLT
	.p2align 4,,10
	.p2align 3
.L12:
	.cfi_restore_state
	mov	eax, DWORD PTR ENOMEM[rip]
	neg	eax
.L1:
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	pop	rbx
	.cfi_def_cfa_offset 32
	pop	rbp
	.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
.L14:
	.cfi_restore_state
	mov	rdi, rbp
	lea	rsi, .LC1[rip]
	call	dev_err@PLT
	add	rsp, 8
	.cfi_def_cfa_offset 40
	mov	rdi, r13
	pop	rbx
	.cfi_def_cfa_offset 32
	pop	rbp
	.cfi_def_cfa_offset 24
	pop	r12
	.cfi_def_cfa_offset 16
	pop	r13
	.cfi_def_cfa_offset 8
	jmp	PTR_ERR@PLT
	.cfi_endproc
.LFE0:
	.size	hix5hd2_sata_phy_probe, .-hix5hd2_sata_phy_probe
	.comm	of_phy_simple_xlate,4,4
	.comm	hix5hd2_sata_phy_ops,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-hix5hd2-sata.c_hix5hd2_sata_phy_probe.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"hisilicon,peripheral-syscon\000"
	.align	2
.LC1:
	.ascii	"failed to create PHY\012\000"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	hix5hd2_sata_phy_probe, %function
hix5hd2_sata_phy_probe:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	ldr	r3, .L16
	push	{r4, r5, r6, lr}
	mov	r1, #8
	ldr	r2, [r3]
	mov	r5, r0
	bl	devm_kzalloc
	subs	r4, r0, #0
	beq	.L12
	ldr	r3, .L16+4
	mov	r2, #0
	ldr	r1, [r3]
	mov	r0, r5
	bl	platform_get_resource
	subs	r3, r0, #0
	beq	.L14
	ldr	r6, [r3]
	bl	resource_size
	mov	r1, r6
	mov	r2, r0
	mov	r0, r5
	bl	devm_ioremap
	cmp	r0, #0
	str	r0, [r4, #4]
	beq	.L12
	ldr	r1, .L16+8
	ldr	r0, [r5]
	bl	syscon_regmap_lookup_by_phandle
	str	r0, [r4]
	bl	IS_ERR
	cmp	r0, #0
	movne	r3, #0
	mov	r1, #0
	strne	r3, [r4]
	ldr	r2, .L16+12
	mov	r0, r5
	bl	devm_phy_create
	mov	r6, r0
	bl	IS_ERR
	cmp	r0, #0
	bne	.L15
	mov	r1, r4
	mov	r0, r6
	bl	phy_set_drvdata
	ldr	r3, .L16+16
	mov	r0, r5
	ldr	r1, [r3]
	bl	devm_of_phy_provider_register
	pop	{r4, r5, r6, lr}
	b	PTR_ERR_OR_ZERO
.L12:
	ldr	r3, .L16+20
	ldr	r0, [r3]
	rsb	r0, r0, #0
	pop	{r4, r5, r6, pc}
.L14:
	ldr	r3, .L16+24
	ldr	r0, [r3]
	rsb	r0, r0, #0
	pop	{r4, r5, r6, pc}
.L15:
	mov	r0, r5
	ldr	r1, .L16+28
	bl	dev_err
	mov	r0, r6
	pop	{r4, r5, r6, lr}
	b	PTR_ERR
.L17:
	.align	2
.L16:
	.word	GFP_KERNEL
	.word	IORESOURCE_MEM
	.word	.LC0
	.word	hix5hd2_sata_phy_ops
	.word	of_phy_simple_xlate
	.word	ENOMEM
	.word	EINVAL
	.word	.LC1
	.size	hix5hd2_sata_phy_probe, .-hix5hd2_sata_phy_probe
	.comm	of_phy_simple_xlate,4,4
	.comm	hix5hd2_sata_phy_ops,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
