	.file	"extr_pmsr.c_nl80211_pmsr_send_result.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	nl80211_pmsr_send_result, @function
nl80211_pmsr_send_result:
.LFB0:
	.cfi_startproc
	endbr64
	push	r15
	.cfi_def_cfa_offset 16
	.cfi_offset 15, -16
	mov	r15, rdi
	push	r14
	.cfi_def_cfa_offset 24
	.cfi_offset 14, -24
	push	r13
	.cfi_def_cfa_offset 32
	.cfi_offset 13, -32
	push	r12
	.cfi_def_cfa_offset 40
	.cfi_offset 12, -40
	mov	r12, rsi
	push	rbp
	.cfi_def_cfa_offset 48
	.cfi_offset 6, -48
	push	rbx
	.cfi_def_cfa_offset 56
	.cfi_offset 3, -56
	sub	rsp, 24
	.cfi_def_cfa_offset 80
	mov	esi, DWORD PTR NL80211_ATTR_PEER_MEASUREMENTS[rip]
	call	nla_nest_start_noflag@PLT
	test	rax, rax
	je	.L2
	mov	esi, DWORD PTR NL80211_PMSR_ATTR_PEERS[rip]
	mov	rdi, r15
	mov	rbp, rax
	call	nla_nest_start_noflag@PLT
	mov	r13, rax
	test	rax, rax
	je	.L2
	mov	esi, 1
	mov	rdi, r15
	call	nla_nest_start_noflag@PLT
	mov	r14, rax
	test	rax, rax
	je	.L2
	mov	ecx, DWORD PTR 40[r12]
	mov	edx, DWORD PTR ETH_ALEN[rip]
	mov	rdi, r15
	mov	esi, DWORD PTR NL80211_PMSR_PEER_ATTR_ADDR[rip]
	call	nla_put@PLT
	test	rax, rax
	je	.L32
	.p2align 4,,10
	.p2align 3
.L2:
	mov	eax, DWORD PTR ENOSPC[rip]
	neg	eax
.L1:
	add	rsp, 24
	.cfi_remember_state
	.cfi_def_cfa_offset 56
	pop	rbx
	.cfi_def_cfa_offset 48
	pop	rbp
	.cfi_def_cfa_offset 40
	pop	r12
	.cfi_def_cfa_offset 32
	pop	r13
	.cfi_def_cfa_offset 24
	pop	r14
	.cfi_def_cfa_offset 16
	pop	r15
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L32:
	.cfi_restore_state
	mov	esi, DWORD PTR NL80211_PMSR_PEER_ATTR_RESP[rip]
	mov	rdi, r15
	call	nla_nest_start_noflag@PLT
	mov	rbx, rax
	test	rax, rax
	je	.L2
	mov	edx, DWORD PTR 36[r12]
	mov	esi, DWORD PTR NL80211_PMSR_RESP_ATTR_STATUS[rip]
	mov	rdi, r15
	call	nla_put_u32@PLT
	test	rax, rax
	jne	.L2
	mov	edx, DWORD PTR 32[r12]
	mov	ecx, DWORD PTR NL80211_PMSR_RESP_ATTR_PAD[rip]
	mov	rdi, r15
	mov	esi, DWORD PTR NL80211_PMSR_RESP_ATTR_HOST_TIME[rip]
	call	nla_put_u64_64bit@PLT
	test	rax, rax
	jne	.L2
	cmp	QWORD PTR 24[r12], 0
	jne	.L3
.L6:
	cmp	QWORD PTR 8[r12], 0
	je	.L5
	mov	esi, DWORD PTR NL80211_PMSR_RESP_ATTR_FINAL[rip]
	mov	rdi, r15
	call	nla_put_flag@PLT
	test	rax, rax
	jne	.L2
.L5:
	mov	esi, DWORD PTR NL80211_PMSR_RESP_ATTR_DATA[rip]
	mov	rdi, r15
	call	nla_nest_start_noflag@PLT
	mov	QWORD PTR [rsp], rax
	test	rax, rax
	je	.L2
	mov	esi, DWORD PTR [r12]
	mov	rdi, r15
	call	nla_nest_start_noflag@PLT
	test	rax, rax
	je	.L2
	cmp	DWORD PTR [r12], 128
	mov	QWORD PTR 8[rsp], rax
	je	.L33
	mov	edi, 1
	call	WARN_ON@PLT
	mov	r9, QWORD PTR 8[rsp]
.L9:
	mov	rsi, r9
	mov	rdi, r15
	call	nla_nest_end@PLT
	mov	rsi, QWORD PTR [rsp]
	mov	rdi, r15
	call	nla_nest_end@PLT
	mov	rsi, rbx
	mov	rdi, r15
	call	nla_nest_end@PLT
	mov	rsi, r14
	mov	rdi, r15
	call	nla_nest_end@PLT
	mov	rsi, r13
	mov	rdi, r15
	call	nla_nest_end@PLT
	mov	rsi, rbp
	mov	rdi, r15
	call	nla_nest_end@PLT
	xor	eax, eax
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L3:
	mov	edx, DWORD PTR 16[r12]
	mov	ecx, DWORD PTR NL80211_PMSR_RESP_ATTR_PAD[rip]
	mov	rdi, r15
	mov	esi, DWORD PTR NL80211_PMSR_RESP_ATTR_AP_TSF[rip]
	call	nla_put_u64_64bit@PLT
	test	rax, rax
	je	.L6
	jmp	.L2
.L33:
	mov	rsi, r12
	mov	rdi, r15
	call	nl80211_pmsr_send_ftm_res@PLT
	mov	r9, QWORD PTR 8[rsp]
	test	eax, eax
	je	.L9
	jmp	.L2
	.cfi_endproc
.LFE0:
	.size	nl80211_pmsr_send_result, .-nl80211_pmsr_send_result
	.comm	NL80211_PMSR_RESP_ATTR_STATUS,4,4
	.comm	NL80211_PMSR_RESP_ATTR_PAD,4,4
	.comm	NL80211_PMSR_RESP_ATTR_HOST_TIME,4,4
	.comm	NL80211_PMSR_RESP_ATTR_FINAL,4,4
	.comm	NL80211_PMSR_RESP_ATTR_DATA,4,4
	.comm	NL80211_PMSR_RESP_ATTR_AP_TSF,4,4
	.comm	NL80211_PMSR_PEER_ATTR_RESP,4,4
	.comm	NL80211_PMSR_PEER_ATTR_ADDR,4,4
	.comm	NL80211_PMSR_ATTR_PEERS,4,4
	.comm	NL80211_ATTR_PEER_MEASUREMENTS,4,4
	.comm	ETH_ALEN,4,4
	.comm	ENOSPC,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_pmsr.c_nl80211_pmsr_send_result.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	nl80211_pmsr_send_result, %function
nl80211_pmsr_send_result:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, r10, fp, lr}
	ldr	r3, .L34
	mov	r7, r1
	sub	sp, sp, #12
	ldr	r1, [r3]
	mov	r4, r0
	bl	nla_nest_start_noflag
	subs	r6, r0, #0
	beq	.L2
	ldr	r3, .L34+4
	mov	r0, r4
	ldr	r1, [r3]
	bl	nla_nest_start_noflag
	subs	r8, r0, #0
	beq	.L2
	mov	r1, #1
	mov	r0, r4
	bl	nla_nest_start_noflag
	subs	r9, r0, #0
	beq	.L2
	ldr	r3, .L34+8
	ldr	r2, .L34+12
	ldr	r1, [r3]
	mov	r0, r4
	ldr	r2, [r2]
	ldr	r3, [r7, #24]
	bl	nla_put
	cmp	r0, #0
	beq	.L32
.L2:
	ldr	r3, .L34+16
	ldr	r5, [r3]
	rsb	r5, r5, #0
.L1:
	mov	r0, r5
	add	sp, sp, #12
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, r10, fp, pc}
.L32:
	ldr	r3, .L34+20
	mov	r0, r4
	ldr	r1, [r3]
	bl	nla_nest_start_noflag
	subs	r10, r0, #0
	beq	.L2
	ldr	r3, .L34+24
	mov	r0, r4
	ldr	r2, [r7, #20]
	ldr	r1, [r3]
	bl	nla_put_u32
	cmp	r0, #0
	bne	.L2
	ldr	r2, .L34+28
	ldr	fp, .L34+32
	ldr	r1, [r2]
	mov	r0, r4
	ldr	r3, [fp]
	ldr	r2, [r7, #16]
	bl	nla_put_u64_64bit
	subs	r5, r0, #0
	bne	.L2
	ldr	r3, [r7, #12]
	cmp	r3, #0
	bne	.L3
.L6:
	ldr	r3, [r7, #4]
	cmp	r3, #0
	beq	.L5
	ldr	r3, .L34+36
	mov	r0, r4
	ldr	r1, [r3]
	bl	nla_put_flag
	cmp	r0, #0
	bne	.L2
.L5:
	ldr	r3, .L34+40
	mov	r0, r4
	ldr	r1, [r3]
	bl	nla_nest_start_noflag
	subs	fp, r0, #0
	beq	.L2
	mov	r0, r4
	ldr	r1, [r7]
	bl	nla_nest_start_noflag
	subs	r3, r0, #0
	beq	.L2
	ldr	r2, [r7]
	str	r3, [sp, #4]
	cmp	r2, #128
	beq	.L33
	mov	r0, #1
	bl	WARN_ON
	ldr	r3, [sp, #4]
.L9:
	mov	r1, r3
	mov	r0, r4
	bl	nla_nest_end
	mov	r1, fp
	mov	r0, r4
	bl	nla_nest_end
	mov	r1, r10
	mov	r0, r4
	bl	nla_nest_end
	mov	r1, r9
	mov	r0, r4
	bl	nla_nest_end
	mov	r1, r8
	mov	r0, r4
	bl	nla_nest_end
	mov	r1, r6
	mov	r0, r4
	bl	nla_nest_end
	b	.L1
.L3:
	ldr	r2, .L34+44
	mov	r0, r4
	ldr	r1, [r2]
	ldr	r3, [fp]
	ldr	r2, [r7, #8]
	bl	nla_put_u64_64bit
	cmp	r0, #0
	beq	.L6
	b	.L2
.L33:
	mov	r1, r7
	mov	r0, r4
	bl	nl80211_pmsr_send_ftm_res
	cmp	r0, #0
	ldr	r3, [sp, #4]
	beq	.L9
	b	.L2
.L35:
	.align	2
.L34:
	.word	NL80211_ATTR_PEER_MEASUREMENTS
	.word	NL80211_PMSR_ATTR_PEERS
	.word	NL80211_PMSR_PEER_ATTR_ADDR
	.word	ETH_ALEN
	.word	ENOSPC
	.word	NL80211_PMSR_PEER_ATTR_RESP
	.word	NL80211_PMSR_RESP_ATTR_STATUS
	.word	NL80211_PMSR_RESP_ATTR_HOST_TIME
	.word	NL80211_PMSR_RESP_ATTR_PAD
	.word	NL80211_PMSR_RESP_ATTR_FINAL
	.word	NL80211_PMSR_RESP_ATTR_DATA
	.word	NL80211_PMSR_RESP_ATTR_AP_TSF
	.size	nl80211_pmsr_send_result, .-nl80211_pmsr_send_result
	.comm	NL80211_PMSR_RESP_ATTR_STATUS,4,4
	.comm	NL80211_PMSR_RESP_ATTR_PAD,4,4
	.comm	NL80211_PMSR_RESP_ATTR_HOST_TIME,4,4
	.comm	NL80211_PMSR_RESP_ATTR_FINAL,4,4
	.comm	NL80211_PMSR_RESP_ATTR_DATA,4,4
	.comm	NL80211_PMSR_RESP_ATTR_AP_TSF,4,4
	.comm	NL80211_PMSR_PEER_ATTR_RESP,4,4
	.comm	NL80211_PMSR_PEER_ATTR_ADDR,4,4
	.comm	NL80211_PMSR_ATTR_PEERS,4,4
	.comm	NL80211_ATTR_PEER_MEASUREMENTS,4,4
	.comm	ETH_ALEN,4,4
	.comm	ENOSPC,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
