	.file	"extr_nl80211.c_nl80211_register_mgmt.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	nl80211_register_mgmt, @function
nl80211_register_mgmt:
.LFB0:
	.cfi_startproc
	endbr64
	mov	rax, QWORD PTR [rsi]
	mov	rdx, QWORD PTR NL80211_ATTR_FRAME_MATCH[rip]
	cmp	QWORD PTR [rax+rdx*8], 0
	je	.L13
	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
	push	rbx
	.cfi_def_cfa_offset 40
	.cfi_offset 3, -40
	mov	rbx, rsi
	sub	rsp, 8
	.cfi_def_cfa_offset 48
	mov	rdx, QWORD PTR 16[rsi]
	mov	rbp, QWORD PTR [rdx]
	mov	r13, QWORD PTR 8[rdx]
	mov	rdx, QWORD PTR NL80211_ATTR_FRAME_TYPE[rip]
	mov	rdi, QWORD PTR [rax+rdx*8]
	test	rdi, rdi
	jne	.L4
	mov	edx, DWORD PTR IEEE80211_FTYPE_MGMT[rip]
	or	edx, DWORD PTR IEEE80211_STYPE_ACTION[rip]
	mov	r12d, edx
.L5:
	mov	eax, DWORD PTR 0[r13]
	lea	ecx, -128[rax]
	cmp	ecx, 7
	ja	.L11
	mov	rax, QWORD PTR 8[rbp]
	mov	eax, DWORD PTR [rax]
	test	eax, eax
	jne	.L7
.L11:
	mov	eax, DWORD PTR EOPNOTSUPP[rip]
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	pop	rbx
	.cfi_def_cfa_offset 32
	pop	rbp
	.cfi_def_cfa_offset 24
	neg	eax
	pop	r12
	.cfi_def_cfa_offset 16
	pop	r13
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L4:
	.cfi_restore_state
	call	nla_get_u16@PLT
	mov	r12d, eax
	jmp	.L5
	.p2align 4,,10
	.p2align 3
.L13:
	.cfi_def_cfa_offset 8
	.cfi_restore 3
	.cfi_restore 6
	.cfi_restore 12
	.cfi_restore 13
	mov	eax, DWORD PTR EINVAL[rip]
	neg	eax
	ret
	.p2align 4,,10
	.p2align 3
.L7:
	.cfi_def_cfa_offset 48
	.cfi_offset 3, -40
	.cfi_offset 6, -32
	.cfi_offset 12, -24
	.cfi_offset 13, -16
	mov	rax, QWORD PTR [rbx]
	mov	rdx, QWORD PTR NL80211_ATTR_FRAME_MATCH[rip]
	mov	rdi, QWORD PTR [rax+rdx*8]
	call	nla_len@PLT
	mov	rdx, QWORD PTR NL80211_ATTR_FRAME_MATCH[rip]
	mov	ebp, eax
	mov	rax, QWORD PTR [rbx]
	mov	rdi, QWORD PTR [rax+rdx*8]
	call	nla_data@PLT
	mov	esi, DWORD PTR 8[rbx]
	add	rsp, 8
	.cfi_def_cfa_offset 40
	mov	r8d, ebp
	pop	rbx
	.cfi_restore 3
	.cfi_def_cfa_offset 32
	mov	edx, r12d
	pop	rbp
	.cfi_restore 6
	.cfi_def_cfa_offset 24
	mov	rdi, r13
	pop	r12
	.cfi_restore 12
	.cfi_def_cfa_offset 16
	mov	ecx, eax
	pop	r13
	.cfi_restore 13
	.cfi_def_cfa_offset 8
	jmp	cfg80211_mlme_register_mgmt@PLT
	.cfi_endproc
.LFE0:
	.size	nl80211_register_mgmt, .-nl80211_register_mgmt
	.comm	NL80211_ATTR_FRAME_TYPE,8,8
	.comm	NL80211_ATTR_FRAME_MATCH,8,8
	.comm	IEEE80211_STYPE_ACTION,4,4
	.comm	IEEE80211_FTYPE_MGMT,4,4
	.comm	EOPNOTSUPP,4,4
	.comm	EINVAL,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_nl80211.c_nl80211_register_mgmt.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	nl80211_register_mgmt, %function
nl80211_register_mgmt:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, lr}
	ldr	r5, .L12
	ldr	r3, [r1]
	ldr	r2, [r5]
	sub	sp, sp, #8
	ldr	r2, [r3, r2, lsl #2]
	cmp	r2, #0
	beq	.L11
	mov	r4, r1
	ldr	r1, .L12+4
	ldr	r2, [r4, #8]
	ldr	r1, [r1]
	ldr	r7, [r2]
	ldr	r0, [r3, r1, lsl #2]
	ldr	r6, [r2, #4]
	cmp	r0, #0
	bne	.L4
	ldr	r2, .L12+8
	ldr	r3, .L12+12
	ldr	r0, [r2]
	ldr	r2, [r3]
	orr	r8, r0, r2
.L5:
	ldr	r3, [r6]
	sub	r3, r3, #128
	cmp	r3, #7
	bhi	.L9
	ldr	r3, [r7, #4]
	ldr	r3, [r3]
	cmp	r3, #0
	bne	.L7
.L9:
	ldr	r3, .L12+16
	ldr	r0, [r3]
	rsb	r0, r0, #0
	add	sp, sp, #8
	@ sp needed
	pop	{r4, r5, r6, r7, r8, pc}
.L4:
	bl	nla_get_u16
	mov	r8, r0
	b	.L5
.L11:
	ldr	r3, .L12+20
	ldr	r0, [r3]
	rsb	r0, r0, #0
	add	sp, sp, #8
	@ sp needed
	pop	{r4, r5, r6, r7, r8, pc}
.L7:
	ldr	r2, [r5]
	ldm	r4, {r3, r7}
	ldr	r0, [r3, r2, lsl #2]
	bl	nla_data
	ldr	r2, [r5]
	ldr	r3, [r4]
	mov	r4, r0
	ldr	r0, [r3, r2, lsl #2]
	bl	nla_len
	mov	r3, r4
	str	r0, [sp]
	mov	r1, r7
	mov	r2, r8
	mov	r0, r6
	bl	cfg80211_mlme_register_mgmt
	add	sp, sp, #8
	@ sp needed
	pop	{r4, r5, r6, r7, r8, pc}
.L13:
	.align	2
.L12:
	.word	NL80211_ATTR_FRAME_MATCH
	.word	NL80211_ATTR_FRAME_TYPE
	.word	IEEE80211_FTYPE_MGMT
	.word	IEEE80211_STYPE_ACTION
	.word	EOPNOTSUPP
	.word	EINVAL
	.size	nl80211_register_mgmt, .-nl80211_register_mgmt
	.comm	NL80211_ATTR_FRAME_TYPE,4,4
	.comm	NL80211_ATTR_FRAME_MATCH,4,4
	.comm	IEEE80211_STYPE_ACTION,4,4
	.comm	IEEE80211_FTYPE_MGMT,4,4
	.comm	EOPNOTSUPP,4,4
	.comm	EINVAL,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
