	.file	"271157.c"
	.intel_syntax noprefix
	.text
	.data
	.align 16
	.type	cmds, @object
	.size	cmds, 20
cmds:
	.string	"\004D\003\300\005`\t"
	.string	"\n"
	.ascii	"\013P\016\002\016\003\003\301\005j"
	.text
	.globl	delay
	.type	delay, @function
delay:
.LFB0:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	mov	QWORD PTR -24[rbp], rdi
	mov	rax, QWORD PTR -24[rbp]
	imul	rax, rax, 5000
	mov	QWORD PTR -24[rbp], rax
	mov	DWORD PTR -4[rbp], 0
	jmp	.L2
.L3:
	add	DWORD PTR -4[rbp], 1
.L2:
	mov	eax, DWORD PTR -4[rbp]
	cdqe
	cmp	QWORD PTR -24[rbp], rax
	jg	.L3
	nop
	nop
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE0:
	.size	delay, .-delay
	.globl	putc
	.type	putc, @function
putc:
.LFB1:
	.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	DWORD PTR -20[rbp], edi
	cmp	DWORD PTR -20[rbp], 10
	jne	.L5
	mov	edi, 13
	call	putc
.L5:
	mov	eax, 3758096384
	mov	QWORD PTR -8[rbp], rax
.L8:
	mov	rax, QWORD PTR -8[rbp]
	mov	BYTE PTR 2[rax], 0
	mov	rax, QWORD PTR -8[rbp]
	movzx	eax, BYTE PTR 2[rax]
	movzx	eax, al
	and	eax, 4
	test	eax, eax
	jne	.L10
	jmp	.L8
.L10:
	nop
	mov	eax, DWORD PTR -20[rbp]
	mov	edx, eax
	mov	rax, QWORD PTR -8[rbp]
	mov	BYTE PTR 3[rax], dl
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE1:
	.size	putc, .-putc
	.globl	puts
	.type	puts, @function
puts:
.LFB2:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 16
	mov	QWORD PTR -8[rbp], rdi
	jmp	.L12
.L13:
	mov	rax, QWORD PTR -8[rbp]
	lea	rdx, 1[rax]
	mov	QWORD PTR -8[rbp], rdx
	movzx	eax, BYTE PTR [rax]
	movsx	eax, al
	mov	edi, eax
	call	putc
.L12:
	mov	rax, QWORD PTR -8[rbp]
	movzx	eax, BYTE PTR [rax]
	test	al, al
	jne	.L13
	nop
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE2:
	.size	puts, .-puts
	.section	.rodata
.LC0:
	.string	"0x"
.LC1:
	.string	"0123456789abcdef"
	.text
	.globl	px
	.type	px, @function
px:
.LFB3:
	.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	QWORD PTR -24[rbp], rdi
	lea	rdi, .LC0[rip]
	call	puts
	mov	DWORD PTR -4[rbp], 0
	jmp	.L15
.L16:
	mov	rax, QWORD PTR -24[rbp]
	sar	rax, 24
	and	eax, 15
	mov	rdx, rax
	lea	rax, .LC1[rip]
	movzx	eax, BYTE PTR [rdx+rax]
	movsx	eax, al
	mov	edi, eax
	call	putc
	sal	QWORD PTR -24[rbp], 4
	add	DWORD PTR -4[rbp], 1
.L15:
	cmp	DWORD PTR -4[rbp], 7
	jle	.L16
	nop
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE3:
	.size	px, .-px
	.section	.rodata
.LC2:
	.string	"\nBOOT\n"
.LC3:
	.string	" copy ok, go "
	.text
	.globl	main
	.type	main, @function
main:
.LFB4:
	.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	eax, 3758096384
	mov	QWORD PTR -16[rbp], rax
	mov	edi, 10
	call	delay
	mov	rax, QWORD PTR -16[rbp]
	mov	BYTE PTR 2[rax], 0
	mov	rax, QWORD PTR -16[rbp]
	mov	BYTE PTR 2[rax], 9
	mov	rax, QWORD PTR -16[rbp]
	mov	BYTE PTR 2[rax], -128
	mov	DWORD PTR -20[rbp], 50
	mov	rax, QWORD PTR -16[rbp]
	mov	BYTE PTR 2[rax], 12
	mov	eax, DWORD PTR -20[rbp]
	mov	edx, eax
	mov	rax, QWORD PTR -16[rbp]
	mov	BYTE PTR 2[rax], dl
	mov	rax, QWORD PTR -16[rbp]
	mov	BYTE PTR 2[rax], 13
	mov	eax, DWORD PTR -20[rbp]
	sar	eax, 8
	mov	edx, eax
	mov	rax, QWORD PTR -16[rbp]
	mov	BYTE PTR 2[rax], dl
	mov	DWORD PTR -24[rbp], 0
	jmp	.L18
.L19:
	mov	eax, DWORD PTR -24[rbp]
	cdqe
	lea	rdx, cmds[rip]
	movzx	edx, BYTE PTR [rax+rdx]
	mov	rax, QWORD PTR -16[rbp]
	mov	BYTE PTR 2[rax], dl
	add	DWORD PTR -24[rbp], 1
.L18:
	mov	eax, DWORD PTR -24[rbp]
	cmp	eax, 19
	jbe	.L19
	mov	edi, 10
	call	delay
	lea	rdi, .LC2[rip]
	call	puts
	mov	QWORD PTR -8[rbp], 32768
	mov	rax, QWORD PTR -8[rbp]
	mov	edx, 32768
	mov	esi, 4039122944
	mov	rdi, rax
	call	memmove@PLT
	mov	edi, 32768
	call	px
	lea	rdi, .LC3[rip]
	call	puts
	mov	rax, QWORD PTR -8[rbp]
	cdqe
	mov	rdi, rax
	call	px
	mov	edi, 10
	call	putc
	mov	rax, QWORD PTR -8[rbp]
	mov	rax, QWORD PTR [rax]
	mov	rdi, rax
	call	px
	mov	edi, 10
	call	putc
	mov	rax, QWORD PTR -8[rbp]
	add	rax, 8
	mov	rax, QWORD PTR [rax]
	mov	rdi, rax
	call	px
	mov	edi, 10
	call	putc
	mov	rax, QWORD PTR -8[rbp]
	call	rax
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE4:
	.size	main, .-main
	.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	"271157.c"
	.text
	.data
	.align	2
	.type	cmds, %object
	.size	cmds, 20
cmds:
	.ascii	"\004D\003\300\005`\011\000\012\000\013P\016\002\016"
	.ascii	"\003\003\301\005j"
	.text
	.align	2
	.global	delay
	.syntax unified
	.arm
	.fpu softvfp
	.type	delay, %function
delay:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 1, uses_anonymous_args = 0
	@ link register save eliminated.
	str	fp, [sp, #-4]!
	add	fp, sp, #0
	sub	sp, sp, #20
	str	r0, [fp, #-16]
	ldr	r2, [fp, #-16]
	mov	r3, r2
	lsl	r3, r3, #5
	sub	r3, r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r2, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #3
	str	r3, [fp, #-16]
	mov	r3, #0
	str	r3, [fp, #-8]
	b	.L2
.L3:
	ldr	r3, [fp, #-8]
	add	r3, r3, #1
	str	r3, [fp, #-8]
.L2:
	ldr	r2, [fp, #-8]
	ldr	r3, [fp, #-16]
	cmp	r2, r3
	blt	.L3
	nop
	nop
	add	sp, fp, #0
	@ sp needed
	ldr	fp, [sp], #4
	bx	lr
	.size	delay, .-delay
	.align	2
	.global	putc
	.syntax unified
	.arm
	.fpu softvfp
	.type	putc, %function
putc:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #16
	str	r0, [fp, #-16]
	ldr	r3, [fp, #-16]
	cmp	r3, #10
	bne	.L5
	mov	r0, #13
	bl	putc
.L5:
	mov	r3, #-536870912
	str	r3, [fp, #-8]
.L8:
	ldr	r3, [fp, #-8]
	mov	r2, #0
	strb	r2, [r3, #2]
	ldr	r3, [fp, #-8]
	ldrb	r3, [r3, #2]	@ zero_extendqisi2
	and	r3, r3, #4
	cmp	r3, #0
	bne	.L10
	b	.L8
.L10:
	nop
	ldr	r3, [fp, #-16]
	and	r2, r3, #255
	ldr	r3, [fp, #-8]
	strb	r2, [r3, #3]
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
	.size	putc, .-putc
	.align	2
	.global	puts
	.syntax unified
	.arm
	.fpu softvfp
	.type	puts, %function
puts:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #8
	str	r0, [fp, #-8]
	b	.L12
.L13:
	ldr	r3, [fp, #-8]
	add	r2, r3, #1
	str	r2, [fp, #-8]
	ldrb	r3, [r3]	@ zero_extendqisi2
	mov	r0, r3
	bl	putc
.L12:
	ldr	r3, [fp, #-8]
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #0
	bne	.L13
	nop
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
	.size	puts, .-puts
	.section	.rodata
	.align	2
.LC0:
	.ascii	"0x\000"
	.align	2
.LC1:
	.ascii	"0123456789abcdef\000"
	.text
	.align	2
	.global	px
	.syntax unified
	.arm
	.fpu softvfp
	.type	px, %function
px:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #16
	str	r0, [fp, #-16]
	ldr	r0, .L17
	bl	puts
	mov	r3, #0
	str	r3, [fp, #-8]
	b	.L15
.L16:
	ldr	r3, [fp, #-16]
	asr	r3, r3, #24
	and	r3, r3, #15
	ldr	r2, .L17+4
	ldrb	r3, [r2, r3]	@ zero_extendqisi2
	mov	r0, r3
	bl	putc
	ldr	r3, [fp, #-16]
	lsl	r3, r3, #4
	str	r3, [fp, #-16]
	ldr	r3, [fp, #-8]
	add	r3, r3, #1
	str	r3, [fp, #-8]
.L15:
	ldr	r3, [fp, #-8]
	cmp	r3, #7
	ble	.L16
	nop
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L18:
	.align	2
.L17:
	.word	.LC0
	.word	.LC1
	.size	px, .-px
	.section	.rodata
	.align	2
.LC2:
	.ascii	"\012BOOT\012\000"
	.align	2
.LC3:
	.ascii	" copy ok, go \000"
	.text
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #16
	mov	r3, #-536870912
	str	r3, [fp, #-16]
	mov	r0, #10
	bl	delay
	ldr	r3, [fp, #-16]
	mov	r2, #0
	strb	r2, [r3, #2]
	ldr	r3, [fp, #-16]
	mov	r2, #9
	strb	r2, [r3, #2]
	ldr	r3, [fp, #-16]
	mvn	r2, #127
	strb	r2, [r3, #2]
	mov	r3, #50
	str	r3, [fp, #-12]
	ldr	r3, [fp, #-16]
	mov	r2, #12
	strb	r2, [r3, #2]
	ldr	r3, [fp, #-12]
	and	r2, r3, #255
	ldr	r3, [fp, #-16]
	strb	r2, [r3, #2]
	ldr	r3, [fp, #-16]
	mov	r2, #13
	strb	r2, [r3, #2]
	ldr	r3, [fp, #-12]
	asr	r3, r3, #8
	and	r2, r3, #255
	ldr	r3, [fp, #-16]
	strb	r2, [r3, #2]
	mov	r3, #0
	str	r3, [fp, #-20]
	b	.L20
.L21:
	ldr	r2, .L22
	ldr	r3, [fp, #-20]
	add	r3, r2, r3
	ldrb	r2, [r3]	@ zero_extendqisi2
	ldr	r3, [fp, #-16]
	strb	r2, [r3, #2]
	ldr	r3, [fp, #-20]
	add	r3, r3, #1
	str	r3, [fp, #-20]
.L20:
	ldr	r3, [fp, #-20]
	cmp	r3, #19
	bls	.L21
	mov	r0, #10
	bl	delay
	ldr	r0, .L22+4
	bl	puts
	mov	r3, #32768
	str	r3, [fp, #-8]
	mov	r2, #32768
	ldr	r1, .L22+8
	ldr	r0, [fp, #-8]
	bl	memmove
	mov	r0, #32768
	bl	px
	ldr	r0, .L22+12
	bl	puts
	ldr	r3, [fp, #-8]
	mov	r0, r3
	bl	px
	mov	r0, #10
	bl	putc
	ldr	r3, [fp, #-8]
	ldr	r3, [r3]
	mov	r0, r3
	bl	px
	mov	r0, #10
	bl	putc
	ldr	r3, [fp, #-8]
	add	r3, r3, #4
	ldr	r3, [r3]
	mov	r0, r3
	bl	px
	mov	r0, #10
	bl	putc
	ldr	r3, [fp, #-8]
	blx	r3
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L23:
	.align	2
.L22:
	.word	cmds
	.word	.LC2
	.word	-255844352
	.word	.LC3
	.size	main, .-main
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
