	.file	"extr_sdla.c_sdla_reconfig.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	sdla_reconfig, @function
sdla_reconfig:
.LFB0:
	.cfi_startproc
	endbr64
	push	r12
	.cfi_def_cfa_offset 16
	.cfi_offset 12, -16
	push	rbp
	.cfi_def_cfa_offset 24
	.cfi_offset 6, -24
	mov	rbp, rdi
	push	rbx
	.cfi_def_cfa_offset 32
	.cfi_offset 3, -32
	sub	rsp, 16
	.cfi_def_cfa_offset 48
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 8[rsp], rax
	xor	eax, eax
	call	netdev_priv@PLT
	mov	rsi, rax
	mov	eax, DWORD PTR CONFIG_DLCI_MAX[rip]
	test	eax, eax
	jle	.L6
	mov	rdx, QWORD PTR 8[rsi]
	sub	eax, 1
	mov	r10, QWORD PTR [rsp]
	xor	edi, edi
	lea	r8, 8[rdx+rax*8]
	.p2align 4,,10
	.p2align 3
.L4:
	mov	rcx, QWORD PTR [rdx]
	test	rcx, rcx
	je	.L3
	movsx	r9, edi
	add	edi, 1
	mov	QWORD PTR [r10+r9*8], rcx
.L3:
	add	rdx, 8
	cmp	r8, rdx
	jne	.L4
	lea	r12d, 4[rdi+rdi]
.L2:
	mov	rbx, rsp
	mov	edx, 4
	mov	rdi, rbx
	call	memcpy@PLT
	push	0
	.cfi_def_cfa_offset 56
	mov	esi, DWORD PTR SDLA_DISABLE_COMMUNICATIONS[rip]
	xor	r9d, r9d
	push	0
	.cfi_def_cfa_offset 64
	xor	r8d, r8d
	xor	ecx, ecx
	xor	edx, edx
	mov	rdi, rbp
	call	sdla_cmd@PLT
	push	0
	.cfi_def_cfa_offset 72
	mov	esi, DWORD PTR SDLA_SET_DLCI_CONFIGURATION[rip]
	xor	ecx, ecx
	push	0
	.cfi_def_cfa_offset 80
	xor	edx, edx
	mov	r9d, r12d
	mov	r8, rbx
	mov	rdi, rbp
	call	sdla_cmd@PLT
	add	rsp, 32
	.cfi_def_cfa_offset 48
	xor	edx, edx
	xor	r9d, r9d
	push	0
	.cfi_def_cfa_offset 56
	mov	esi, DWORD PTR SDLA_ENABLE_COMMUNICATIONS[rip]
	xor	r8d, r8d
	xor	ecx, ecx
	push	0
	.cfi_def_cfa_offset 64
	mov	rdi, rbp
	call	sdla_cmd@PLT
	pop	rax
	.cfi_def_cfa_offset 56
	pop	rdx
	.cfi_def_cfa_offset 48
	mov	rax, QWORD PTR 8[rsp]
	xor	rax, QWORD PTR fs:40
	jne	.L13
	add	rsp, 16
	.cfi_remember_state
	.cfi_def_cfa_offset 32
	xor	eax, eax
	pop	rbx
	.cfi_def_cfa_offset 24
	pop	rbp
	.cfi_def_cfa_offset 16
	pop	r12
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L6:
	.cfi_restore_state
	mov	r12d, 4
	jmp	.L2
.L13:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	sdla_reconfig, .-sdla_reconfig
	.comm	SDLA_SET_DLCI_CONFIGURATION,4,4
	.comm	SDLA_ENABLE_COMMUNICATIONS,4,4
	.comm	SDLA_DISABLE_COMMUNICATIONS,4,4
	.comm	CONFIG_DLCI_MAX,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_sdla.c_sdla_reconfig.c"
	.text
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC0:
	.word	__stack_chk_guard
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	sdla_reconfig, %function
sdla_reconfig:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, lr}
	ldr	r3, .L14
	sub	sp, sp, #28
	ldr	r3, [r3]
	str	r3, [sp, #20]
	mov	r3,#0
	mov	r6, r0
	bl	netdev_priv
	ldr	r3, .L14+4
	mov	r1, r0
	ldr	lr, [r3]
	cmp	lr, #0
	ble	.L6
	mov	ip, #0
	ldr	r3, [r0, #4]
	ldr	r4, [sp, #16]
	add	lr, r3, lr, lsl #2
	sub	lr, lr, #4
	sub	r3, r3, #4
.L4:
	ldr	r2, [r3, #4]!
	cmp	r2, #0
	strne	r2, [r4, ip, lsl #2]
	addne	ip, ip, #1
	cmp	lr, r3
	bne	.L4
	lsl	ip, ip, #1
	add	r5, ip, #4
.L2:
	mov	r4, #0
	add	r7, sp, #16
	mov	r2, #4
	mov	r0, r7
	bl	memcpy
	ldr	r1, .L14+8
	str	r4, [sp, #12]
	str	r4, [sp, #8]
	str	r4, [sp, #4]
	str	r4, [sp]
	mov	r3, r4
	mov	r2, r4
	ldr	r1, [r1]
	mov	r0, r6
	bl	sdla_cmd
	ldr	r1, .L14+12
	str	r7, [sp]
	str	r4, [sp, #12]
	str	r4, [sp, #8]
	str	r5, [sp, #4]
	mov	r3, r4
	mov	r2, r4
	ldr	r1, [r1]
	mov	r0, r6
	bl	sdla_cmd
	ldr	r1, .L14+16
	str	r4, [sp, #12]
	str	r4, [sp, #8]
	str	r4, [sp, #4]
	str	r4, [sp]
	mov	r3, r4
	mov	r2, r4
	mov	r0, r6
	ldr	r1, [r1]
	bl	sdla_cmd
	ldr	r3, .L14
	ldr	r2, [r3]
	ldr	r3, [sp, #20]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L13
	mov	r0, r4
	add	sp, sp, #28
	@ sp needed
	pop	{r4, r5, r6, r7, pc}
.L6:
	mov	r5, #4
	b	.L2
.L13:
	bl	__stack_chk_fail
.L15:
	.align	2
.L14:
	.word	.LC0
	.word	CONFIG_DLCI_MAX
	.word	SDLA_DISABLE_COMMUNICATIONS
	.word	SDLA_SET_DLCI_CONFIGURATION
	.word	SDLA_ENABLE_COMMUNICATIONS
	.size	sdla_reconfig, .-sdla_reconfig
	.comm	SDLA_SET_DLCI_CONFIGURATION,4,4
	.comm	SDLA_ENABLE_COMMUNICATIONS,4,4
	.comm	SDLA_DISABLE_COMMUNICATIONS,4,4
	.comm	CONFIG_DLCI_MAX,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
