	.file	"extr_rts5209.c_rts5209_extra_init_hw.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	rts5209_extra_init_hw, @function
rts5209_extra_init_hw:
.LFB0:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rdi
	call	rtsx_pci_init_cmd@PLT
	mov	edx, DWORD PTR CARD_GPIO[rip]
	mov	rdi, rbp
	mov	esi, DWORD PTR WRITE_REG_CMD[rip]
	mov	r8d, 3
	mov	ecx, 255
	call	rtsx_pci_add_cmd@PLT
	mov	rdi, rbp
	xor	r8d, r8d
	mov	ecx, 63
	mov	edx, DWORD PTR ASPM_FORCE_CTL[rip]
	mov	esi, DWORD PTR WRITE_REG_CMD[rip]
	call	rtsx_pci_add_cmd@PLT
	mov	edx, DWORD PTR PETXCFG[rip]
	mov	rdi, rbp
	mov	esi, DWORD PTR WRITE_REG_CMD[rip]
	mov	r8d, 8
	mov	ecx, 8
	call	rtsx_pci_add_cmd@PLT
	mov	edx, DWORD PTR CARD_GPIO_DIR[rip]
	mov	rdi, rbp
	mov	esi, DWORD PTR WRITE_REG_CMD[rip]
	mov	r8d, 3
	mov	ecx, 255
	call	rtsx_pci_add_cmd@PLT
	mov	r8d, DWORD PTR 0[rbp]
	mov	rdi, rbp
	mov	ecx, 255
	mov	esi, DWORD PTR WRITE_REG_CMD[rip]
	mov	edx, DWORD PTR SD30_DRIVE_SEL[rip]
	call	rtsx_pci_add_cmd@PLT
	mov	rdi, rbp
	mov	esi, 100
	pop	rbp
	.cfi_def_cfa_offset 8
	jmp	rtsx_pci_send_cmd@PLT
	.cfi_endproc
.LFE0:
	.size	rts5209_extra_init_hw, .-rts5209_extra_init_hw
	.comm	WRITE_REG_CMD,4,4
	.comm	SD30_DRIVE_SEL,4,4
	.comm	PETXCFG,4,4
	.comm	CARD_GPIO_DIR,4,4
	.comm	CARD_GPIO,4,4
	.comm	ASPM_FORCE_CTL,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_rts5209.c_rts5209_extra_init_hw.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	rts5209_extra_init_hw, %function
rts5209_extra_init_hw:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, lr}
	mov	r6, #3
	mov	r4, r0
	sub	sp, sp, #8
	bl	rtsx_pci_init_cmd
	ldr	r5, .L4
	ldr	r3, .L4+4
	str	r6, [sp]
	ldr	r2, [r3]
	ldr	r1, [r5]
	mov	r0, r4
	mov	r3, #255
	bl	rtsx_pci_add_cmd
	mov	r2, #0
	ldr	r3, .L4+8
	str	r2, [sp]
	ldr	r1, [r5]
	ldr	r2, [r3]
	mov	r0, r4
	mov	r3, #63
	bl	rtsx_pci_add_cmd
	mov	r3, #8
	ldr	r2, .L4+12
	str	r3, [sp]
	ldr	r1, [r5]
	mov	r0, r4
	ldr	r2, [r2]
	bl	rtsx_pci_add_cmd
	ldr	r3, .L4+16
	str	r6, [sp]
	ldr	r1, [r5]
	ldr	r2, [r3]
	mov	r0, r4
	mov	r3, #255
	bl	rtsx_pci_add_cmd
	ldr	r2, [r4]
	ldr	r3, .L4+20
	str	r2, [sp]
	ldr	r1, [r5]
	ldr	r2, [r3]
	mov	r0, r4
	mov	r3, #255
	bl	rtsx_pci_add_cmd
	mov	r0, r4
	mov	r1, #100
	add	sp, sp, #8
	@ sp needed
	pop	{r4, r5, r6, lr}
	b	rtsx_pci_send_cmd
.L5:
	.align	2
.L4:
	.word	WRITE_REG_CMD
	.word	CARD_GPIO
	.word	ASPM_FORCE_CTL
	.word	PETXCFG
	.word	CARD_GPIO_DIR
	.word	SD30_DRIVE_SEL
	.size	rts5209_extra_init_hw, .-rts5209_extra_init_hw
	.comm	WRITE_REG_CMD,4,4
	.comm	SD30_DRIVE_SEL,4,4
	.comm	PETXCFG,4,4
	.comm	CARD_GPIO_DIR,4,4
	.comm	CARD_GPIO,4,4
	.comm	ASPM_FORCE_CTL,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
