	.file	"124146.c"
	.intel_syntax noprefix
	.text
	.section	.rodata
	.align 8
.LC0:
	.string	"/dev/block/bootdevice/by-name/misc"
.LC1:
	.string	"/data/misc/wifi/config"
.LC2:
	.string	"cur_etheraddr="
.LC3:
	.string	"%02x"
.LC4:
	.string	":"
.LC5:
	.string	"\n"
.LC6:
	.string	"/data/misc/bluetooth/bdaddr"
	.text
	.globl	main
	.type	main, @function
main:
.LFB6:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 32
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	esi, 0
	lea	rdi, .LC0[rip]
	mov	eax, 0
	call	open@PLT
	mov	DWORD PTR -16[rbp], eax
	mov	eax, DWORD PTR -16[rbp]
	mov	esi, 12288
	mov	edi, eax
	call	blank
	test	eax, eax
	jne	.L2
	mov	edx, 420
	mov	esi, 577
	lea	rdi, .LC1[rip]
	mov	eax, 0
	call	open@PLT
	mov	DWORD PTR -24[rbp], eax
	mov	eax, DWORD PTR -24[rbp]
	mov	edx, 14
	lea	rsi, .LC2[rip]
	mov	edi, eax
	call	write@PLT
	mov	DWORD PTR -20[rbp], 0
	jmp	.L3
.L5:
	mov	eax, DWORD PTR -20[rbp]
	add	eax, 12288
	movsx	rcx, eax
	mov	eax, DWORD PTR -16[rbp]
	mov	edx, 0
	mov	rsi, rcx
	mov	edi, eax
	call	lseek@PLT
	mov	eax, DWORD PTR -24[rbp]
	mov	edx, 2
	mov	esi, 0
	mov	edi, eax
	call	lseek@PLT
	lea	rcx, -25[rbp]
	mov	eax, DWORD PTR -16[rbp]
	mov	edx, 1
	mov	rsi, rcx
	mov	edi, eax
	call	read@PLT
	movzx	eax, BYTE PTR -25[rbp]
	movsx	edx, al
	lea	rax, -11[rbp]
	lea	rsi, .LC3[rip]
	mov	rdi, rax
	mov	eax, 0
	call	sprintf@PLT
	lea	rcx, -11[rbp]
	mov	eax, DWORD PTR -24[rbp]
	mov	edx, 2
	mov	rsi, rcx
	mov	edi, eax
	call	write@PLT
	cmp	DWORD PTR -20[rbp], 5
	je	.L4
	mov	eax, DWORD PTR -24[rbp]
	mov	edx, 1
	lea	rsi, .LC4[rip]
	mov	edi, eax
	call	write@PLT
.L4:
	add	DWORD PTR -20[rbp], 1
.L3:
	cmp	DWORD PTR -20[rbp], 5
	jle	.L5
	mov	eax, DWORD PTR -24[rbp]
	mov	edx, 1
	lea	rsi, .LC5[rip]
	mov	edi, eax
	call	write@PLT
.L2:
	mov	eax, DWORD PTR -24[rbp]
	mov	edi, eax
	call	close@PLT
	mov	eax, DWORD PTR -16[rbp]
	mov	esi, 16384
	mov	edi, eax
	call	blank
	test	eax, eax
	jne	.L6
	mov	edx, 420
	mov	esi, 577
	lea	rdi, .LC6[rip]
	mov	eax, 0
	call	open@PLT
	mov	DWORD PTR -24[rbp], eax
	mov	DWORD PTR -20[rbp], 0
	jmp	.L7
.L9:
	mov	eax, DWORD PTR -20[rbp]
	add	eax, 16384
	movsx	rcx, eax
	mov	eax, DWORD PTR -16[rbp]
	mov	edx, 0
	mov	rsi, rcx
	mov	edi, eax
	call	lseek@PLT
	mov	eax, DWORD PTR -24[rbp]
	mov	edx, 2
	mov	esi, 0
	mov	edi, eax
	call	lseek@PLT
	lea	rcx, -25[rbp]
	mov	eax, DWORD PTR -16[rbp]
	mov	edx, 1
	mov	rsi, rcx
	mov	edi, eax
	call	read@PLT
	movzx	eax, BYTE PTR -25[rbp]
	movsx	edx, al
	lea	rax, -11[rbp]
	lea	rsi, .LC3[rip]
	mov	rdi, rax
	mov	eax, 0
	call	sprintf@PLT
	lea	rcx, -11[rbp]
	mov	eax, DWORD PTR -24[rbp]
	mov	edx, 2
	mov	rsi, rcx
	mov	edi, eax
	call	write@PLT
	cmp	DWORD PTR -20[rbp], 5
	je	.L8
	mov	eax, DWORD PTR -24[rbp]
	mov	edx, 1
	lea	rsi, .LC4[rip]
	mov	edi, eax
	call	write@PLT
.L8:
	add	DWORD PTR -20[rbp], 1
.L7:
	cmp	DWORD PTR -20[rbp], 5
	jle	.L9
.L6:
	mov	eax, DWORD PTR -24[rbp]
	mov	edi, eax
	call	close@PLT
	mov	eax, DWORD PTR -16[rbp]
	mov	edi, eax
	call	close@PLT
	mov	eax, 0
	mov	rcx, QWORD PTR -8[rbp]
	sub	rcx, QWORD PTR fs:40
	je	.L11
	call	__stack_chk_fail@PLT
.L11:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.size	main, .-main
	.globl	blank
	.type	blank, @function
blank:
.LFB7:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 48
	mov	DWORD PTR -36[rbp], edi
	mov	DWORD PTR -40[rbp], esi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	DWORD PTR -12[rbp], 0
	mov	DWORD PTR -16[rbp], 0
	jmp	.L13
.L18:
	mov	edx, DWORD PTR -40[rbp]
	mov	eax, DWORD PTR -16[rbp]
	add	eax, edx
	movsx	rcx, eax
	mov	eax, DWORD PTR -36[rbp]
	mov	edx, 0
	mov	rsi, rcx
	mov	edi, eax
	call	lseek@PLT
	lea	rcx, -17[rbp]
	mov	eax, DWORD PTR -36[rbp]
	mov	edx, 1
	mov	rsi, rcx
	mov	edi, eax
	call	read@PLT
	movzx	eax, BYTE PTR -17[rbp]
	test	al, al
	jne	.L14
	add	DWORD PTR -12[rbp], 1
	jmp	.L15
.L14:
	mov	DWORD PTR -12[rbp], 0
.L15:
	cmp	DWORD PTR -12[rbp], 2
	jle	.L16
	mov	eax, 1
	jmp	.L19
.L16:
	add	DWORD PTR -16[rbp], 1
.L13:
	cmp	DWORD PTR -16[rbp], 5
	jle	.L18
	mov	eax, 0
.L19:
	mov	rsi, QWORD PTR -8[rbp]
	sub	rsi, QWORD PTR fs:40
	je	.L20
	call	__stack_chk_fail@PLT
.L20:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE7:
	.size	blank, .-blank
	.ident	"GCC: (Ubuntu 10.5.0-1ubuntu1~20.04) 10.5.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, 6
	.eabi_attribute 34, 0
	.eabi_attribute 18, 4
	.file	"124146.c"
	.text
	.section	.rodata
	.align	2
.LC0:
	.ascii	"/dev/block/bootdevice/by-name/misc\000"
	.align	2
.LC1:
	.ascii	"/data/misc/wifi/config\000"
	.align	2
.LC2:
	.ascii	"cur_etheraddr=\000"
	.align	2
.LC3:
	.ascii	"%02x\000"
	.align	2
.LC4:
	.ascii	":\000"
	.align	2
.LC5:
	.ascii	"\012\000"
	.align	2
.LC6:
	.ascii	"/data/misc/bluetooth/bdaddr\000"
	.align	2
.LC7:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 24
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #24
	ldr	r3, .L12
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	mov	r1, #0
	ldr	r0, .L12+4
	bl	open
	str	r0, [fp, #-16]
	mov	r1, #12288
	ldr	r0, [fp, #-16]
	bl	blank
	mov	r3, r0
	cmp	r3, #0
	bne	.L2
	mov	r2, #420
	ldr	r1, .L12+8
	ldr	r0, .L12+12
	bl	open
	str	r0, [fp, #-24]
	mov	r2, #14
	ldr	r1, .L12+16
	ldr	r0, [fp, #-24]
	bl	write
	mov	r3, #0
	str	r3, [fp, #-20]
	b	.L3
.L5:
	ldr	r3, [fp, #-20]
	add	r3, r3, #12288
	mov	r2, #0
	mov	r1, r3
	ldr	r0, [fp, #-16]
	bl	lseek
	mov	r2, #2
	mov	r1, #0
	ldr	r0, [fp, #-24]
	bl	lseek
	sub	r3, fp, #25
	mov	r2, #1
	mov	r1, r3
	ldr	r0, [fp, #-16]
	bl	read
	ldrb	r3, [fp, #-25]	@ zero_extendqisi2
	mov	r2, r3
	sub	r3, fp, #12
	ldr	r1, .L12+20
	mov	r0, r3
	bl	sprintf
	sub	r3, fp, #12
	mov	r2, #2
	mov	r1, r3
	ldr	r0, [fp, #-24]
	bl	write
	ldr	r3, [fp, #-20]
	cmp	r3, #5
	beq	.L4
	mov	r2, #1
	ldr	r1, .L12+24
	ldr	r0, [fp, #-24]
	bl	write
.L4:
	ldr	r3, [fp, #-20]
	add	r3, r3, #1
	str	r3, [fp, #-20]
.L3:
	ldr	r3, [fp, #-20]
	cmp	r3, #5
	ble	.L5
	mov	r2, #1
	ldr	r1, .L12+28
	ldr	r0, [fp, #-24]
	bl	write
.L2:
	ldr	r0, [fp, #-24]
	bl	close
	mov	r1, #16384
	ldr	r0, [fp, #-16]
	bl	blank
	mov	r3, r0
	cmp	r3, #0
	bne	.L6
	mov	r2, #420
	ldr	r1, .L12+8
	ldr	r0, .L12+32
	bl	open
	str	r0, [fp, #-24]
	mov	r3, #0
	str	r3, [fp, #-20]
	b	.L7
.L9:
	ldr	r3, [fp, #-20]
	add	r3, r3, #16384
	mov	r2, #0
	mov	r1, r3
	ldr	r0, [fp, #-16]
	bl	lseek
	mov	r2, #2
	mov	r1, #0
	ldr	r0, [fp, #-24]
	bl	lseek
	sub	r3, fp, #25
	mov	r2, #1
	mov	r1, r3
	ldr	r0, [fp, #-16]
	bl	read
	ldrb	r3, [fp, #-25]	@ zero_extendqisi2
	mov	r2, r3
	sub	r3, fp, #12
	ldr	r1, .L12+20
	mov	r0, r3
	bl	sprintf
	sub	r3, fp, #12
	mov	r2, #2
	mov	r1, r3
	ldr	r0, [fp, #-24]
	bl	write
	ldr	r3, [fp, #-20]
	cmp	r3, #5
	beq	.L8
	mov	r2, #1
	ldr	r1, .L12+24
	ldr	r0, [fp, #-24]
	bl	write
.L8:
	ldr	r3, [fp, #-20]
	add	r3, r3, #1
	str	r3, [fp, #-20]
.L7:
	ldr	r3, [fp, #-20]
	cmp	r3, #5
	ble	.L9
.L6:
	ldr	r0, [fp, #-24]
	bl	close
	ldr	r0, [fp, #-16]
	bl	close
	mov	r3, #0
	ldr	r2, .L12
	ldr	r1, [r2]
	ldr	r2, [fp, #-8]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L11
	bl	__stack_chk_fail
.L11:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L13:
	.align	2
.L12:
	.word	.LC7
	.word	.LC0
	.word	577
	.word	.LC1
	.word	.LC2
	.word	.LC3
	.word	.LC4
	.word	.LC5
	.word	.LC6
	.size	main, .-main
	.section	.rodata
	.align	2
.LC8:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	blank
	.syntax unified
	.arm
	.fpu softvfp
	.type	blank, %function
blank:
	@ args = 0, pretend = 0, frame = 24
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #24
	str	r0, [fp, #-24]
	str	r1, [fp, #-28]
	ldr	r3, .L23
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	mov	r3, #0
	str	r3, [fp, #-12]
	mov	r3, #0
	str	r3, [fp, #-16]
	b	.L15
.L20:
	ldr	r2, [fp, #-28]
	ldr	r3, [fp, #-16]
	add	r3, r2, r3
	mov	r2, #0
	mov	r1, r3
	ldr	r0, [fp, #-24]
	bl	lseek
	sub	r3, fp, #17
	mov	r2, #1
	mov	r1, r3
	ldr	r0, [fp, #-24]
	bl	read
	ldrb	r3, [fp, #-17]	@ zero_extendqisi2
	cmp	r3, #0
	bne	.L16
	ldr	r3, [fp, #-12]
	add	r3, r3, #1
	str	r3, [fp, #-12]
	b	.L17
.L16:
	mov	r3, #0
	str	r3, [fp, #-12]
.L17:
	ldr	r3, [fp, #-12]
	cmp	r3, #2
	ble	.L18
	mov	r3, #1
	b	.L21
.L18:
	ldr	r3, [fp, #-16]
	add	r3, r3, #1
	str	r3, [fp, #-16]
.L15:
	ldr	r3, [fp, #-16]
	cmp	r3, #5
	ble	.L20
	mov	r3, #0
.L21:
	ldr	r2, .L23
	ldr	r1, [r2]
	ldr	r2, [fp, #-8]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L22
	bl	__stack_chk_fail
.L22:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L24:
	.align	2
.L23:
	.word	.LC8
	.size	blank, .-blank
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
