	.file	"extr_rtsx_usb.c_rtsx_usb_write_phy_register.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.8,"aMS",@progbits,1
	.align 8
.LC0:
	.string	"Write 0x%x to phy register 0x%x\n"
	.text
	.p2align 4
	.type	rtsx_usb_write_phy_register, @function
rtsx_usb_write_phy_register:
.LFB0:
	.cfi_startproc
	endbr64
	push	r12
	.cfi_def_cfa_offset 16
	.cfi_offset 12, -16
	mov	ecx, esi
	mov	r12d, edx
	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
	mov	rdi, QWORD PTR [rdi]
	mov	ebx, esi
	lea	rsi, .LC0[rip]
	call	dev_dbg@PLT
	mov	rdi, rbp
	call	rtsx_usb_init_cmd@PLT
	mov	r8d, r12d
	mov	rdi, rbp
	mov	ecx, 255
	mov	edx, DWORD PTR HS_VSTAIN[rip]
	mov	esi, DWORD PTR WRITE_REG_CMD[rip]
	call	rtsx_usb_add_cmd@PLT
	mov	r8d, ebx
	mov	rdi, rbp
	mov	ecx, 255
	mov	edx, DWORD PTR HS_VCONTROL[rip]
	mov	esi, DWORD PTR WRITE_REG_CMD[rip]
	and	r8d, 15
	sar	ebx, 4
	call	rtsx_usb_add_cmd@PLT
	mov	rdi, rbp
	xor	r8d, r8d
	mov	ecx, 255
	mov	edx, DWORD PTR HS_VLOADM[rip]
	mov	esi, DWORD PTR WRITE_REG_CMD[rip]
	call	rtsx_usb_add_cmd@PLT
	mov	rdi, rbp
	xor	r8d, r8d
	mov	ecx, 255
	mov	edx, DWORD PTR HS_VLOADM[rip]
	mov	esi, DWORD PTR WRITE_REG_CMD[rip]
	call	rtsx_usb_add_cmd@PLT
	mov	edx, DWORD PTR HS_VLOADM[rip]
	mov	rdi, rbp
	mov	esi, DWORD PTR WRITE_REG_CMD[rip]
	mov	r8d, 1
	mov	ecx, 255
	call	rtsx_usb_add_cmd@PLT
	mov	r8d, ebx
	mov	rdi, rbp
	mov	ecx, 255
	mov	edx, DWORD PTR HS_VCONTROL[rip]
	mov	esi, DWORD PTR WRITE_REG_CMD[rip]
	and	r8d, 15
	call	rtsx_usb_add_cmd@PLT
	mov	rdi, rbp
	xor	r8d, r8d
	mov	ecx, 255
	mov	edx, DWORD PTR HS_VLOADM[rip]
	mov	esi, DWORD PTR WRITE_REG_CMD[rip]
	call	rtsx_usb_add_cmd@PLT
	mov	rdi, rbp
	xor	r8d, r8d
	mov	ecx, 255
	mov	edx, DWORD PTR HS_VLOADM[rip]
	mov	esi, DWORD PTR WRITE_REG_CMD[rip]
	call	rtsx_usb_add_cmd@PLT
	mov	edx, DWORD PTR HS_VLOADM[rip]
	mov	rdi, rbp
	mov	esi, DWORD PTR WRITE_REG_CMD[rip]
	mov	r8d, 1
	mov	ecx, 255
	call	rtsx_usb_add_cmd@PLT
	mov	esi, DWORD PTR MODE_C[rip]
	pop	rbx
	.cfi_def_cfa_offset 24
	mov	rdi, rbp
	mov	edx, 100
	pop	rbp
	.cfi_def_cfa_offset 16
	pop	r12
	.cfi_def_cfa_offset 8
	jmp	rtsx_usb_send_cmd@PLT
	.cfi_endproc
.LFE0:
	.size	rtsx_usb_write_phy_register, .-rtsx_usb_write_phy_register
	.comm	WRITE_REG_CMD,4,4
	.comm	MODE_C,4,4
	.comm	HS_VSTAIN,4,4
	.comm	HS_VLOADM,4,4
	.comm	HS_VCONTROL,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_rtsx_usb.c_rtsx_usb_write_phy_register.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"Write 0x%x to phy register 0x%x\012\000"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	rtsx_usb_write_phy_register, %function
rtsx_usb_write_phy_register:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, r10, lr}
	mov	r4, r0
	mov	r7, r2
	mov	r6, r1
	mov	r8, #0
	mov	r9, #1
	sub	sp, sp, #8
	mov	r3, r1
	ldr	r0, [r0]
	ldr	r1, .L4
	bl	dev_dbg
	mov	r0, r4
	ldr	r5, .L4+4
	bl	rtsx_usb_init_cmd
	ldr	r3, .L4+8
	str	r7, [sp]
	ldr	r2, [r3]
	ldr	r1, [r5]
	ldr	r10, .L4+12
	mov	r0, r4
	mov	r3, #255
	bl	rtsx_usb_add_cmd
	and	r3, r6, #15
	ldr	r7, .L4+16
	ldr	r1, [r5]
	ldr	r2, [r10]
	str	r3, [sp]
	mov	r0, r4
	mov	r3, #255
	bl	rtsx_usb_add_cmd
	str	r8, [sp]
	ldr	r1, [r5]
	ldr	r2, [r7]
	mov	r0, r4
	mov	r3, #255
	bl	rtsx_usb_add_cmd
	str	r8, [sp]
	ldr	r2, [r7]
	ldr	r1, [r5]
	mov	r0, r4
	mov	r3, #255
	asr	r6, r6, #4
	bl	rtsx_usb_add_cmd
	and	r6, r6, #15
	ldr	r2, [r7]
	ldr	r1, [r5]
	mov	r0, r4
	mov	r3, #255
	str	r9, [sp]
	bl	rtsx_usb_add_cmd
	ldr	r2, [r10]
	ldr	r1, [r5]
	mov	r0, r4
	mov	r3, #255
	str	r6, [sp]
	bl	rtsx_usb_add_cmd
	str	r8, [sp]
	ldr	r2, [r7]
	ldr	r1, [r5]
	mov	r0, r4
	mov	r3, #255
	bl	rtsx_usb_add_cmd
	str	r8, [sp]
	ldr	r2, [r7]
	ldr	r1, [r5]
	mov	r0, r4
	mov	r3, #255
	bl	rtsx_usb_add_cmd
	str	r9, [sp]
	ldr	r2, [r7]
	ldr	r1, [r5]
	mov	r0, r4
	mov	r3, #255
	bl	rtsx_usb_add_cmd
	mov	r0, r4
	mov	r2, #100
	ldr	r3, .L4+20
	ldr	r1, [r3]
	add	sp, sp, #8
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, r10, lr}
	b	rtsx_usb_send_cmd
.L5:
	.align	2
.L4:
	.word	.LC0
	.word	WRITE_REG_CMD
	.word	HS_VSTAIN
	.word	HS_VCONTROL
	.word	HS_VLOADM
	.word	MODE_C
	.size	rtsx_usb_write_phy_register, .-rtsx_usb_write_phy_register
	.comm	WRITE_REG_CMD,4,4
	.comm	MODE_C,4,4
	.comm	HS_VSTAIN,4,4
	.comm	HS_VLOADM,4,4
	.comm	HS_VCONTROL,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
