	.file	"extr_axnet_cs.c_axnet_configcheck.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	axnet_configcheck, @function
axnet_configcheck:
.LFB0:
	.cfi_startproc
	endbr64
	cmp	QWORD PTR [rsi], 0
	je	.L2
	mov	rcx, QWORD PTR 8[rsi]
	test	rcx, rcx
	je	.L2
	mov	rax, QWORD PTR 24[rsi]
	mov	DWORD PTR 32[rdi], 5
	mov	rdx, QWORD PTR [rax]
	cmp	rcx, 1
	jle	.L5
	mov	r8, QWORD PTR 16[rax]
	xor	ecx, ecx
	cmp	r8, rdx
	setle	cl
	sal	rcx, 4
	add	rcx, rax
	cmp	r8, rdx
	mov	edx, 16
	mov	r8d, 0
	cmovle	rdx, r8
	mov	r9d, DWORD PTR 8[rcx]
	mov	rcx, QWORD PTR [rcx]
	add	rax, rdx
	mov	DWORD PTR 24[rdi], r9d
	mov	rdx, QWORD PTR [rax]
	mov	QWORD PTR [rdi], rcx
	add	rcx, rdx
.L6:
	mov	eax, DWORD PTR 8[rax]
	mov	QWORD PTR 8[rdi], rdx
	mov	DWORD PTR 20[rdi], eax
	mov	eax, DWORD PTR 16[rsi]
	and	eax, DWORD PTR CISTPL_IO_LINES_MASK[rip]
	mov	DWORD PTR 16[rdi], eax
	mov	eax, DWORD PTR ENODEV[rip]
	neg	eax
	cmp	rcx, 31
	jg	.L9
	ret
	.p2align 4,,10
	.p2align 3
.L2:
	mov	eax, DWORD PTR ENODEV[rip]
	neg	eax
	ret
	.p2align 4,,10
	.p2align 3
.L5:
	mov	QWORD PTR [rdi], 0
	mov	rcx, rdx
	jmp	.L6
	.p2align 4,,10
	.p2align 3
.L9:
	jmp	try_io_port@PLT
	.cfi_endproc
.LFE0:
	.size	axnet_configcheck, .-axnet_configcheck
	.comm	ENODEV,4,4
	.comm	CISTPL_IO_LINES_MASK,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_axnet_cs.c_axnet_configcheck.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	axnet_configcheck, %function
axnet_configcheck:
	@ args = 4, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	ldr	r3, [r1]
	cmp	r3, #0
	beq	.L2
	ldr	r2, [r1, #4]
	cmp	r2, #0
	beq	.L2
	mov	ip, #5
	ldr	r3, [r1, #12]
	cmp	r2, #1
	push	{r4, lr}
	ldr	r2, [r3]
	str	ip, [r0, #20]
	ble	.L5
	ldr	ip, [r3, #8]
	cmp	ip, r2
	movle	r2, #1
	movgt	r2, #0
	movgt	r4, #8
	movle	r4, #0
	add	ip, r3, r2, lsl #3
	ldr	lr, [ip, #4]
	ldr	ip, [r3, r2, lsl #3]
	ldr	r2, [r3, r4]!
	str	ip, [r0]
	str	lr, [r0, #16]
	add	ip, ip, r2
.L6:
	ldr	lr, .L16
	ldr	r1, [r1, #8]
	ldr	r4, [lr]
	ldr	lr, [r3, #4]
	cmp	ip, #31
	and	r3, r1, r4
	stmib	r0, {r2, r3, lr}
	bgt	.L15
	ldr	r3, .L16+4
	ldr	r0, [r3]
	rsb	r0, r0, #0
	pop	{r4, pc}
.L2:
	ldr	r3, .L16+4
	ldr	r0, [r3]
	rsb	r0, r0, #0
	bx	lr
.L5:
	mov	lr, #0
	mov	ip, r2
	str	lr, [r0]
	b	.L6
.L15:
	pop	{r4, lr}
	b	try_io_port
.L17:
	.align	2
.L16:
	.word	CISTPL_IO_LINES_MASK
	.word	ENODEV
	.size	axnet_configcheck, .-axnet_configcheck
	.comm	ENODEV,4,4
	.comm	CISTPL_IO_LINES_MASK,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
