	.file	"extr_hostap_ioctl.c_ap_mac_cmd_ioctl.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	ap_mac_cmd_ioctl, @function
ap_mac_cmd_ioctl:
.LFB0:
	.cfi_startproc
	endbr64
	mov	eax, DWORD PTR [rsi]
	add	eax, -128
	cmp	eax, 4
	ja	.L2
	lea	rdx, .L4[rip]
	push	rbx
	.cfi_def_cfa_offset 16
	.cfi_offset 3, -16
	mov	rbx, rdi
	movsx	rax, DWORD PTR [rdx+rax*4]
	add	rax, rdx
	notrack jmp	rax
	.section	.rodata
	.align 4
	.align 4
.L4:
	.long	.L8-.L4
	.long	.L7-.L4
	.long	.L6-.L4
	.long	.L5-.L4
	.long	.L3-.L4
	.text
	.p2align 4,,10
	.p2align 3
.L5:
	mov	rdi, QWORD PTR [rdi]
	call	ap_control_kickall@PLT
	mov	edi, DWORD PTR 8[rbx]
	mov	rsi, QWORD PTR [rbx]
	xor	edx, edx
	call	hostap_deauth_all_stas@PLT
	xor	eax, eax
	pop	rbx
	.cfi_remember_state
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L3:
	.cfi_restore_state
	mov	rdi, QWORD PTR [rdi]
	call	ap_control_flush_macs@PLT
	xor	eax, eax
	pop	rbx
	.cfi_remember_state
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L7:
	.cfi_restore_state
	mov	rax, QWORD PTR [rdi]
	mov	edx, DWORD PTR MAC_POLICY_DENY[rip]
	mov	DWORD PTR [rax], edx
	xor	eax, eax
	pop	rbx
	.cfi_remember_state
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L6:
	.cfi_restore_state
	mov	rax, QWORD PTR [rdi]
	mov	edx, DWORD PTR MAC_POLICY_ALLOW[rip]
	mov	DWORD PTR [rax], edx
	xor	eax, eax
	pop	rbx
	.cfi_remember_state
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L8:
	.cfi_restore_state
	mov	rax, QWORD PTR [rdi]
	mov	edx, DWORD PTR MAC_POLICY_OPEN[rip]
	mov	DWORD PTR [rax], edx
	xor	eax, eax
	pop	rbx
	.cfi_def_cfa_offset 8
	ret
.L2:
	.cfi_restore 3
	mov	eax, DWORD PTR EOPNOTSUPP[rip]
	neg	eax
	ret
	.cfi_endproc
.LFE0:
	.size	ap_mac_cmd_ioctl, .-ap_mac_cmd_ioctl
	.comm	MAC_POLICY_OPEN,4,4
	.comm	MAC_POLICY_DENY,4,4
	.comm	MAC_POLICY_ALLOW,4,4
	.comm	EOPNOTSUPP,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_hostap_ioctl.c_ap_mac_cmd_ioctl.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	ap_mac_cmd_ioctl, %function
ap_mac_cmd_ioctl:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	ldr	r3, [r1]
	push	{r4, lr}
	sub	r3, r3, #128
	mov	r4, r0
	cmp	r3, #4
	ldrls	pc, [pc, r3, asl #2]
	b	.L2
.L4:
	.word	.L8
	.word	.L7
	.word	.L6
	.word	.L5
	.word	.L3
.L3:
	ldr	r0, [r0]
	bl	ap_control_flush_macs
	mov	r0, #0
	pop	{r4, pc}
.L8:
	ldr	r2, .L12
	ldr	r3, [r0]
	ldr	r2, [r2]
	mov	r0, #0
	str	r2, [r3]
	pop	{r4, pc}
.L7:
	ldr	r2, .L12+4
	ldr	r3, [r0]
	ldr	r2, [r2]
	mov	r0, #0
	str	r2, [r3]
	pop	{r4, pc}
.L6:
	ldr	r2, .L12+8
	ldr	r3, [r0]
	ldr	r2, [r2]
	mov	r0, #0
	str	r2, [r3]
	pop	{r4, pc}
.L5:
	ldr	r0, [r0]
	bl	ap_control_kickall
	mov	r2, #0
	ldr	r1, [r4]
	ldr	r0, [r4, #4]
	bl	hostap_deauth_all_stas
	mov	r0, #0
	pop	{r4, pc}
.L2:
	ldr	r3, .L12+12
	ldr	r0, [r3]
	rsb	r0, r0, #0
	pop	{r4, pc}
.L13:
	.align	2
.L12:
	.word	MAC_POLICY_OPEN
	.word	MAC_POLICY_DENY
	.word	MAC_POLICY_ALLOW
	.word	EOPNOTSUPP
	.size	ap_mac_cmd_ioctl, .-ap_mac_cmd_ioctl
	.comm	MAC_POLICY_OPEN,4,4
	.comm	MAC_POLICY_DENY,4,4
	.comm	MAC_POLICY_ALLOW,4,4
	.comm	EOPNOTSUPP,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
