	.file	"extr_wlan_sys.c_wlan_get_mac_acl_macs.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.8,"aMS",@progbits,1
	.align 8
.LC0:
	.string	"iface %s - get param: ioctl(%d) failed: %s"
	.text
	.p2align 4
	.globl	wlan_get_mac_acl_macs
	.type	wlan_get_mac_acl_macs, @function
wlan_get_mac_acl_macs:
.LFB0:
	.cfi_startproc
	endbr64
	push	r13
	.cfi_def_cfa_offset 16
	.cfi_offset 13, -16
	push	r12
	.cfi_def_cfa_offset 24
	.cfi_offset 12, -24
	push	rbp
	.cfi_def_cfa_offset 32
	.cfi_offset 6, -32
	mov	rbp, rdi
	push	rbx
	.cfi_def_cfa_offset 40
	.cfi_offset 3, -40
	sub	rsp, 56
	.cfi_def_cfa_offset 96
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 40[rsp], rax
	xor	eax, eax
	mov	rax, QWORD PTR IEEE80211_MACCMD_LIST[rip]
	mov	QWORD PTR 8[rsp], 0
	mov	DWORD PTR 4[rsp], eax
	mov	rax, QWORD PTR wlanMACAccessControlPolicy_radius[rip]
	cmp	QWORD PTR [rdi], rax
	je	.L5
	lea	r12, 16[rsp]
	xor	esi, esi
	mov	edx, 24
	mov	rdi, r12
	call	memset@PLT
	mov	esi, DWORD PTR 12[rbp]
	mov	edx, DWORD PTR IFNAMSIZ[rip]
	mov	edi, DWORD PTR 32[rsp]
	call	strlcpy@PLT
	mov	eax, DWORD PTR IEEE80211_IOC_MACCMD[rip]
	mov	esi, DWORD PTR SIOCG80211[rip]
	mov	rdx, r12
	mov	edi, DWORD PTR sock[rip]
	mov	DWORD PTR 16[rsp], eax
	mov	rax, QWORD PTR IEEE80211_MACCMD_LIST[rip]
	mov	QWORD PTR 24[rsp], rax
	call	ioctl@PLT
	test	rax, rax
	js	.L17
.L4:
	mov	rdi, QWORD PTR 8[rsp]
	test	rdi, rdi
	jne	.L18
.L5:
	mov	DWORD PTR 8[rbp], 0
	xor	eax, eax
.L1:
	mov	rcx, QWORD PTR 40[rsp]
	xor	rcx, QWORD PTR fs:40
	jne	.L19
	add	rsp, 56
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	pop	rbx
	.cfi_def_cfa_offset 32
	pop	rbp
	.cfi_def_cfa_offset 24
	pop	r12
	.cfi_def_cfa_offset 16
	pop	r13
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L18:
	.cfi_restore_state
	call	malloc@PLT
	mov	rbx, rax
	test	rax, rax
	je	.L7
	mov	edi, DWORD PTR 12[rbp]
	mov	esi, DWORD PTR IEEE80211_IOC_MACCMD[rip]
	xor	r9d, r9d
	mov	rcx, rax
	lea	rdx, 4[rsp]
	lea	r8, 8[rsp]
	call	wlan_ioctl@PLT
	test	rax, rax
	js	.L7
	mov	r13, QWORD PTR 8[rsp]
	shr	r13, 2
	test	r13d, r13d
	jle	.L8
	lea	eax, -1[r13]
	lea	r12, 4[rbx+rax*4]
	.p2align 4,,10
	.p2align 3
.L9:
	mov	rsi, rbx
	mov	rdi, rbp
	add	rbx, 4
	call	wlan_add_mac_macinfo@PLT
	cmp	rbx, r12
	jne	.L9
.L8:
	mov	DWORD PTR 8[rbp], r13d
	xor	eax, eax
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L17:
	mov	rdi, QWORD PTR errno[rip]
	cmp	rdi, QWORD PTR EINVAL[rip]
	je	.L4
	call	strerror@PLT
	mov	edx, DWORD PTR 12[rbp]
	mov	ecx, DWORD PTR 16[rsp]
	lea	rsi, .LC0[rip]
	mov	edi, DWORD PTR LOG_ERR[rip]
	mov	r8d, eax
	call	syslog@PLT
	mov	QWORD PTR 16[rbp], 0
	mov	eax, -1
	jmp	.L1
.L7:
	mov	eax, -1
	jmp	.L1
.L19:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	wlan_get_mac_acl_macs, .-wlan_get_mac_acl_macs
	.comm	wlanMACAccessControlPolicy_radius,8,8
	.comm	sock,4,4
	.comm	errno,8,8
	.comm	SIOCG80211,4,4
	.comm	LOG_ERR,4,4
	.comm	IFNAMSIZ,4,4
	.comm	IEEE80211_MACCMD_LIST,8,8
	.comm	IEEE80211_IOC_MACCMD,4,4
	.comm	EINVAL,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_wlan_sys.c_wlan_get_mac_acl_macs.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"iface %s - get param: ioctl(%d) failed: %s\000"
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC1:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	wlan_get_mac_acl_macs
	.syntax unified
	.arm
	.fpu softvfp
	.type	wlan_get_mac_acl_macs, %function
wlan_get_mac_acl_macs:
	@ args = 0, pretend = 0, frame = 24
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, lr}
	mov	r4, #0
	ldr	r3, .L23
	ldr	r6, .L23+4
	ldr	r2, [r3]
	ldr	r1, [r0]
	ldr	r3, [r6]
	cmp	r1, r2
	ldr	r2, .L23+8
	sub	sp, sp, #32
	ldr	r2, [r2]
	str	r2, [sp, #28]
	mov	r2,#0
	mov	r5, r0
	str	r3, [sp, #8]
	str	r4, [sp, #12]
	beq	.L5
	ldr	r3, .L23+12
	ldr	r1, [r0, #8]
	ldr	r2, [r3]
	mov	r0, r4
	ldr	r7, .L23+16
	str	r4, [sp, #16]
	str	r4, [sp, #20]
	str	r4, [sp, #24]
	bl	strlcpy
	ldr	r1, .L23+20
	ldr	r0, .L23+24
	ldr	ip, [r6]
	ldr	r3, [r7]
	ldr	r1, [r1]
	ldr	r0, [r0]
	add	r2, sp, #16
	str	ip, [sp, #20]
	str	r3, [sp, #16]
	bl	ioctl
	cmp	r0, #0
	blt	.L20
.L4:
	ldr	r0, [sp, #12]
	cmp	r0, #0
	bne	.L21
.L5:
	mov	r0, #0
	str	r0, [r5, #4]
.L1:
	ldr	r3, .L23+8
	ldr	r2, [r3]
	ldr	r3, [sp, #28]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L22
	add	sp, sp, #32
	@ sp needed
	pop	{r4, r5, r6, r7, r8, pc}
.L21:
	bl	malloc
	subs	r4, r0, #0
	beq	.L7
	mov	r2, #0
	add	r3, sp, #12
	ldr	r1, [r7]
	str	r2, [sp, #4]
	str	r3, [sp]
	ldr	r0, [r5, #8]
	mov	r3, r4
	add	r2, sp, #8
	bl	wlan_ioctl
	cmp	r0, #0
	blt	.L7
	ldr	r3, [sp, #12]
	lsrs	r7, r3, #2
	beq	.L8
	add	r6, r4, r7, lsl #2
.L9:
	mov	r1, r4
	mov	r0, r5
	add	r4, r4, #4
	bl	wlan_add_mac_macinfo
	cmp	r4, r6
	bne	.L9
.L8:
	mov	r0, #0
	str	r7, [r5, #4]
	b	.L1
.L20:
	ldr	r2, .L23+28
	ldr	r3, .L23+32
	ldr	r0, [r2]
	ldr	r3, [r3]
	cmp	r0, r3
	beq	.L4
	ldr	r3, .L23+36
	ldr	r7, [r5, #8]
	ldr	r6, [r3]
	ldr	r8, [sp, #16]
	bl	strerror
	mov	r1, r0
	mov	r3, r8
	str	r1, [sp]
	mov	r2, r7
	mov	r0, r6
	ldr	r1, .L23+40
	bl	syslog
	mvn	r0, #0
	str	r4, [r5, #12]
	b	.L1
.L7:
	mvn	r0, #0
	b	.L1
.L22:
	bl	__stack_chk_fail
.L24:
	.align	2
.L23:
	.word	wlanMACAccessControlPolicy_radius
	.word	IEEE80211_MACCMD_LIST
	.word	.LC1
	.word	IFNAMSIZ
	.word	IEEE80211_IOC_MACCMD
	.word	SIOCG80211
	.word	sock
	.word	errno
	.word	EINVAL
	.word	LOG_ERR
	.word	.LC0
	.size	wlan_get_mac_acl_macs, .-wlan_get_mac_acl_macs
	.comm	wlanMACAccessControlPolicy_radius,4,4
	.comm	sock,4,4
	.comm	errno,4,4
	.comm	SIOCG80211,4,4
	.comm	LOG_ERR,4,4
	.comm	IFNAMSIZ,4,4
	.comm	IEEE80211_MACCMD_LIST,4,4
	.comm	IEEE80211_IOC_MACCMD,4,4
	.comm	EINVAL,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
