	.file	"extr_if_axge.c_axge_ioctl.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	axge_ioctl, @function
axge_ioctl:
.LFB0:
	.cfi_startproc
	endbr64
	push	r15
	.cfi_def_cfa_offset 16
	.cfi_offset 15, -16
	push	r14
	.cfi_def_cfa_offset 24
	.cfi_offset 14, -24
	push	r13
	.cfi_def_cfa_offset 32
	.cfi_offset 13, -32
	mov	r13, rdx
	push	r12
	.cfi_def_cfa_offset 40
	.cfi_offset 12, -40
	mov	r12, rsi
	push	rbp
	.cfi_def_cfa_offset 48
	.cfi_offset 6, -48
	mov	r15, QWORD PTR 16[rdi]
	mov	rbp, rdi
	mov	rdi, r15
	call	uether_getsc@PLT
	cmp	QWORD PTR SIOCSIFCAP[rip], r12
	je	.L18
	mov	rdx, r13
	mov	rsi, r12
	mov	rdi, rbp
	pop	rbp
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	pop	r12
	.cfi_def_cfa_offset 32
	pop	r13
	.cfi_def_cfa_offset 24
	pop	r14
	.cfi_def_cfa_offset 16
	pop	r15
	.cfi_def_cfa_offset 8
	jmp	uether_ioctl@PLT
	.p2align 4,,10
	.p2align 3
.L18:
	.cfi_restore_state
	mov	rdi, rax
	mov	r14, rax
	call	AXGE_LOCK@PLT
	mov	edx, DWORD PTR 0[rbp]
	mov	eax, DWORD PTR 0[r13]
	mov	ecx, DWORD PTR IFCAP_TXCSUM[rip]
	xor	eax, edx
	test	ecx, eax
	jne	.L3
	mov	esi, DWORD PTR IFCAP_RXCSUM[rip]
	test	eax, esi
	je	.L16
	mov	edi, DWORD PTR 4[rbp]
.L10:
	test	edi, esi
	je	.L16
.L14:
	xor	edx, esi
	mov	DWORD PTR 0[rbp], edx
.L12:
	mov	edx, DWORD PTR 8[rbp]
	mov	eax, DWORD PTR IFF_DRV_RUNNING[rip]
	test	edx, eax
	je	.L16
	not	eax
	mov	rdi, r14
	and	eax, edx
	mov	DWORD PTR 8[rbp], eax
	call	AXGE_UNLOCK@PLT
	mov	rdi, r15
	call	uether_init@PLT
	pop	rbp
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	xor	eax, eax
	pop	r12
	.cfi_def_cfa_offset 32
	pop	r13
	.cfi_def_cfa_offset 24
	pop	r14
	.cfi_def_cfa_offset 16
	pop	r15
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L3:
	.cfi_restore_state
	mov	esi, DWORD PTR IFCAP_RXCSUM[rip]
	mov	edi, DWORD PTR 4[rbp]
	and	eax, esi
	test	ecx, edi
	je	.L6
	xor	edx, ecx
	mov	r9d, DWORD PTR 12[rbp]
	mov	r8d, DWORD PTR AXGE_CSUM_FEATURES[rip]
	mov	DWORD PTR 0[rbp], edx
	test	ecx, edx
	jne	.L19
	not	r8d
	and	r8d, r9d
	mov	DWORD PTR 12[rbp], r8d
	test	eax, eax
	je	.L12
.L8:
	test	edi, esi
	je	.L12
	jmp	.L14
	.p2align 4,,10
	.p2align 3
.L6:
	test	eax, eax
	jne	.L10
.L16:
	mov	rdi, r14
	call	AXGE_UNLOCK@PLT
	pop	rbp
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	xor	eax, eax
	pop	r12
	.cfi_def_cfa_offset 32
	pop	r13
	.cfi_def_cfa_offset 24
	pop	r14
	.cfi_def_cfa_offset 16
	pop	r15
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L19:
	.cfi_restore_state
	or	r8d, r9d
	mov	DWORD PTR 12[rbp], r8d
	test	eax, eax
	jne	.L8
	jmp	.L12
	.cfi_endproc
.LFE0:
	.size	axge_ioctl, .-axge_ioctl
	.comm	SIOCSIFCAP,8,8
	.comm	IFF_DRV_RUNNING,4,4
	.comm	IFCAP_TXCSUM,4,4
	.comm	IFCAP_RXCSUM,4,4
	.comm	AXGE_CSUM_FEATURES,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_if_axge.c_axge_ioctl.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	axge_ioctl, %function
axge_ioctl:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, lr}
	mov	r5, r1
	ldr	r7, [r0, #16]
	mov	r4, r0
	mov	r0, r7
	mov	r6, r2
	bl	uether_getsc
	ldr	r3, .L20
	ldr	r3, [r3]
	cmp	r3, r5
	beq	.L18
	mov	r2, r6
	mov	r1, r5
	mov	r0, r4
	pop	{r4, r5, r6, r7, r8, lr}
	b	uether_ioctl
.L18:
	mov	r8, r0
	bl	AXGE_LOCK
	ldr	r1, .L20+4
	ldr	r3, [r6]
	ldr	r2, [r4]
	ldr	r0, [r1]
	eor	r3, r3, r2
	tst	r0, r3
	ldr	r1, .L20+8
	bne	.L3
	ldr	r1, [r1]
	tst	r3, r1
	beq	.L16
	ldr	ip, [r4, #4]
.L10:
	tst	ip, r1
	beq	.L16
.L14:
	eor	r2, r2, r1
	str	r2, [r4]
.L12:
	ldr	r2, .L20+12
	ldr	r3, [r4, #8]
	ldr	r2, [r2]
	tst	r3, r2
	beq	.L16
	bic	r3, r3, r2
	str	r3, [r4, #8]
	mov	r0, r8
	bl	AXGE_UNLOCK
	mov	r0, r7
	bl	uether_init
	mov	r0, #0
	pop	{r4, r5, r6, r7, r8, pc}
.L3:
	ldr	ip, [r4, #4]
	ldr	r1, [r1]
	tst	r0, ip
	and	r3, r3, r1
	beq	.L6
	eor	r2, r2, r0
	ldr	lr, .L20+16
	tst	r0, r2
	ldr	lr, [lr]
	ldr	r0, [r4, #12]
	str	r2, [r4]
	bne	.L19
	bic	r0, r0, lr
	cmp	r3, #0
	str	r0, [r4, #12]
	beq	.L12
.L8:
	tst	ip, r1
	beq	.L12
	b	.L14
.L6:
	cmp	r3, #0
	bne	.L10
.L16:
	mov	r0, r8
	bl	AXGE_UNLOCK
	mov	r0, #0
	pop	{r4, r5, r6, r7, r8, pc}
.L19:
	orr	r0, r0, lr
	cmp	r3, #0
	str	r0, [r4, #12]
	bne	.L8
	b	.L12
.L21:
	.align	2
.L20:
	.word	SIOCSIFCAP
	.word	IFCAP_TXCSUM
	.word	IFCAP_RXCSUM
	.word	IFF_DRV_RUNNING
	.word	AXGE_CSUM_FEATURES
	.size	axge_ioctl, .-axge_ioctl
	.comm	SIOCSIFCAP,4,4
	.comm	IFF_DRV_RUNNING,4,4
	.comm	IFCAP_TXCSUM,4,4
	.comm	IFCAP_RXCSUM,4,4
	.comm	AXGE_CSUM_FEATURES,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
