	.file	"extr_wlan.c_wlan_smart_config_set_prefix.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.globl	wlan_smart_config_set_prefix
	.type	wlan_smart_config_set_prefix, @function
wlan_smart_config_set_prefix:
.LFB0:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	sub	rsp, 16
	.cfi_def_cfa_offset 32
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 8[rsp], rax
	xor	eax, eax
	mov	eax, DWORD PTR EFAIL[rip]
	mov	DWORD PTR 4[rsp], eax
	test	rdi, rdi
	je	.L1
	mov	edx, 21588
	mov	rbp, QWORD PTR tSLInformation[rip]
	movsx	rax, DWORD PTR HEADERS_SIZE_CMD[rip]
	mov	rsi, rdi
	mov	WORD PTR [rdi], dx
	mov	BYTE PTR 2[rdi], 84
	mov	edx, DWORD PTR SL_SIMPLE_CONFIG_PREFIX_LENGTH[rip]
	lea	rdi, 0[rbp+rax*4]
	call	ARRAY_TO_STREAM@PLT
	mov	edx, DWORD PTR SL_SIMPLE_CONFIG_PREFIX_LENGTH[rip]
	mov	edi, DWORD PTR HCI_CMND_WLAN_IOCTL_SIMPLE_CONFIG_SET_PREFIX[rip]
	mov	rsi, rbp
	call	hci_command_send@PLT
	mov	edi, DWORD PTR HCI_CMND_WLAN_IOCTL_SIMPLE_CONFIG_SET_PREFIX[rip]
	lea	rsi, 4[rsp]
	call	SimpleLinkWaitEvent@PLT
	mov	eax, DWORD PTR 4[rsp]
.L1:
	mov	rcx, QWORD PTR 8[rsp]
	xor	rcx, QWORD PTR fs:40
	jne	.L9
	add	rsp, 16
	.cfi_remember_state
	.cfi_def_cfa_offset 16
	pop	rbp
	.cfi_def_cfa_offset 8
	ret
.L9:
	.cfi_restore_state
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	wlan_smart_config_set_prefix, .-wlan_smart_config_set_prefix
	.comm	tSLInformation,8,8
	.comm	SL_SIMPLE_CONFIG_PREFIX_LENGTH,4,4
	.comm	HEADERS_SIZE_CMD,4,4
	.comm	HCI_CMND_WLAN_IOCTL_SIMPLE_CONFIG_SET_PREFIX,4,4
	.comm	EFAIL,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_wlan.c_wlan_smart_config_set_prefix.c"
	.text
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC0:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	wlan_smart_config_set_prefix
	.syntax unified
	.arm
	.fpu softvfp
	.type	wlan_smart_config_set_prefix, %function
wlan_smart_config_set_prefix:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, lr}
	ldr	r3, .L10
	subs	r1, r0, #0
	ldr	r0, [r3]
	ldr	r3, .L10+4
	sub	sp, sp, #8
	ldr	r3, [r3]
	str	r3, [sp, #4]
	mov	r3,#0
	str	r0, [sp]
	beq	.L1
	mov	r3, #84
	ldr	r0, .L10+8
	ldr	r2, .L10+12
	ldr	r6, [r0]
	ldr	r5, .L10+16
	ldr	r0, [r2]
	ldr	r4, .L10+20
	strb	r3, [r1]
	strb	r3, [r1, #1]
	strb	r3, [r1, #2]
	ldr	r2, [r5]
	add	r0, r6, r0, lsl #2
	bl	ARRAY_TO_STREAM
	mov	r1, r6
	ldr	r2, [r5]
	ldr	r0, [r4]
	bl	hci_command_send
	mov	r1, sp
	ldr	r0, [r4]
	bl	SimpleLinkWaitEvent
	ldr	r0, [sp]
.L1:
	ldr	r3, .L10+4
	ldr	r2, [r3]
	ldr	r3, [sp, #4]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L9
	add	sp, sp, #8
	@ sp needed
	pop	{r4, r5, r6, pc}
.L9:
	bl	__stack_chk_fail
.L11:
	.align	2
.L10:
	.word	EFAIL
	.word	.LC0
	.word	tSLInformation
	.word	HEADERS_SIZE_CMD
	.word	SL_SIMPLE_CONFIG_PREFIX_LENGTH
	.word	HCI_CMND_WLAN_IOCTL_SIMPLE_CONFIG_SET_PREFIX
	.size	wlan_smart_config_set_prefix, .-wlan_smart_config_set_prefix
	.comm	tSLInformation,4,4
	.comm	SL_SIMPLE_CONFIG_PREFIX_LENGTH,4,4
	.comm	HEADERS_SIZE_CMD,4,4
	.comm	HCI_CMND_WLAN_IOCTL_SIMPLE_CONFIG_SET_PREFIX,4,4
	.comm	EFAIL,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
