	.file	"extr_main.c_AT91F_LoadBoot.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"F DF RD"
	.text
	.p2align 4
	.type	AT91F_LoadBoot, @function
AT91F_LoadBoot:
.LFB0:
	.cfi_startproc
	endbr64
	sub	rsp, 24
	.cfi_def_cfa_offset 32
	mov	eax, DWORD PTR AT91C_BOOT_ADDR[rip]
	mov	edi, DWORD PTR AT91C_BOOT_DATAFLASH_ADDR[rip]
	mov	DWORD PTR 8[rsp], 136192
	mov	DWORD PTR 12[rsp], eax
	mov	edx, DWORD PTR 12[rsp]
	mov	esi, DWORD PTR 8[rsp]
	add	esi, 8
	call	read_dataflash@PLT
	mov	r8, rax
	cmp	r8, QWORD PTR AT91C_DATAFLASH_OK[rip]
	mov	eax, DWORD PTR SUCCESS[rip]
	jne	.L6
	add	rsp, 24
	.cfi_remember_state
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L6:
	.cfi_restore_state
	lea	rdi, .LC0[rip]
	call	puts@PLT
	mov	eax, DWORD PTR IMAGE_READ_FAILURE[rip]
	add	rsp, 24
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE0:
	.size	AT91F_LoadBoot, .-AT91F_LoadBoot
	.comm	pAT91,8,8
	.comm	crc2,4,4
	.comm	crc1,4,4
	.comm	SUCCESS,4,4
	.comm	IMAGE_READ_FAILURE,4,4
	.comm	IMAGE_CRC_ERROR,4,4
	.comm	IMAGE_BAD_SIZE,4,4
	.comm	AT91C_OFFSET_VECT6,8,8
	.comm	AT91C_DATAFLASH_OK,8,8
	.comm	AT91C_BOOT_DATAFLASH_ADDR,4,4
	.comm	AT91C_BOOT_ADDR,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_AT91F_LoadBoot.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"F DF RD\000"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	AT91F_LoadBoot, %function
AT91F_LoadBoot:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 0, uses_anonymous_args = 0
	mov	r2, #136192
	str	lr, [sp, #-4]!
	ldr	r3, .L7
	sub	sp, sp, #12
	str	r2, [sp]
	ldr	r2, [r3]
	ldr	r3, .L7+4
	str	r2, [sp, #4]
	ldr	r1, [sp]
	ldr	r0, [r3]
	ldr	r2, [sp, #4]
	add	r1, r1, #8
	bl	read_dataflash
	ldr	r3, .L7+8
	ldr	r3, [r3]
	cmp	r0, r3
	bne	.L6
	ldr	r3, .L7+12
	ldr	r0, [r3]
	add	sp, sp, #12
	@ sp needed
	ldr	pc, [sp], #4
.L6:
	ldr	r0, .L7+16
	bl	puts
	ldr	r3, .L7+20
	ldr	r0, [r3]
	add	sp, sp, #12
	@ sp needed
	ldr	pc, [sp], #4
.L8:
	.align	2
.L7:
	.word	AT91C_BOOT_ADDR
	.word	AT91C_BOOT_DATAFLASH_ADDR
	.word	AT91C_DATAFLASH_OK
	.word	SUCCESS
	.word	.LC0
	.word	IMAGE_READ_FAILURE
	.size	AT91F_LoadBoot, .-AT91F_LoadBoot
	.comm	pAT91,4,4
	.comm	crc2,4,4
	.comm	crc1,4,4
	.comm	SUCCESS,4,4
	.comm	IMAGE_READ_FAILURE,4,4
	.comm	IMAGE_CRC_ERROR,4,4
	.comm	IMAGE_BAD_SIZE,4,4
	.comm	AT91C_OFFSET_VECT6,4,4
	.comm	AT91C_DATAFLASH_OK,4,4
	.comm	AT91C_BOOT_DATAFLASH_ADDR,4,4
	.comm	AT91C_BOOT_ADDR,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
