	.file	"extr_phy-armada375-usb2.c_armada375_usb_phy_xlate.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.8,"aMS",@progbits,1
	.align 8
.LC0:
	.string	"This PHY has already been provided!\n"
	.align 8
.LC1:
	.string	"Check your device tree, only one controller can use it\n."
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC2:
	.string	"Invalid PHY mode\n"
	.text
	.p2align 4
	.type	armada375_usb_phy_xlate, @function
armada375_usb_phy_xlate:
.LFB0:
	.cfi_startproc
	endbr64
	push	r12
	.cfi_def_cfa_offset 16
	.cfi_offset 12, -16
	mov	r12, rsi
	push	rbp
	.cfi_def_cfa_offset 24
	.cfi_offset 6, -24
	mov	rbp, rdi
	push	rbx
	.cfi_def_cfa_offset 32
	.cfi_offset 3, -32
	call	dev_get_drvdata@PLT
	test	rax, rax
	je	.L11
	mov	rbx, rax
	xor	edi, edi
	mov	rax, QWORD PTR [rax]
	cmp	rax, QWORD PTR PHY_NONE[rip]
	je	.L3
	mov	rdx, QWORD PTR [r12]
	xor	edi, edi
	cmp	QWORD PTR [rdx], rax
	setne	dil
.L3:
	call	WARN_ON@PLT
	test	rax, rax
	jne	.L15
	mov	rax, QWORD PTR [r12]
	mov	rax, QWORD PTR [rax]
	cmp	rax, QWORD PTR PHY_TYPE_USB2[rip]
	je	.L16
	cmp	rax, QWORD PTR PHY_TYPE_USB3[rip]
	jne	.L8
	mov	QWORD PTR [rbx], rax
	mov	rax, QWORD PTR 16[rbx]
	mov	DWORD PTR 8[rbx], 1
	pop	rbx
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	pop	rbp
	.cfi_def_cfa_offset 16
	pop	r12
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L16:
	.cfi_restore_state
	mov	QWORD PTR [rbx], rax
	mov	rax, QWORD PTR 16[rbx]
	mov	DWORD PTR 8[rbx], 0
	pop	rbx
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	pop	rbp
	.cfi_def_cfa_offset 16
	pop	r12
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L8:
	.cfi_restore_state
	lea	rsi, .LC2[rip]
	mov	rdi, rbp
	call	dev_err@PLT
.L11:
	mov	edi, DWORD PTR ENODEV[rip]
	pop	rbx
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	pop	rbp
	.cfi_def_cfa_offset 16
	pop	r12
	.cfi_def_cfa_offset 8
	neg	edi
	jmp	ERR_PTR@PLT
	.p2align 4,,10
	.p2align 3
.L15:
	.cfi_restore_state
	lea	rsi, .LC0[rip]
	mov	rdi, rbp
	call	dev_err@PLT
	mov	rdi, rbp
	lea	rsi, .LC1[rip]
	call	dev_err@PLT
	mov	rax, QWORD PTR [r12]
	mov	rcx, QWORD PTR PHY_TYPE_USB2[rip]
	mov	edi, DWORD PTR EBUSY[rip]
	cmp	QWORD PTR [rax], rcx
	jne	.L11
	pop	rbx
	.cfi_def_cfa_offset 24
	neg	edi
	pop	rbp
	.cfi_def_cfa_offset 16
	pop	r12
	.cfi_def_cfa_offset 8
	jmp	ERR_PTR@PLT
	.cfi_endproc
.LFE0:
	.size	armada375_usb_phy_xlate, .-armada375_usb_phy_xlate
	.comm	PHY_TYPE_USB3,8,8
	.comm	PHY_TYPE_USB2,8,8
	.comm	PHY_NONE,8,8
	.comm	ENODEV,4,4
	.comm	EBUSY,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-armada375-usb2.c_armada375_usb_phy_xlate.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"This PHY has already been provided!\012\000"
	.align	2
.LC1:
	.ascii	"Check your device tree, only one controller can use"
	.ascii	" it\012.\000"
	.align	2
.LC2:
	.ascii	"Invalid PHY mode\012\000"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	armada375_usb_phy_xlate, %function
armada375_usb_phy_xlate:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, lr}
	mov	r5, r1
	mov	r6, r0
	bl	dev_get_drvdata
	subs	r4, r0, #0
	beq	.L11
	ldr	r2, .L14
	ldr	r3, [r4]
	ldr	r2, [r2]
	cmp	r3, r2
	moveq	r0, #0
	beq	.L3
	ldr	r2, [r5]
	ldr	r0, [r2]
	subs	r0, r0, r3
	movne	r0, #1
.L3:
	bl	WARN_ON
	cmp	r0, #0
	bne	.L13
	ldr	r3, [r5]
	ldr	r2, .L14+4
	ldr	r3, [r3]
	ldr	r2, [r2]
	cmp	r3, r2
	streq	r0, [r4, #4]
	beq	.L7
	ldr	r2, .L14+8
	ldr	r2, [r2]
	cmp	r3, r2
	bne	.L8
	mov	r2, #1
	str	r2, [r4, #4]
.L7:
	ldr	r0, [r4, #8]
	str	r3, [r4]
	pop	{r4, r5, r6, pc}
.L8:
	mov	r0, r6
	ldr	r1, .L14+12
	bl	dev_err
.L11:
	pop	{r4, r5, r6, lr}
	ldr	r3, .L14+16
	ldr	r0, [r3]
	rsb	r0, r0, #0
	b	ERR_PTR
.L13:
	ldr	r1, .L14+20
	mov	r0, r6
	bl	dev_err
	mov	r0, r6
	ldr	r1, .L14+24
	bl	dev_err
	ldr	r2, [r5]
	ldr	r3, .L14+4
	ldr	r2, [r2]
	ldr	r3, [r3]
	cmp	r2, r3
	bne	.L11
	pop	{r4, r5, r6, lr}
	ldr	r3, .L14+28
	ldr	r0, [r3]
	rsb	r0, r0, #0
	b	ERR_PTR
.L15:
	.align	2
.L14:
	.word	PHY_NONE
	.word	PHY_TYPE_USB2
	.word	PHY_TYPE_USB3
	.word	.LC2
	.word	ENODEV
	.word	.LC0
	.word	.LC1
	.word	EBUSY
	.size	armada375_usb_phy_xlate, .-armada375_usb_phy_xlate
	.comm	PHY_TYPE_USB3,4,4
	.comm	PHY_TYPE_USB2,4,4
	.comm	PHY_NONE,4,4
	.comm	ENODEV,4,4
	.comm	EBUSY,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
