	.file	"extr_airo.c_airo_set_mac_address.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	airo_set_mac_address, @function
airo_set_mac_address:
.LFB0:
	.cfi_startproc
	endbr64
	push	r12
	.cfi_def_cfa_offset 16
	.cfi_offset 12, -16
	mov	r12, rsi
	mov	esi, 1
	push	rbp
	.cfi_def_cfa_offset 24
	.cfi_offset 6, -24
	mov	rbp, rdi
	push	rbx
	.cfi_def_cfa_offset 32
	.cfi_offset 3, -32
	mov	rbx, QWORD PTR 8[rdi]
	mov	rdi, rbx
	call	readConfigRid@PLT
	mov	edx, DWORD PTR 0[rbp]
	mov	edi, DWORD PTR 20[rbx]
	mov	esi, DWORD PTR [r12]
	call	memcpy@PLT
	mov	edi, DWORD PTR FLAG_COMMIT[rip]
	lea	rsi, 16[rbx]
	call	set_bit@PLT
	mov	esi, 1
	mov	rdi, rbx
	call	disable_MAC@PLT
	mov	esi, 1
	mov	rdi, rbx
	call	writeConfigRid@PLT
	mov	esi, 1
	mov	rdi, rbx
	call	enable_MAC@PLT
	mov	rax, QWORD PTR 8[rbx]
	mov	edx, DWORD PTR 0[rbp]
	mov	esi, DWORD PTR [r12]
	mov	edi, DWORD PTR [rax]
	call	memcpy@PLT
	mov	rax, QWORD PTR [rbx]
	test	rax, rax
	je	.L2
	mov	edx, DWORD PTR 0[rbp]
	mov	esi, DWORD PTR [r12]
	mov	edi, DWORD PTR [rax]
	call	memcpy@PLT
.L2:
	pop	rbx
	.cfi_def_cfa_offset 24
	xor	eax, eax
	pop	rbp
	.cfi_def_cfa_offset 16
	pop	r12
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE0:
	.size	airo_set_mac_address, .-airo_set_mac_address
	.comm	FLAG_COMMIT,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_airo.c_airo_set_mac_address.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	airo_set_mac_address, %function
airo_set_mac_address:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, lr}
	mov	r5, r0
	mov	r6, r1
	ldr	r4, [r0, #4]
	mov	r1, #1
	mov	r0, r4
	bl	readConfigRid
	ldr	r2, [r5]
	ldr	r1, [r6]
	ldr	r0, [r4, #12]
	bl	memcpy
	ldr	r3, .L8
	add	r1, r4, #8
	ldr	r0, [r3]
	bl	set_bit
	mov	r1, #1
	mov	r0, r4
	bl	disable_MAC
	mov	r1, #1
	mov	r0, r4
	bl	writeConfigRid
	mov	r1, #1
	mov	r0, r4
	bl	enable_MAC
	ldr	r3, [r4, #4]
	ldr	r2, [r5]
	ldr	r0, [r3]
	ldr	r1, [r6]
	bl	memcpy
	ldr	r3, [r4]
	cmp	r3, #0
	beq	.L2
	ldr	r2, [r5]
	ldr	r1, [r6]
	ldr	r0, [r3]
	bl	memcpy
.L2:
	mov	r0, #0
	pop	{r4, r5, r6, pc}
.L9:
	.align	2
.L8:
	.word	FLAG_COMMIT
	.size	airo_set_mac_address, .-airo_set_mac_address
	.comm	FLAG_COMMIT,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
