	.file	"extr_main.c_lbs_set_mac_address.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"set MAC address failed\n"
.LC1:
	.string	"ret %d"
	.text
	.p2align 4
	.type	lbs_set_mac_address, @function
lbs_set_mac_address:
.LFB0:
	.cfi_startproc
	endbr64
	push	r13
	.cfi_def_cfa_offset 16
	.cfi_offset 13, -16
	push	r12
	.cfi_def_cfa_offset 24
	.cfi_offset 12, -24
	push	rbp
	.cfi_def_cfa_offset 32
	.cfi_offset 6, -32
	push	rbx
	.cfi_def_cfa_offset 40
	.cfi_offset 3, -40
	mov	rbx, rsi
	sub	rsp, 40
	.cfi_def_cfa_offset 80
	mov	rbp, QWORD PTR 8[rdi]
	mov	edi, DWORD PTR LBS_DEB_NET[rip]
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 24[rsp], rax
	xor	eax, eax
	call	lbs_deb_enter@PLT
	mov	edi, 24
	mov	r13, QWORD PTR 16[rbp]
	call	cpu_to_le16@PLT
	mov	edi, DWORD PTR CMD_ACT_SET[rip]
	mov	QWORD PTR 16[rsp], rax
	call	cpu_to_le16@PLT
	mov	edx, DWORD PTR ETH_ALEN[rip]
	mov	esi, DWORD PTR [rbx]
	mov	edi, DWORD PTR [rsp]
	mov	QWORD PTR 8[rsp], rax
	call	memcpy@PLT
	mov	esi, DWORD PTR CMD_802_11_MAC_ADDRESS[rip]
	mov	rdx, rsp
	mov	rdi, rbp
	call	lbs_cmd_with_response@PLT
	mov	r12d, eax
	test	eax, eax
	jne	.L10
	mov	edi, DWORD PTR 8[rbp]
	mov	edx, DWORD PTR ETH_ALEN[rip]
	mov	esi, DWORD PTR [rbx]
	call	memcpy@PLT
	mov	edx, DWORD PTR ETH_ALEN[rip]
	mov	esi, DWORD PTR [rbx]
	mov	edi, DWORD PTR 0[r13]
	call	memcpy@PLT
	mov	rax, QWORD PTR 0[rbp]
	test	rax, rax
	je	.L3
	mov	edx, DWORD PTR ETH_ALEN[rip]
	mov	esi, DWORD PTR [rbx]
	mov	edi, DWORD PTR [rax]
	call	memcpy@PLT
.L3:
	mov	edi, DWORD PTR LBS_DEB_NET[rip]
	mov	edx, r12d
	lea	rsi, .LC1[rip]
	call	lbs_deb_leave_args@PLT
	mov	rax, QWORD PTR 24[rsp]
	xor	rax, QWORD PTR fs:40
	jne	.L11
	add	rsp, 40
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	mov	eax, r12d
	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
	ret
	.p2align 4,,10
	.p2align 3
.L10:
	.cfi_restore_state
	lea	rdi, .LC0[rip]
	call	lbs_deb_net@PLT
	jmp	.L3
.L11:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	lbs_set_mac_address, .-lbs_set_mac_address
	.comm	LBS_DEB_NET,4,4
	.comm	ETH_ALEN,4,4
	.comm	CMD_ACT_SET,4,4
	.comm	CMD_802_11_MAC_ADDRESS,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_main.c_lbs_set_mac_address.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"set MAC address failed\012\000"
	.align	2
.LC1:
	.ascii	"ret %d\000"
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC2:
	.word	__stack_chk_guard
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	lbs_set_mac_address, %function
lbs_set_mac_address:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, lr}
	ldr	r8, .L12
	ldr	r3, .L12+4
	sub	sp, sp, #20
	ldr	r6, [r0, #4]
	ldr	r0, [r8]
	mov	r5, r1
	ldr	r3, [r3]
	str	r3, [sp, #12]
	mov	r3,#0
	bl	lbs_deb_enter
	mov	r0, #12
	ldr	r9, [r6, #8]
	bl	cpu_to_le16
	ldr	r3, .L12+8
	str	r0, [sp, #8]
	ldr	r0, [r3]
	bl	cpu_to_le16
	mov	r3, r0
	ldr	r7, .L12+12
	ldr	r1, [r5]
	ldr	r2, [r7]
	ldr	r0, [sp]
	str	r3, [sp, #4]
	bl	memcpy
	ldr	r3, .L12+16
	mov	r0, r6
	mov	r2, sp
	ldr	r1, [r3]
	bl	lbs_cmd_with_response
	subs	r4, r0, #0
	bne	.L10
	ldr	r2, [r7]
	ldr	r1, [r5]
	ldr	r0, [r6, #4]
	bl	memcpy
	ldr	r0, [r9]
	ldr	r2, [r7]
	ldr	r1, [r5]
	bl	memcpy
	ldr	r3, [r6]
	cmp	r3, #0
	beq	.L3
	ldr	r2, [r7]
	ldr	r1, [r5]
	ldr	r0, [r3]
	bl	memcpy
.L3:
	mov	r2, r4
	ldr	r0, [r8]
	ldr	r1, .L12+20
	bl	lbs_deb_leave_args
	ldr	r3, .L12+4
	ldr	r2, [r3]
	ldr	r3, [sp, #12]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L11
	mov	r0, r4
	add	sp, sp, #20
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, pc}
.L10:
	ldr	r0, .L12+24
	bl	lbs_deb_net
	b	.L3
.L11:
	bl	__stack_chk_fail
.L13:
	.align	2
.L12:
	.word	LBS_DEB_NET
	.word	.LC2
	.word	CMD_ACT_SET
	.word	ETH_ALEN
	.word	CMD_802_11_MAC_ADDRESS
	.word	.LC1
	.word	.LC0
	.size	lbs_set_mac_address, .-lbs_set_mac_address
	.comm	LBS_DEB_NET,4,4
	.comm	ETH_ALEN,4,4
	.comm	CMD_ACT_SET,4,4
	.comm	CMD_802_11_MAC_ADDRESS,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
