	.file	"extr_wifi.c_wifi_ap_listclient.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.8,"aMS",@progbits,1
	.align 8
.LC0:
	.string	"Can't list clients in STATION mode"
	.text
	.p2align 4
	.type	wifi_ap_listclient, @function
wifi_ap_listclient:
.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
	sub	rsp, 80
	.cfi_def_cfa_offset 112
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 72[rsp], rax
	xor	eax, eax
	call	wifi_get_opmode@PLT
	cmp	rax, QWORD PTR STATION_MODE[rip]
	je	.L13
	mov	rdi, r12
	call	lua_newtable@PLT
	xor	eax, eax
	call	wifi_softap_get_station_info@PLT
	mov	rbp, rax
	test	rax, rax
	je	.L4
	mov	rbx, rsp
	.p2align 4,,10
	.p2align 3
.L5:
	mov	edi, DWORD PTR 4[rbp]
	call	MAC2STR@PLT
	mov	rsi, QWORD PTR MACSTR[rip]
	mov	rdi, rbx
	mov	edx, eax
	call	sprintf@PLT
	mov	rdi, rbp
	call	IP2STR@PLT
	mov	edx, DWORD PTR IPSTR[rip]
	mov	rsi, rbx
	mov	rdi, r12
	mov	ecx, eax
	call	wifi_add_sprintf_field@PLT
	mov	esi, DWORD PTR next[rip]
	mov	rdi, rbp
	call	STAILQ_NEXT@PLT
	mov	rbp, rax
	test	rax, rax
	jne	.L5
.L4:
	xor	eax, eax
	call	wifi_softap_free_station_info@PLT
	mov	eax, 1
.L1:
	mov	rbx, QWORD PTR 72[rsp]
	xor	rbx, QWORD PTR fs:40
	jne	.L14
	add	rsp, 80
	.cfi_remember_state
	.cfi_def_cfa_offset 32
	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
.L13:
	.cfi_restore_state
	lea	rsi, .LC0[rip]
	mov	rdi, r12
	call	luaL_error@PLT
	jmp	.L1
.L14:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	wifi_ap_listclient, .-wifi_ap_listclient
	.comm	next,4,4
	.comm	STATION_MODE,8,8
	.comm	MACSTR,8,8
	.comm	IPSTR,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_wifi.c_wifi_ap_listclient.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"Can't list clients in STATION mode\000"
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC1:
	.word	__stack_chk_guard
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	wifi_ap_listclient, %function
wifi_ap_listclient:
	@ args = 0, pretend = 0, frame = 72
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, lr}
	ldr	r3, .L15
	sub	sp, sp, #76
	ldr	r3, [r3]
	str	r3, [sp, #68]
	mov	r3,#0
	mov	r6, r0
	bl	wifi_get_opmode
	ldr	r3, .L15+4
	ldr	r3, [r3]
	cmp	r0, r3
	mov	r0, r6
	beq	.L13
	bl	lua_newtable
	bl	wifi_softap_get_station_info
	subs	r4, r0, #0
	beq	.L4
	ldr	r9, .L15+8
	ldr	r8, .L15+12
	ldr	r7, .L15+16
.L5:
	ldr	r0, [r4, #4]
	ldr	r5, [r9]
	bl	MAC2STR
	mov	r1, r5
	mov	r2, r0
	add	r0, sp, #4
	bl	sprintf
	mov	r0, r4
	ldr	r5, [r8]
	bl	IP2STR
	mov	r2, r5
	mov	r3, r0
	add	r1, sp, #4
	mov	r0, r6
	bl	wifi_add_sprintf_field
	mov	r0, r4
	ldr	r1, [r7]
	bl	STAILQ_NEXT
	subs	r4, r0, #0
	bne	.L5
.L4:
	bl	wifi_softap_free_station_info
	mov	r0, #1
.L1:
	ldr	r3, .L15
	ldr	r2, [r3]
	ldr	r3, [sp, #68]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L14
	add	sp, sp, #76
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, pc}
.L13:
	ldr	r1, .L15+20
	bl	luaL_error
	b	.L1
.L14:
	bl	__stack_chk_fail
.L16:
	.align	2
.L15:
	.word	.LC1
	.word	STATION_MODE
	.word	MACSTR
	.word	IPSTR
	.word	next
	.word	.LC0
	.size	wifi_ap_listclient, .-wifi_ap_listclient
	.comm	next,4,4
	.comm	STATION_MODE,4,4
	.comm	MACSTR,4,4
	.comm	IPSTR,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
