	.file	"extr_cfunc.c_zfBssInfoReorderList.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.globl	zfBssInfoReorderList
	.type	zfBssInfoReorderList, @function
zfBssInfoReorderList:
.LFB0:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rdi
	call	zmw_get_wlan_dev@PLT
	xor	eax, eax
	call	zmw_declare_for_critical_section@PLT
	mov	rdi, rbp
	call	zmw_enter_critical_section@PLT
	mov	r8, QWORD PTR wd[rip]
	cmp	DWORD PTR [r8], 1
	jle	.L2
	mov	rax, QWORD PTR 8[r8]
	mov	rsi, QWORD PTR 8[rax]
	mov	QWORD PTR 16[r8], rax
	mov	QWORD PTR 8[rax], 0
	test	rsi, rsi
	je	.L2
	.p2align 4,,10
	.p2align 3
.L3:
	mov	rdx, QWORD PTR [rsi]
	cmp	rdx, QWORD PTR [rax]
	jl	.L7
	jmp	.L15
	.p2align 4,,10
	.p2align 3
.L17:
	cmp	QWORD PTR [rax], rdx
	jle	.L16
.L7:
	mov	rcx, rax
	mov	rax, QWORD PTR 8[rax]
	test	rax, rax
	jne	.L17
	mov	QWORD PTR 8[rcx], rsi
	mov	rdx, QWORD PTR 8[rsi]
	mov	rax, QWORD PTR 8[r8]
	mov	QWORD PTR 16[r8], rsi
	mov	QWORD PTR 8[rsi], 0
	mov	rsi, rdx
.L4:
	test	rsi, rsi
	jne	.L3
.L2:
	mov	rdi, rbp
	pop	rbp
	.cfi_remember_state
	.cfi_def_cfa_offset 8
	jmp	zmw_leave_critical_section@PLT
	.p2align 4,,10
	.p2align 3
.L16:
	.cfi_restore_state
	mov	QWORD PTR 8[rcx], rsi
	mov	rdx, QWORD PTR 8[rsi]
	mov	QWORD PTR 8[rsi], rax
	mov	rax, QWORD PTR 8[r8]
	mov	rsi, rdx
	jmp	.L4
.L15:
	mov	rdx, QWORD PTR 8[rsi]
	mov	QWORD PTR 8[r8], rsi
	mov	QWORD PTR 8[rsi], rax
	mov	rax, rsi
	mov	rsi, rdx
	jmp	.L4
	.cfi_endproc
.LFE0:
	.size	zfBssInfoReorderList, .-zfBssInfoReorderList
	.comm	wd,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_cfunc.c_zfBssInfoReorderList.c"
	.text
	.align	2
	.global	zfBssInfoReorderList
	.syntax unified
	.arm
	.fpu softvfp
	.type	zfBssInfoReorderList, %function
zfBssInfoReorderList:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, lr}
	mov	r5, r0
	bl	zmw_get_wlan_dev
	bl	zmw_declare_for_critical_section
	mov	r0, r5
	bl	zmw_enter_critical_section
	ldr	r3, .L18
	ldr	r4, [r3]
	ldr	r3, [r4]
	cmp	r3, #1
	ble	.L2
	mov	r2, #0
	ldr	r3, [r4, #4]
	ldr	lr, [r3, #4]
	str	r3, [r4, #8]
	cmp	lr, r2
	str	r2, [r3, #4]
	beq	.L2
.L3:
	ldr	r1, [lr]
	ldr	r2, [r3]
	cmp	r1, r2
	blt	.L7
	b	.L15
.L17:
	ldr	r2, [r3]
	cmp	r2, r1
	ble	.L16
.L7:
	mov	ip, r3
	ldr	r3, [r3, #4]
	cmp	r3, #0
	bne	.L17
	str	lr, [ip, #4]
	ldr	r2, [lr, #4]
	str	lr, [r4, #8]
	str	r3, [lr, #4]
	mov	lr, r2
	ldr	r3, [r4, #4]
.L4:
	cmp	lr, #0
	bne	.L3
.L2:
	mov	r0, r5
	pop	{r4, r5, r6, lr}
	b	zmw_leave_critical_section
.L16:
	str	lr, [ip, #4]
	ldr	r2, [lr, #4]
	str	r3, [lr, #4]
	mov	lr, r2
	ldr	r3, [r4, #4]
	b	.L4
.L15:
	ldr	r2, [lr, #4]
	str	lr, [r4, #4]
	str	r3, [lr, #4]
	mov	r3, lr
	mov	lr, r2
	b	.L4
.L19:
	.align	2
.L18:
	.word	wd
	.size	zfBssInfoReorderList, .-zfBssInfoReorderList
	.comm	wd,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
