	.file	"extr_scan.c_mwifiex_cmd_append_vsie_tlv.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.globl	mwifiex_cmd_append_vsie_tlv
	.type	mwifiex_cmd_append_vsie_tlv, @function
mwifiex_cmd_append_vsie_tlv:
.LFB0:
	.cfi_startproc
	endbr64
	test	rdx, rdx
	je	.L5
	push	r15
	.cfi_def_cfa_offset 16
	.cfi_offset 15, -16
	push	r14
	.cfi_def_cfa_offset 24
	.cfi_offset 14, -24
	mov	r14, rdx
	push	r13
	.cfi_def_cfa_offset 32
	.cfi_offset 13, -32
	push	r12
	.cfi_def_cfa_offset 40
	.cfi_offset 12, -40
	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
	cmp	QWORD PTR [rdx], 0
	je	.L7
	mov	eax, DWORD PTR MWIFIEX_MAX_VSIE_NUM[rip]
	test	eax, eax
	jle	.L7
	mov	r12, rdi
	mov	r15d, esi
	xor	ebx, ebx
	xor	r8d, r8d
	jmp	.L4
	.p2align 4,,10
	.p2align 3
.L3:
	add	rbx, 1
	cmp	DWORD PTR MWIFIEX_MAX_VSIE_NUM[rip], ebx
	jle	.L1
.L4:
	mov	rbp, rbx
	mov	rax, QWORD PTR [r12]
	sal	rbp, 4
	test	DWORD PTR [rax+rbp], r15d
	je	.L3
	mov	edi, DWORD PTR TLV_TYPE_PASSTHROUGH[rip]
	mov	r13, QWORD PTR [r14]
	mov	DWORD PTR 12[rsp], r8d
	add	rbx, 1
	call	cpu_to_le16@PLT
	mov	QWORD PTR 8[r13], rax
	mov	rax, QWORD PTR [r12]
	mov	rax, QWORD PTR 8[rax+rbp]
	movzx	edi, BYTE PTR 8[rax]
	add	edi, 2
	call	cpu_to_le16@PLT
	mov	QWORD PTR 0[r13], rax
	mov	rdi, rax
	call	le16_to_cpu@PLT
	mov	edi, DWORD PTR 16[r13]
	mov	rdx, rax
	mov	rax, QWORD PTR [r12]
	mov	rsi, QWORD PTR 8[rax+rbp]
	call	memcpy@PLT
	mov	rdi, QWORD PTR 0[r13]
	call	le16_to_cpu@PLT
	lea	rax, 16[0+rax*4]
	add	QWORD PTR [r14], rax
	mov	rdi, QWORD PTR 0[r13]
	call	le16_to_cpu@PLT
	mov	r8d, DWORD PTR 12[rsp]
	cmp	DWORD PTR MWIFIEX_MAX_VSIE_NUM[rip], ebx
	lea	r8d, 4[r8+rax]
	jg	.L4
.L1:
	add	rsp, 24
	.cfi_remember_state
	.cfi_def_cfa_offset 56
	mov	eax, r8d
	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
.L7:
	.cfi_restore_state
	xor	r8d, r8d
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L5:
	.cfi_def_cfa_offset 8
	.cfi_restore 3
	.cfi_restore 6
	.cfi_restore 12
	.cfi_restore 13
	.cfi_restore 14
	.cfi_restore 15
	xor	r8d, r8d
	mov	eax, r8d
	ret
	.cfi_endproc
.LFE0:
	.size	mwifiex_cmd_append_vsie_tlv, .-mwifiex_cmd_append_vsie_tlv
	.comm	TLV_TYPE_PASSTHROUGH,4,4
	.comm	MWIFIEX_MAX_VSIE_NUM,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_scan.c_mwifiex_cmd_append_vsie_tlv.c"
	.text
	.align	2
	.global	mwifiex_cmd_append_vsie_tlv
	.syntax unified
	.arm
	.fpu softvfp
	.type	mwifiex_cmd_append_vsie_tlv, %function
mwifiex_cmd_append_vsie_tlv:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, r10, fp, lr}
	subs	r7, r2, #0
	sub	sp, sp, #12
	beq	.L7
	ldr	r6, [r7]
	cmp	r6, #0
	beq	.L1
	ldr	r10, .L14
	ldr	r3, [r10]
	cmp	r3, #0
	ble	.L7
	mov	r6, #0
	mov	r5, r0
	mov	r8, r1
	mov	r4, r6
	b	.L4
.L3:
	ldr	r3, [r10]
	cmp	r3, r4
	ble	.L1
.L4:
	ldr	r3, [r5]
	lsl	r9, r4, #3
	ldr	r3, [r3, r4, lsl #3]
	add	r4, r4, #1
	tst	r8, r3
	beq	.L3
	ldr	r3, .L14+4
	ldr	fp, [r7]
	ldr	r0, [r3]
	bl	cpu_to_le16
	ldr	r3, [r5]
	str	r0, [fp, #4]
	add	r3, r3, r9
	ldr	r3, [r3, #4]
	add	r6, r6, #4
	ldrb	r0, [r3, #4]	@ zero_extendqisi2
	add	r0, r0, #2
	bl	cpu_to_le16
	ldr	r3, [r5]
	str	r0, [fp]
	add	r2, r3, r9
	ldr	r1, [r2, #4]
	ldr	r9, [fp, #8]
	str	r1, [sp, #4]
	bl	le16_to_cpu
	ldr	r1, [sp, #4]
	mov	r2, r0
	mov	r0, r9
	bl	memcpy
	ldr	r0, [fp]
	bl	le16_to_cpu
	ldr	r3, [r7]
	add	r0, r0, #4
	add	r3, r3, r0, lsl #2
	str	r3, [r7]
	ldr	r0, [fp]
	bl	le16_to_cpu
	ldr	r3, [r10]
	add	r6, r6, r0
	cmp	r3, r4
	bgt	.L4
.L1:
	mov	r0, r6
	add	sp, sp, #12
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, r10, fp, pc}
.L7:
	mov	r6, #0
	mov	r0, r6
	add	sp, sp, #12
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, r10, fp, pc}
.L15:
	.align	2
.L14:
	.word	MWIFIEX_MAX_VSIE_NUM
	.word	TLV_TYPE_PASSTHROUGH
	.size	mwifiex_cmd_append_vsie_tlv, .-mwifiex_cmd_append_vsie_tlv
	.comm	TLV_TYPE_PASSTHROUGH,4,4
	.comm	MWIFIEX_MAX_VSIE_NUM,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
