	.file	"extr_ctrl_iface.c_wpa_supplicant_vendor_cmd.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.8,"aMS",@progbits,1
	.align 8
.LC0:
	.string	"Vendor command: wrong parameter format"
	.text
	.p2align 4
	.type	wpa_supplicant_vendor_cmd, @function
wpa_supplicant_vendor_cmd:
.LFB0:
	.cfi_startproc
	endbr64
	push	r15
	.cfi_def_cfa_offset 16
	.cfi_offset 15, -16
	push	r14
	.cfi_def_cfa_offset 24
	.cfi_offset 14, -24
	push	r13
	.cfi_def_cfa_offset 32
	.cfi_offset 13, -32
	mov	r13, rdx
	mov	edx, 16
	push	r12
	.cfi_def_cfa_offset 40
	.cfi_offset 12, -40
	mov	r12, rdi
	mov	rdi, rsi
	push	rbp
	.cfi_def_cfa_offset 48
	.cfi_offset 6, -48
	mov	rbp, rcx
	push	rbx
	.cfi_def_cfa_offset 56
	.cfi_offset 3, -56
	sub	rsp, 40
	.cfi_def_cfa_offset 96
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 24[rsp], rax
	xor	eax, eax
	lea	r14, 16[rsp]
	mov	rsi, r14
	call	strtoul@PLT
	mov	r15d, eax
	mov	rax, QWORD PTR 16[rsp]
	movzx	edi, BYTE PTR [rax]
	call	isblank@PLT
	test	eax, eax
	jne	.L2
.L19:
	mov	r12d, DWORD PTR EINVAL[rip]
	neg	r12d
.L1:
	mov	rax, QWORD PTR 24[rsp]
	xor	rax, QWORD PTR fs:40
	jne	.L21
	add	rsp, 40
	.cfi_remember_state
	.cfi_def_cfa_offset 56
	mov	eax, r12d
	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
.L2:
	.cfi_restore_state
	mov	rdi, QWORD PTR 16[rsp]
	mov	edx, 10
	mov	rsi, r14
	call	strtoul@PLT
	mov	ebx, eax
	mov	rax, QWORD PTR 16[rsp]
	cmp	BYTE PTR [rax], 0
	je	.L4
	lea	rdx, 1[rax]
	mov	QWORD PTR 16[rsp], rdx
	movzx	edi, BYTE PTR [rax]
	call	isblank@PLT
	test	eax, eax
	je	.L19
	mov	rdi, QWORD PTR 16[rsp]
	call	os_strlen@PLT
	mov	r8, rax
	test	rax, rax
	jne	.L22
.L4:
	xor	r8d, r8d
	xor	r14d, r14d
.L6:
	lea	rdi, -1[rbp]
	mov	QWORD PTR 8[rsp], r8
	shr	rdi
	call	wpabuf_alloc@PLT
	mov	r8, QWORD PTR 8[rsp]
	test	rax, rax
	mov	r9, rax
	je	.L23
	mov	rdi, r12
	mov	rcx, r14
	mov	edx, ebx
	mov	esi, r15d
	mov	QWORD PTR 8[rsp], rax
	call	wpa_drv_vendor_cmd@PLT
	mov	r9, QWORD PTR 8[rsp]
	test	eax, eax
	mov	r12d, eax
	je	.L24
.L8:
	mov	rdi, r9
	call	wpabuf_free@PLT
	mov	rdi, r14
	call	os_free@PLT
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L24:
	mov	rdi, r9
	call	wpabuf_len@PLT
	mov	r9, QWORD PTR 8[rsp]
	mov	r12d, eax
	mov	rdi, r9
	call	wpabuf_head_u8@PLT
	mov	ecx, r12d
	mov	rsi, rbp
	mov	rdi, r13
	mov	edx, eax
	call	wpa_snprintf_hex@PLT
	mov	r9, QWORD PTR 8[rsp]
	mov	r12d, eax
	jmp	.L8
	.p2align 4,,10
	.p2align 3
.L22:
	shr	r8
	mov	rdi, r8
	mov	QWORD PTR 8[rsp], r8
	call	os_malloc@PLT
	mov	r14, rax
	test	rax, rax
	je	.L10
	mov	r8, QWORD PTR 8[rsp]
	mov	rdi, QWORD PTR 16[rsp]
	mov	rsi, rax
	mov	rdx, r8
	call	hexstr2bin@PLT
	mov	r8, QWORD PTR 8[rsp]
	test	rax, rax
	je	.L6
	mov	edi, DWORD PTR MSG_DEBUG[rip]
	lea	rsi, .LC0[rip]
	call	wpa_printf@PLT
	mov	rdi, r14
	call	os_free@PLT
	jmp	.L19
.L23:
	mov	rdi, r14
	mov	r12d, -1
	call	os_free@PLT
	jmp	.L1
.L21:
	call	__stack_chk_fail@PLT
.L10:
	or	r12d, -1
	jmp	.L1
	.cfi_endproc
.LFE0:
	.size	wpa_supplicant_vendor_cmd, .-wpa_supplicant_vendor_cmd
	.comm	MSG_DEBUG,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_ctrl_iface.c_wpa_supplicant_vendor_cmd.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"Vendor command: wrong parameter format\000"
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC1:
	.word	__stack_chk_guard
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	wpa_supplicant_vendor_cmd, %function
wpa_supplicant_vendor_cmd:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, r10, fp, lr}
	mov	r5, r3
	sub	sp, sp, #20
	ldr	r3, .L28
	mov	r4, r0
	mov	r6, r2
	mov	r0, r1
	mov	r2, #16
	add	r1, sp, #8
	ldr	r3, [r3]
	str	r3, [sp, #12]
	mov	r3,#0
	bl	strtoul
	ldr	r3, [sp, #8]
	mov	r9, r0
	ldrb	r0, [r3]	@ zero_extendqisi2
	bl	isblank
	cmp	r0, #0
	bne	.L2
.L22:
	ldr	r3, .L28+4
	ldr	r4, [r3]
	rsb	r4, r4, #0
.L1:
	ldr	r3, .L28
	ldr	r2, [r3]
	ldr	r3, [sp, #12]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L24
	mov	r0, r4
	add	sp, sp, #20
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, r10, fp, pc}
.L2:
	mov	r2, #10
	ldr	r0, [sp, #8]
	add	r1, sp, #8
	bl	strtoul
	ldr	r3, [sp, #8]
	mov	r10, r0
	ldrb	r2, [r3]	@ zero_extendqisi2
	cmp	r2, #0
	beq	.L4
	add	r2, r3, #1
	str	r2, [sp, #8]
	ldrb	r0, [r3]	@ zero_extendqisi2
	bl	isblank
	cmp	r0, #0
	beq	.L22
	ldr	r0, [sp, #8]
	bl	os_strlen
	cmp	r0, #0
	bne	.L25
.L4:
	mov	fp, #0
	mov	r8, fp
.L6:
	sub	r0, r5, #1
	lsr	r0, r0, #1
	bl	wpabuf_alloc
	subs	r7, r0, #0
	beq	.L26
	mov	r0, r4
	mov	r2, r10
	mov	r1, r9
	mov	r3, r8
	str	r7, [sp, #4]
	str	fp, [sp]
	bl	wpa_drv_vendor_cmd
	subs	r4, r0, #0
	beq	.L27
.L8:
	mov	r0, r7
	bl	wpabuf_free
	mov	r0, r8
	bl	os_free
	b	.L1
.L27:
	mov	r0, r7
	bl	wpabuf_head_u8
	mov	r4, r0
	mov	r0, r7
	bl	wpabuf_len
	mov	r2, r4
	mov	r3, r0
	mov	r1, r5
	mov	r0, r6
	bl	wpa_snprintf_hex
	mov	r4, r0
	b	.L8
.L25:
	lsr	fp, r0, #1
	mov	r0, fp
	bl	os_malloc
	subs	r8, r0, #0
	beq	.L10
	mov	r2, fp
	mov	r1, r8
	ldr	r0, [sp, #8]
	bl	hexstr2bin
	cmp	r0, #0
	beq	.L6
	ldr	r3, .L28+8
	ldr	r1, .L28+12
	ldr	r0, [r3]
	bl	wpa_printf
	mov	r0, r8
	bl	os_free
	b	.L22
.L26:
	mov	r0, r8
	bl	os_free
	mvn	r4, #0
	b	.L1
.L24:
	bl	__stack_chk_fail
.L10:
	mvn	r4, #0
	b	.L1
.L29:
	.align	2
.L28:
	.word	.LC1
	.word	EINVAL
	.word	MSG_DEBUG
	.word	.LC0
	.size	wpa_supplicant_vendor_cmd, .-wpa_supplicant_vendor_cmd
	.comm	MSG_DEBUG,4,4
	.comm	EINVAL,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
