	.file	"extr_smc91c92_cs.c_mot_config.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	mot_config, @function
mot_config:
.LFB0:
	.cfi_startproc
	endbr64
	push	r12
	.cfi_def_cfa_offset 16
	.cfi_offset 12, -16
	mov	r12, rdi
	push	rbp
	.cfi_def_cfa_offset 24
	.cfi_offset 6, -24
	push	rbx
	.cfi_def_cfa_offset 32
	.cfi_offset 3, -32
	mov	rbp, QWORD PTR 8[rdi]
	mov	rdi, rbp
	call	netdev_priv@PLT
	mov	r12d, DWORD PTR [r12]
	mov	rsi, QWORD PTR MOT_UART[rip]
	add	rsi, QWORD PTR [rax]
	add	rsi, QWORD PTR CISREG_IOBASE_0[rip]
	mov	rbx, rax
	movzx	edi, r12b
	mov	ebp, DWORD PTR 0[rbp]
	call	writeb@PLT
	mov	eax, r12d
	mov	rsi, QWORD PTR MOT_UART[rip]
	add	rsi, QWORD PTR [rbx]
	movzx	edi, ah
	add	rsi, QWORD PTR CISREG_IOBASE_1[rip]
	call	writeb@PLT
	mov	edi, DWORD PTR MOT_NORMAL[rip]
	mov	rsi, QWORD PTR MOT_UART[rip]
	add	rsi, QWORD PTR [rbx]
	add	rsi, QWORD PTR CISREG_COR[rip]
	call	writeb@PLT
	movzx	edi, bpl
	mov	rsi, QWORD PTR MOT_LAN[rip]
	add	rsi, QWORD PTR [rbx]
	add	rsi, QWORD PTR CISREG_IOBASE_0[rip]
	call	writeb@PLT
	mov	eax, ebp
	mov	rsi, QWORD PTR MOT_LAN[rip]
	add	rsi, QWORD PTR [rbx]
	movzx	edi, ah
	add	rsi, QWORD PTR CISREG_IOBASE_1[rip]
	call	writeb@PLT
	mov	edi, DWORD PTR MOT_NORMAL[rip]
	mov	rsi, QWORD PTR MOT_LAN[rip]
	add	rsi, QWORD PTR [rbx]
	add	rsi, QWORD PTR CISREG_COR[rip]
	call	writeb@PLT
	pop	rbx
	.cfi_def_cfa_offset 24
	mov	edi, 100
	pop	rbp
	.cfi_def_cfa_offset 16
	pop	r12
	.cfi_def_cfa_offset 8
	jmp	mdelay@PLT
	.cfi_endproc
.LFE0:
	.size	mot_config, .-mot_config
	.comm	MOT_UART,8,8
	.comm	MOT_NORMAL,4,4
	.comm	MOT_LAN,8,8
	.comm	CISREG_IOBASE_1,8,8
	.comm	CISREG_IOBASE_0,8,8
	.comm	CISREG_COR,8,8
	.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_smc91c92_cs.c_mot_config.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	mot_config, %function
mot_config:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, r10, lr}
	ldr	r8, [r0, #4]
	mov	r5, r0
	mov	r0, r8
	bl	netdev_priv
	mov	r4, r0
	ldr	r7, .L4
	ldr	r10, .L4+4
	ldr	r2, [r7]
	ldr	r3, [r0]
	ldr	r6, [r5]
	ldr	r1, [r10]
	add	r3, r3, r2
	ldr	r9, .L4+8
	add	r1, r3, r1
	and	r0, r6, #255
	ldr	r5, [r8]
	bl	writeb
	ldr	r2, [r7]
	ldr	r3, [r4]
	ldr	r1, [r9]
	add	r3, r3, r2
	lsr	r0, r6, #8
	ldr	r8, .L4+12
	add	r1, r3, r1
	and	r0, r0, #255
	bl	writeb
	ldr	r2, [r7]
	ldr	r3, [r4]
	ldr	r1, [r8]
	ldr	r7, .L4+16
	ldr	r6, .L4+20
	add	r3, r3, r2
	add	r1, r3, r1
	ldr	r0, [r7]
	bl	writeb
	ldr	r2, [r6]
	ldr	r3, [r4]
	ldr	r1, [r10]
	add	r3, r3, r2
	add	r1, r3, r1
	and	r0, r5, #255
	bl	writeb
	ldr	r2, [r6]
	ldr	r3, [r4]
	ldr	r1, [r9]
	add	r3, r3, r2
	lsr	r0, r5, #8
	add	r1, r3, r1
	and	r0, r0, #255
	bl	writeb
	ldr	r3, [r4]
	ldr	r2, [r6]
	ldr	r1, [r8]
	add	r3, r3, r2
	ldr	r0, [r7]
	add	r1, r3, r1
	bl	writeb
	pop	{r4, r5, r6, r7, r8, r9, r10, lr}
	mov	r0, #100
	b	mdelay
.L5:
	.align	2
.L4:
	.word	MOT_UART
	.word	CISREG_IOBASE_0
	.word	CISREG_IOBASE_1
	.word	CISREG_COR
	.word	MOT_NORMAL
	.word	MOT_LAN
	.size	mot_config, .-mot_config
	.comm	MOT_UART,4,4
	.comm	MOT_NORMAL,4,4
	.comm	MOT_LAN,4,4
	.comm	CISREG_IOBASE_1,4,4
	.comm	CISREG_IOBASE_0,4,4
	.comm	CISREG_COR,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
