	.file	"extr_ar5312_chip.c_ar5312_chip_soc_init.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	ar5312_chip_soc_init, @function
ar5312_chip_soc_init:
.LFB0:
	.cfi_startproc
	endbr64
	sub	rsp, 8
	.cfi_def_cfa_offset 16
	mov	edi, DWORD PTR AR5312_UART0_BASE[rip]
	call	MIPS_PHYS_TO_KSEG1@PLT
	mov	DWORD PTR u_ar531x_uart_addr[rip], eax
	mov	eax, DWORD PTR AR5312_GPIO_DI[rip]
	mov	DWORD PTR u_ar531x_gpio_di[rip], eax
	mov	eax, DWORD PTR AR5312_GPIO_DO[rip]
	mov	DWORD PTR u_ar531x_gpio_do[rip], eax
	mov	eax, DWORD PTR AR5312_GPIO_CR[rip]
	mov	DWORD PTR u_ar531x_gpio_cr[rip], eax
	mov	eax, DWORD PTR AR5312_GPIO_PINS[rip]
	mov	DWORD PTR u_ar531x_gpio_pins[rip], eax
	mov	eax, DWORD PTR AR5312_SYSREG_WDOG_CTL[rip]
	mov	DWORD PTR u_ar531x_wdog_ctl[rip], eax
	mov	eax, DWORD PTR AR5312_SYSREG_WDOG_TIMER[rip]
	mov	DWORD PTR u_ar531x_wdog_timer[rip], eax
	add	rsp, 8
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE0:
	.size	ar5312_chip_soc_init, .-ar5312_chip_soc_init
	.comm	u_ar531x_wdog_timer,4,4
	.comm	u_ar531x_wdog_ctl,4,4
	.comm	u_ar531x_uart_addr,4,4
	.comm	u_ar531x_gpio_pins,4,4
	.comm	u_ar531x_gpio_do,4,4
	.comm	u_ar531x_gpio_di,4,4
	.comm	u_ar531x_gpio_cr,4,4
	.comm	AR5312_UART0_BASE,4,4
	.comm	AR5312_SYSREG_WDOG_TIMER,4,4
	.comm	AR5312_SYSREG_WDOG_CTL,4,4
	.comm	AR5312_GPIO_PINS,4,4
	.comm	AR5312_GPIO_DO,4,4
	.comm	AR5312_GPIO_DI,4,4
	.comm	AR5312_GPIO_CR,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_ar5312_chip.c_ar5312_chip_soc_init.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	ar5312_chip_soc_init, %function
ar5312_chip_soc_init:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	ldr	r3, .L4
	push	{r4, r5, r6, lr}
	ldr	r0, [r3]
	bl	MIPS_PHYS_TO_KSEG1
	ldr	r4, .L4+4
	ldr	r3, .L4+8
	ldr	lr, .L4+12
	str	r0, [r3]
	ldr	ip, .L4+16
	ldr	r2, .L4+20
	ldr	r5, [r4]
	ldr	r3, .L4+24
	ldr	r1, .L4+28
	str	r5, [r3]
	ldr	r1, [r1]
	ldr	r4, [lr]
	ldr	r0, .L4+32
	ldr	lr, [ip]
	ldr	r3, .L4+36
	ldr	ip, [r2]
	ldr	r2, .L4+40
	str	r1, [r3]
	str	r4, [r0]
	ldr	r2, [r2]
	ldr	r0, .L4+44
	ldr	r1, .L4+48
	ldr	r3, .L4+52
	str	lr, [r0]
	str	ip, [r1]
	str	r2, [r3]
	pop	{r4, r5, r6, pc}
.L5:
	.align	2
.L4:
	.word	AR5312_UART0_BASE
	.word	AR5312_GPIO_DI
	.word	u_ar531x_uart_addr
	.word	AR5312_GPIO_DO
	.word	AR5312_GPIO_PINS
	.word	AR5312_SYSREG_WDOG_CTL
	.word	u_ar531x_gpio_di
	.word	AR5312_GPIO_CR
	.word	u_ar531x_gpio_do
	.word	u_ar531x_gpio_cr
	.word	AR5312_SYSREG_WDOG_TIMER
	.word	u_ar531x_gpio_pins
	.word	u_ar531x_wdog_ctl
	.word	u_ar531x_wdog_timer
	.size	ar5312_chip_soc_init, .-ar5312_chip_soc_init
	.comm	u_ar531x_wdog_timer,4,4
	.comm	u_ar531x_wdog_ctl,4,4
	.comm	u_ar531x_uart_addr,4,4
	.comm	u_ar531x_gpio_pins,4,4
	.comm	u_ar531x_gpio_do,4,4
	.comm	u_ar531x_gpio_di,4,4
	.comm	u_ar531x_gpio_cr,4,4
	.comm	AR5312_UART0_BASE,4,4
	.comm	AR5312_SYSREG_WDOG_TIMER,4,4
	.comm	AR5312_SYSREG_WDOG_CTL,4,4
	.comm	AR5312_GPIO_PINS,4,4
	.comm	AR5312_GPIO_DO,4,4
	.comm	AR5312_GPIO_DI,4,4
	.comm	AR5312_GPIO_CR,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
