	.file	"extr_nl80211.c_nl80211_send_survey.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	nl80211_send_survey, @function
nl80211_send_survey:
.LFB0:
	.cfi_startproc
	endbr64
	push	r13
	.cfi_def_cfa_offset 16
	.cfi_offset 13, -16
	mov	r13, r8
	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
	mov	rbx, r9
	sub	rsp, 8
	.cfi_def_cfa_offset 48
	mov	r8d, DWORD PTR NL80211_CMD_NEW_SURVEY_RESULTS[rip]
	call	nl80211hdr_put@PLT
	test	rax, rax
	je	.L39
	mov	edx, DWORD PTR 0[r13]
	mov	esi, DWORD PTR NL80211_ATTR_IFINDEX[rip]
	mov	rdi, rbp
	mov	r12, rax
	call	nla_put_u32@PLT
	test	rax, rax
	je	.L40
.L4:
	mov	rsi, r12
	mov	rdi, rbp
	call	genlmsg_cancel@PLT
	mov	eax, DWORD PTR EMSGSIZE[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
.L40:
	.cfi_restore_state
	mov	esi, DWORD PTR NL80211_ATTR_SURVEY_INFO[rip]
	mov	rdi, rbp
	call	nla_nest_start@PLT
	mov	r13, rax
	test	rax, rax
	je	.L4
	mov	rax, QWORD PTR 32[rbx]
	mov	esi, DWORD PTR NL80211_SURVEY_INFO_FREQUENCY[rip]
	mov	rdi, rbp
	mov	edx, DWORD PTR [rax]
	call	nla_put_u32@PLT
	test	rax, rax
	jne	.L4
	mov	eax, DWORD PTR [rbx]
	test	DWORD PTR SURVEY_INFO_NOISE_DBM[rip], eax
	jne	.L41
.L5:
	test	DWORD PTR SURVEY_INFO_IN_USE[rip], eax
	jne	.L42
.L6:
	test	DWORD PTR SURVEY_INFO_CHANNEL_TIME[rip], eax
	jne	.L43
.L7:
	test	DWORD PTR SURVEY_INFO_CHANNEL_TIME_BUSY[rip], eax
	jne	.L44
.L8:
	test	DWORD PTR SURVEY_INFO_CHANNEL_TIME_EXT_BUSY[rip], eax
	jne	.L45
.L9:
	test	DWORD PTR SURVEY_INFO_CHANNEL_TIME_RX[rip], eax
	jne	.L46
.L10:
	test	DWORD PTR SURVEY_INFO_CHANNEL_TIME_TX[rip], eax
	je	.L12
	mov	edx, DWORD PTR 4[rbx]
	mov	esi, DWORD PTR NL80211_SURVEY_INFO_CHANNEL_TIME_TX[rip]
	mov	rdi, rbp
	call	nla_put_u64@PLT
	test	rax, rax
	jne	.L4
.L12:
	mov	rsi, r13
	mov	rdi, rbp
	call	nla_nest_end@PLT
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	mov	rsi, r12
	mov	rdi, rbp
	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
	jmp	genlmsg_end@PLT
	.p2align 4,,10
	.p2align 3
.L39:
	.cfi_restore_state
	mov	eax, DWORD PTR ENOMEM[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
.L41:
	.cfi_restore_state
	mov	edx, DWORD PTR 24[rbx]
	mov	esi, DWORD PTR NL80211_SURVEY_INFO_NOISE[rip]
	mov	rdi, rbp
	call	nla_put_u8@PLT
	test	rax, rax
	jne	.L4
	mov	eax, DWORD PTR [rbx]
	jmp	.L5
	.p2align 4,,10
	.p2align 3
.L42:
	mov	esi, DWORD PTR NL80211_SURVEY_INFO_IN_USE[rip]
	mov	rdi, rbp
	call	nla_put_flag@PLT
	test	rax, rax
	jne	.L4
	mov	eax, DWORD PTR [rbx]
	jmp	.L6
	.p2align 4,,10
	.p2align 3
.L43:
	mov	edx, DWORD PTR 20[rbx]
	mov	esi, DWORD PTR NL80211_SURVEY_INFO_CHANNEL_TIME[rip]
	mov	rdi, rbp
	call	nla_put_u64@PLT
	test	rax, rax
	jne	.L4
	mov	eax, DWORD PTR [rbx]
	jmp	.L7
	.p2align 4,,10
	.p2align 3
.L44:
	mov	edx, DWORD PTR 16[rbx]
	mov	esi, DWORD PTR NL80211_SURVEY_INFO_CHANNEL_TIME_BUSY[rip]
	mov	rdi, rbp
	call	nla_put_u64@PLT
	test	rax, rax
	jne	.L4
	mov	eax, DWORD PTR [rbx]
	jmp	.L8
	.p2align 4,,10
	.p2align 3
.L45:
	mov	edx, DWORD PTR 12[rbx]
	mov	esi, DWORD PTR NL80211_SURVEY_INFO_CHANNEL_TIME_EXT_BUSY[rip]
	mov	rdi, rbp
	call	nla_put_u64@PLT
	test	rax, rax
	jne	.L4
	mov	eax, DWORD PTR [rbx]
	jmp	.L9
	.p2align 4,,10
	.p2align 3
.L46:
	mov	edx, DWORD PTR 8[rbx]
	mov	esi, DWORD PTR NL80211_SURVEY_INFO_CHANNEL_TIME_RX[rip]
	mov	rdi, rbp
	call	nla_put_u64@PLT
	test	rax, rax
	jne	.L4
	mov	eax, DWORD PTR [rbx]
	jmp	.L10
	.cfi_endproc
.LFE0:
	.size	nl80211_send_survey, .-nl80211_send_survey
	.comm	SURVEY_INFO_NOISE_DBM,4,4
	.comm	SURVEY_INFO_IN_USE,4,4
	.comm	SURVEY_INFO_CHANNEL_TIME_TX,4,4
	.comm	SURVEY_INFO_CHANNEL_TIME_RX,4,4
	.comm	SURVEY_INFO_CHANNEL_TIME_EXT_BUSY,4,4
	.comm	SURVEY_INFO_CHANNEL_TIME_BUSY,4,4
	.comm	SURVEY_INFO_CHANNEL_TIME,4,4
	.comm	NL80211_SURVEY_INFO_NOISE,4,4
	.comm	NL80211_SURVEY_INFO_IN_USE,4,4
	.comm	NL80211_SURVEY_INFO_FREQUENCY,4,4
	.comm	NL80211_SURVEY_INFO_CHANNEL_TIME_TX,4,4
	.comm	NL80211_SURVEY_INFO_CHANNEL_TIME_RX,4,4
	.comm	NL80211_SURVEY_INFO_CHANNEL_TIME_EXT_BUSY,4,4
	.comm	NL80211_SURVEY_INFO_CHANNEL_TIME_BUSY,4,4
	.comm	NL80211_SURVEY_INFO_CHANNEL_TIME,4,4
	.comm	NL80211_CMD_NEW_SURVEY_RESULTS,4,4
	.comm	NL80211_ATTR_SURVEY_INFO,4,4
	.comm	NL80211_ATTR_IFINDEX,4,4
	.comm	ENOMEM,4,4
	.comm	EMSGSIZE,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_send_survey.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	nl80211_send_survey, %function
nl80211_send_survey:
	@ args = 8, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, lr}
	ldr	ip, .L47
	sub	sp, sp, #12
	ldr	ip, [ip]
	mov	r4, r0
	str	ip, [sp]
	ldr	r7, [sp, #32]
	ldr	r6, [sp, #36]
	bl	nl80211hdr_put
	subs	r5, r0, #0
	beq	.L39
	ldr	r3, .L47+4
	mov	r0, r4
	ldr	r2, [r7]
	ldr	r1, [r3]
	bl	nla_put_u32
	cmp	r0, #0
	beq	.L40
.L4:
	mov	r1, r5
	mov	r0, r4
	bl	genlmsg_cancel
	ldr	r3, .L47+8
	ldr	r0, [r3]
	rsb	r0, r0, #0
	add	sp, sp, #12
	@ sp needed
	pop	{r4, r5, r6, r7, pc}
.L40:
	ldr	r3, .L47+12
	mov	r0, r4
	ldr	r1, [r3]
	bl	nla_nest_start
	subs	r7, r0, #0
	beq	.L4
	ldr	r2, [r6, #28]
	ldr	r3, .L47+16
	mov	r0, r4
	ldr	r2, [r2]
	ldr	r1, [r3]
	bl	nla_put_u32
	cmp	r0, #0
	bne	.L4
	ldr	r2, .L47+20
	ldr	r3, [r6]
	ldr	r2, [r2]
	tst	r3, r2
	bne	.L41
.L5:
	ldr	r2, .L47+24
	ldr	r2, [r2]
	tst	r3, r2
	bne	.L42
.L6:
	ldr	r2, .L47+28
	ldr	r2, [r2]
	tst	r3, r2
	bne	.L43
.L7:
	ldr	r2, .L47+32
	ldr	r2, [r2]
	tst	r3, r2
	bne	.L44
.L8:
	ldr	r2, .L47+36
	ldr	r2, [r2]
	tst	r3, r2
	bne	.L45
.L9:
	ldr	r2, .L47+40
	ldr	r2, [r2]
	tst	r3, r2
	bne	.L46
.L10:
	ldr	r2, .L47+44
	ldr	r2, [r2]
	tst	r3, r2
	beq	.L12
	ldr	r3, .L47+48
	mov	r0, r4
	ldr	r2, [r6, #4]
	ldr	r1, [r3]
	bl	nla_put_u64
	cmp	r0, #0
	bne	.L4
.L12:
	mov	r1, r7
	mov	r0, r4
	bl	nla_nest_end
	mov	r1, r5
	mov	r0, r4
	add	sp, sp, #12
	@ sp needed
	pop	{r4, r5, r6, r7, lr}
	b	genlmsg_end
.L39:
	ldr	r3, .L47+52
	ldr	r0, [r3]
	rsb	r0, r0, #0
	add	sp, sp, #12
	@ sp needed
	pop	{r4, r5, r6, r7, pc}
.L41:
	ldr	r3, .L47+56
	mov	r0, r4
	ldr	r2, [r6, #24]
	ldr	r1, [r3]
	bl	nla_put_u8
	cmp	r0, #0
	bne	.L4
	ldr	r3, [r6]
	b	.L5
.L42:
	ldr	r3, .L47+60
	mov	r0, r4
	ldr	r1, [r3]
	bl	nla_put_flag
	cmp	r0, #0
	bne	.L4
	ldr	r3, [r6]
	b	.L6
.L43:
	ldr	r3, .L47+64
	mov	r0, r4
	ldr	r2, [r6, #20]
	ldr	r1, [r3]
	bl	nla_put_u64
	cmp	r0, #0
	bne	.L4
	ldr	r3, [r6]
	b	.L7
.L44:
	ldr	r3, .L47+68
	mov	r0, r4
	ldr	r2, [r6, #16]
	ldr	r1, [r3]
	bl	nla_put_u64
	cmp	r0, #0
	bne	.L4
	ldr	r3, [r6]
	b	.L8
.L45:
	ldr	r3, .L47+72
	mov	r0, r4
	ldr	r2, [r6, #12]
	ldr	r1, [r3]
	bl	nla_put_u64
	cmp	r0, #0
	bne	.L4
	ldr	r3, [r6]
	b	.L9
.L46:
	ldr	r3, .L47+76
	mov	r0, r4
	ldr	r2, [r6, #8]
	ldr	r1, [r3]
	bl	nla_put_u64
	cmp	r0, #0
	bne	.L4
	ldr	r3, [r6]
	b	.L10
.L48:
	.align	2
.L47:
	.word	NL80211_CMD_NEW_SURVEY_RESULTS
	.word	NL80211_ATTR_IFINDEX
	.word	EMSGSIZE
	.word	NL80211_ATTR_SURVEY_INFO
	.word	NL80211_SURVEY_INFO_FREQUENCY
	.word	SURVEY_INFO_NOISE_DBM
	.word	SURVEY_INFO_IN_USE
	.word	SURVEY_INFO_CHANNEL_TIME
	.word	SURVEY_INFO_CHANNEL_TIME_BUSY
	.word	SURVEY_INFO_CHANNEL_TIME_EXT_BUSY
	.word	SURVEY_INFO_CHANNEL_TIME_RX
	.word	SURVEY_INFO_CHANNEL_TIME_TX
	.word	NL80211_SURVEY_INFO_CHANNEL_TIME_TX
	.word	ENOMEM
	.word	NL80211_SURVEY_INFO_NOISE
	.word	NL80211_SURVEY_INFO_IN_USE
	.word	NL80211_SURVEY_INFO_CHANNEL_TIME
	.word	NL80211_SURVEY_INFO_CHANNEL_TIME_BUSY
	.word	NL80211_SURVEY_INFO_CHANNEL_TIME_EXT_BUSY
	.word	NL80211_SURVEY_INFO_CHANNEL_TIME_RX
	.size	nl80211_send_survey, .-nl80211_send_survey
	.comm	SURVEY_INFO_NOISE_DBM,4,4
	.comm	SURVEY_INFO_IN_USE,4,4
	.comm	SURVEY_INFO_CHANNEL_TIME_TX,4,4
	.comm	SURVEY_INFO_CHANNEL_TIME_RX,4,4
	.comm	SURVEY_INFO_CHANNEL_TIME_EXT_BUSY,4,4
	.comm	SURVEY_INFO_CHANNEL_TIME_BUSY,4,4
	.comm	SURVEY_INFO_CHANNEL_TIME,4,4
	.comm	NL80211_SURVEY_INFO_NOISE,4,4
	.comm	NL80211_SURVEY_INFO_IN_USE,4,4
	.comm	NL80211_SURVEY_INFO_FREQUENCY,4,4
	.comm	NL80211_SURVEY_INFO_CHANNEL_TIME_TX,4,4
	.comm	NL80211_SURVEY_INFO_CHANNEL_TIME_RX,4,4
	.comm	NL80211_SURVEY_INFO_CHANNEL_TIME_EXT_BUSY,4,4
	.comm	NL80211_SURVEY_INFO_CHANNEL_TIME_BUSY,4,4
	.comm	NL80211_SURVEY_INFO_CHANNEL_TIME,4,4
	.comm	NL80211_CMD_NEW_SURVEY_RESULTS,4,4
	.comm	NL80211_ATTR_SURVEY_INFO,4,4
	.comm	NL80211_ATTR_IFINDEX,4,4
	.comm	ENOMEM,4,4
	.comm	EMSGSIZE,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
