	.file	"473597.c"
	.intel_syntax noprefix
	.text
	.globl	arch
	.data
	.align 8
	.type	arch, @object
	.size	arch, 8
arch:
	.string	"PowerPC"
	.globl	descr
	.align 16
	.type	descr, @object
	.size	descr, 24
descr:
	.long	-1
	.long	33554432
	.long	-1
	.long	-1
	.long	-1
	.long	16384
	.globl	rpaname
	.align 16
	.type	rpaname, @object
	.size	rpaname, 22
rpaname:
	.string	"IBM,RPA-Client-Config"
	.globl	rpanote
	.align 32
	.type	rpanote, @object
	.size	rpanote, 32
rpanote:
	.long	0
	.long	64
	.long	0
	.long	40
	.long	1
	.long	-1
	.long	0
	.long	1
	.globl	buf
	.bss
	.align 32
	.type	buf, @object
	.size	buf, 512
buf:
	.zero	512
	.globl	elf_magic
	.data
	.type	elf_magic, @object
	.size	elf_magic, 4
elf_magic:
	.ascii	"\177ELF"
	.section	.rodata
.LC0:
	.string	"Usage: %s elf-file\n"
.LC1:
	.string	"read"
	.align 8
.LC2:
	.string	"%s is not a big-endian 32-bit ELF image\n"
.LC3:
	.string	"%s already has a note entry\n"
.LC4:
	.string	"write"
.LC5:
	.string	"%s: write truncated\n"
	.align 8
.LC6:
	.string	"%s does not appear to be an ELF file\n"
	.align 8
.LC7:
	.string	"sorry, I can't find space in %s to put the note\n"
	.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, 64
	mov	DWORD PTR -52[rbp], edi
	mov	QWORD PTR -64[rbp], rsi
	cmp	DWORD PTR -52[rbp], 2
	je	.L2
	mov	rax, QWORD PTR -64[rbp]
	mov	rdx, QWORD PTR [rax]
	mov	rax, QWORD PTR stderr[rip]
	lea	rsi, .LC0[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	mov	edi, 1
	call	exit@PLT
.L2:
	mov	rax, QWORD PTR -64[rbp]
	add	rax, 8
	mov	rax, QWORD PTR [rax]
	mov	esi, 2
	mov	rdi, rax
	mov	eax, 0
	call	open@PLT
	mov	DWORD PTR -24[rbp], eax
	cmp	DWORD PTR -24[rbp], 0
	jns	.L3
	mov	rax, QWORD PTR -64[rbp]
	add	rax, 8
	mov	rax, QWORD PTR [rax]
	mov	rdi, rax
	call	perror@PLT
	mov	edi, 1
	call	exit@PLT
.L3:
	lea	rdi, arch[rip]
	call	strlen@PLT
	add	eax, 4
	and	eax, -4
	add	eax, 36
	mov	DWORD PTR -20[rbp], eax
	lea	rdi, rpaname[rip]
	call	strlen@PLT
	add	eax, 4
	and	eax, -4
	add	eax, 44
	mov	DWORD PTR -16[rbp], eax
	mov	eax, DWORD PTR -24[rbp]
	mov	edx, 512
	lea	rsi, buf[rip]
	mov	edi, eax
	call	read@PLT
	mov	DWORD PTR -12[rbp], eax
	cmp	DWORD PTR -12[rbp], 0
	jns	.L4
	lea	rdi, .LC1[rip]
	call	perror@PLT
	mov	edi, 1
	call	exit@PLT
.L4:
	cmp	DWORD PTR -12[rbp], 51
	jle	.L26
	mov	edx, 4
	lea	rsi, elf_magic[rip]
	lea	rdi, buf[rip]
	call	memcmp@PLT
	test	eax, eax
	jne	.L26
	movzx	eax, BYTE PTR buf[rip+4]
	cmp	al, 1
	jne	.L8
	movzx	eax, BYTE PTR buf[rip+5]
	cmp	al, 2
	je	.L9
.L8:
	mov	rax, QWORD PTR -64[rbp]
	add	rax, 8
	mov	rdx, QWORD PTR [rax]
	mov	rax, QWORD PTR stderr[rip]
	lea	rsi, .LC2[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	mov	edi, 1
	call	exit@PLT
.L9:
	movzx	eax, BYTE PTR buf[rip+28]
	movzx	eax, al
	sal	eax, 8
	mov	edx, eax
	movzx	eax, BYTE PTR buf[rip+29]
	movzx	eax, al
	add	eax, edx
	sal	eax, 16
	mov	edx, eax
	movzx	eax, BYTE PTR buf[rip+30]
	movzx	eax, al
	sal	eax, 8
	mov	ecx, eax
	movzx	eax, BYTE PTR buf[rip+31]
	movzx	eax, al
	add	eax, ecx
	add	eax, edx
	mov	DWORD PTR -32[rbp], eax
	movzx	eax, BYTE PTR buf[rip+42]
	movzx	eax, al
	sal	eax, 8
	mov	edx, eax
	movzx	eax, BYTE PTR buf[rip+43]
	movzx	eax, al
	add	eax, edx
	mov	DWORD PTR -8[rbp], eax
	movzx	eax, BYTE PTR buf[rip+44]
	movzx	eax, al
	sal	eax, 8
	mov	edx, eax
	movzx	eax, BYTE PTR buf[rip+45]
	movzx	eax, al
	add	eax, edx
	mov	DWORD PTR -4[rbp], eax
	cmp	DWORD PTR -32[rbp], 51
	jle	.L27
	cmp	DWORD PTR -8[rbp], 31
	jle	.L27
	cmp	DWORD PTR -4[rbp], 0
	jle	.L27
	mov	eax, DWORD PTR -4[rbp]
	add	eax, 2
	imul	eax, DWORD PTR -8[rbp]
	mov	edx, eax
	mov	eax, DWORD PTR -32[rbp]
	add	edx, eax
	mov	eax, DWORD PTR -20[rbp]
	add	edx, eax
	mov	eax, DWORD PTR -16[rbp]
	add	eax, edx
	cmp	DWORD PTR -12[rbp], eax
	jl	.L28
	mov	DWORD PTR -36[rbp], 0
	jmp	.L14
.L16:
	mov	eax, DWORD PTR -32[rbp]
	cdqe
	lea	rdx, buf[rip]
	movzx	eax, BYTE PTR [rax+rdx]
	movzx	eax, al
	sal	eax, 8
	mov	ecx, eax
	mov	eax, DWORD PTR -32[rbp]
	add	eax, 1
	cdqe
	lea	rdx, buf[rip]
	movzx	eax, BYTE PTR [rax+rdx]
	movzx	eax, al
	add	eax, ecx
	sal	eax, 16
	mov	ecx, eax
	mov	eax, DWORD PTR -32[rbp]
	add	eax, 2
	cdqe
	lea	rdx, buf[rip]
	movzx	eax, BYTE PTR [rax+rdx]
	movzx	eax, al
	sal	eax, 8
	mov	esi, eax
	mov	eax, DWORD PTR -32[rbp]
	add	eax, 3
	cdqe
	lea	rdx, buf[rip]
	movzx	eax, BYTE PTR [rax+rdx]
	movzx	eax, al
	add	eax, esi
	add	eax, ecx
	cmp	eax, 4
	jne	.L15
	mov	rax, QWORD PTR -64[rbp]
	add	rax, 8
	mov	rdx, QWORD PTR [rax]
	mov	rax, QWORD PTR stderr[rip]
	lea	rsi, .LC3[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	mov	edi, 0
	call	exit@PLT
.L15:
	mov	eax, DWORD PTR -8[rbp]
	add	DWORD PTR -32[rbp], eax
	add	DWORD PTR -36[rbp], 1
.L14:
	mov	eax, DWORD PTR -36[rbp]
	cmp	eax, DWORD PTR -4[rbp]
	jl	.L16
	mov	DWORD PTR -36[rbp], 0
	jmp	.L17
.L19:
	mov	edx, DWORD PTR -32[rbp]
	mov	eax, DWORD PTR -36[rbp]
	add	eax, edx
	cdqe
	lea	rdx, buf[rip]
	movzx	eax, BYTE PTR [rax+rdx]
	test	al, al
	jne	.L29
	add	DWORD PTR -36[rbp], 1
.L17:
	mov	eax, DWORD PTR -8[rbp]
	lea	edx, [rax+rax]
	mov	eax, DWORD PTR -20[rbp]
	add	edx, eax
	mov	eax, DWORD PTR -16[rbp]
	add	eax, edx
	cmp	DWORD PTR -36[rbp], eax
	jl	.L19
	mov	eax, DWORD PTR -8[rbp]
	lea	edx, [rax+rax]
	mov	eax, DWORD PTR -32[rbp]
	add	eax, edx
	mov	DWORD PTR -28[rbp], eax
	mov	eax, DWORD PTR -32[rbp]
	cdqe
	lea	rdx, buf[rip]
	mov	BYTE PTR [rax+rdx], 0
	mov	eax, DWORD PTR -32[rbp]
	add	eax, 1
	cdqe
	lea	rdx, buf[rip]
	mov	BYTE PTR [rax+rdx], 0
	mov	eax, DWORD PTR -32[rbp]
	add	eax, 2
	cdqe
	lea	rdx, buf[rip]
	mov	BYTE PTR [rax+rdx], 0
	mov	eax, DWORD PTR -32[rbp]
	add	eax, 3
	cdqe
	lea	rdx, buf[rip]
	mov	BYTE PTR [rax+rdx], 4
	mov	eax, DWORD PTR -28[rbp]
	shr	eax, 24
	mov	edx, eax
	mov	eax, DWORD PTR -32[rbp]
	add	eax, 4
	mov	ecx, edx
	cdqe
	lea	rdx, buf[rip]
	mov	BYTE PTR [rax+rdx], cl
	mov	eax, DWORD PTR -28[rbp]
	sar	eax, 16
	mov	edx, eax
	mov	eax, DWORD PTR -32[rbp]
	add	eax, 5
	mov	ecx, edx
	cdqe
	lea	rdx, buf[rip]
	mov	BYTE PTR [rax+rdx], cl
	mov	eax, DWORD PTR -28[rbp]
	sar	eax, 8
	mov	edx, eax
	mov	eax, DWORD PTR -32[rbp]
	add	eax, 6
	mov	ecx, edx
	cdqe
	lea	rdx, buf[rip]
	mov	BYTE PTR [rax+rdx], cl
	mov	eax, DWORD PTR -32[rbp]
	add	eax, 7
	mov	edx, DWORD PTR -28[rbp]
	mov	ecx, edx
	cdqe
	lea	rdx, buf[rip]
	mov	BYTE PTR [rax+rdx], cl
	mov	eax, DWORD PTR -20[rbp]
	shr	eax, 24
	mov	edx, eax
	mov	eax, DWORD PTR -32[rbp]
	add	eax, 16
	mov	ecx, edx
	cdqe
	lea	rdx, buf[rip]
	mov	BYTE PTR [rax+rdx], cl
	mov	eax, DWORD PTR -20[rbp]
	sar	eax, 16
	mov	edx, eax
	mov	eax, DWORD PTR -32[rbp]
	add	eax, 17
	mov	ecx, edx
	cdqe
	lea	rdx, buf[rip]
	mov	BYTE PTR [rax+rdx], cl
	mov	eax, DWORD PTR -20[rbp]
	sar	eax, 8
	mov	edx, eax
	mov	eax, DWORD PTR -32[rbp]
	add	eax, 18
	mov	ecx, edx
	cdqe
	lea	rdx, buf[rip]
	mov	BYTE PTR [rax+rdx], cl
	mov	eax, DWORD PTR -32[rbp]
	add	eax, 19
	mov	edx, DWORD PTR -20[rbp]
	mov	ecx, edx
	cdqe
	lea	rdx, buf[rip]
	mov	BYTE PTR [rax+rdx], cl
	lea	rdi, arch[rip]
	call	strlen@PLT
	add	rax, 1
	shr	rax, 24
	mov	ecx, eax
	mov	eax, DWORD PTR -28[rbp]
	cdqe
	lea	rdx, buf[rip]
	mov	BYTE PTR [rax+rdx], cl
	lea	rdi, arch[rip]
	call	strlen@PLT
	add	rax, 1
	shr	rax, 16
	mov	rdx, rax
	mov	eax, DWORD PTR -28[rbp]
	add	eax, 1
	mov	ecx, edx
	cdqe
	lea	rdx, buf[rip]
	mov	BYTE PTR [rax+rdx], cl
	lea	rdi, arch[rip]
	call	strlen@PLT
	add	rax, 1
	shr	rax, 8
	mov	rdx, rax
	mov	eax, DWORD PTR -28[rbp]
	add	eax, 2
	mov	ecx, edx
	cdqe
	lea	rdx, buf[rip]
	mov	BYTE PTR [rax+rdx], cl
	lea	rdi, arch[rip]
	call	strlen@PLT
	mov	edx, eax
	mov	eax, DWORD PTR -28[rbp]
	add	eax, 3
	lea	ecx, 1[rdx]
	cdqe
	lea	rdx, buf[rip]
	mov	BYTE PTR [rax+rdx], cl
	mov	eax, DWORD PTR -28[rbp]
	add	eax, 4
	cdqe
	lea	rdx, buf[rip]
	mov	BYTE PTR [rax+rdx], 0
	mov	eax, DWORD PTR -28[rbp]
	add	eax, 5
	cdqe
	lea	rdx, buf[rip]
	mov	BYTE PTR [rax+rdx], 0
	mov	eax, DWORD PTR -28[rbp]
	add	eax, 6
	cdqe
	lea	rdx, buf[rip]
	mov	BYTE PTR [rax+rdx], 0
	mov	eax, DWORD PTR -28[rbp]
	add	eax, 7
	cdqe
	lea	rdx, buf[rip]
	mov	BYTE PTR [rax+rdx], 24
	mov	eax, DWORD PTR -28[rbp]
	add	eax, 8
	cdqe
	lea	rdx, buf[rip]
	mov	BYTE PTR [rax+rdx], 0
	mov	eax, DWORD PTR -28[rbp]
	add	eax, 9
	cdqe
	lea	rdx, buf[rip]
	mov	BYTE PTR [rax+rdx], 0
	mov	eax, DWORD PTR -28[rbp]
	add	eax, 10
	cdqe
	lea	rdx, buf[rip]
	mov	BYTE PTR [rax+rdx], 18
	mov	eax, DWORD PTR -28[rbp]
	add	eax, 11
	cdqe
	lea	rdx, buf[rip]
	mov	BYTE PTR [rax+rdx], 117
	mov	eax, DWORD PTR -28[rbp]
	add	eax, 12
	cdqe
	lea	rdx, buf[rip]
	add	rax, rdx
	lea	rsi, arch[rip]
	mov	rdi, rax
	call	strcpy@PLT
	lea	rdi, arch[rip]
	call	strlen@PLT
	mov	edx, eax
	mov	eax, DWORD PTR -28[rbp]
	add	eax, edx
	add	eax, 13
	mov	DWORD PTR -28[rbp], eax
	mov	DWORD PTR -36[rbp], 0
	jmp	.L20
.L21:
	mov	eax, DWORD PTR -36[rbp]
	cdqe
	lea	rdx, 0[0+rax*4]
	lea	rax, descr[rip]
	mov	eax, DWORD PTR [rdx+rax]
	shr	eax, 24
	mov	ecx, eax
	mov	eax, DWORD PTR -28[rbp]
	cdqe
	lea	rdx, buf[rip]
	mov	BYTE PTR [rax+rdx], cl
	mov	eax, DWORD PTR -36[rbp]
	cdqe
	lea	rdx, 0[0+rax*4]
	lea	rax, descr[rip]
	mov	eax, DWORD PTR [rdx+rax]
	shr	eax, 16
	mov	edx, eax
	mov	eax, DWORD PTR -28[rbp]
	add	eax, 1
	mov	ecx, edx
	cdqe
	lea	rdx, buf[rip]
	mov	BYTE PTR [rax+rdx], cl
	mov	eax, DWORD PTR -36[rbp]
	cdqe
	lea	rdx, 0[0+rax*4]
	lea	rax, descr[rip]
	mov	eax, DWORD PTR [rdx+rax]
	shr	eax, 8
	mov	edx, eax
	mov	eax, DWORD PTR -28[rbp]
	add	eax, 2
	mov	ecx, edx
	cdqe
	lea	rdx, buf[rip]
	mov	BYTE PTR [rax+rdx], cl
	mov	eax, DWORD PTR -36[rbp]
	cdqe
	lea	rdx, 0[0+rax*4]
	lea	rax, descr[rip]
	mov	edx, DWORD PTR [rdx+rax]
	mov	eax, DWORD PTR -28[rbp]
	add	eax, 3
	mov	ecx, edx
	cdqe
	lea	rdx, buf[rip]
	mov	BYTE PTR [rax+rdx], cl
	add	DWORD PTR -36[rbp], 1
	add	DWORD PTR -28[rbp], 4
.L20:
	cmp	DWORD PTR -36[rbp], 5
	jle	.L21
	mov	eax, DWORD PTR -8[rbp]
	add	DWORD PTR -32[rbp], eax
	mov	eax, DWORD PTR -32[rbp]
	cdqe
	lea	rdx, buf[rip]
	mov	BYTE PTR [rax+rdx], 0
	mov	eax, DWORD PTR -32[rbp]
	add	eax, 1
	cdqe
	lea	rdx, buf[rip]
	mov	BYTE PTR [rax+rdx], 0
	mov	eax, DWORD PTR -32[rbp]
	add	eax, 2
	cdqe
	lea	rdx, buf[rip]
	mov	BYTE PTR [rax+rdx], 0
	mov	eax, DWORD PTR -32[rbp]
	add	eax, 3
	cdqe
	lea	rdx, buf[rip]
	mov	BYTE PTR [rax+rdx], 4
	mov	eax, DWORD PTR -28[rbp]
	shr	eax, 24
	mov	edx, eax
	mov	eax, DWORD PTR -32[rbp]
	add	eax, 4
	mov	ecx, edx
	cdqe
	lea	rdx, buf[rip]
	mov	BYTE PTR [rax+rdx], cl
	mov	eax, DWORD PTR -28[rbp]
	sar	eax, 16
	mov	edx, eax
	mov	eax, DWORD PTR -32[rbp]
	add	eax, 5
	mov	ecx, edx
	cdqe
	lea	rdx, buf[rip]
	mov	BYTE PTR [rax+rdx], cl
	mov	eax, DWORD PTR -28[rbp]
	sar	eax, 8
	mov	edx, eax
	mov	eax, DWORD PTR -32[rbp]
	add	eax, 6
	mov	ecx, edx
	cdqe
	lea	rdx, buf[rip]
	mov	BYTE PTR [rax+rdx], cl
	mov	eax, DWORD PTR -32[rbp]
	add	eax, 7
	mov	edx, DWORD PTR -28[rbp]
	mov	ecx, edx
	cdqe
	lea	rdx, buf[rip]
	mov	BYTE PTR [rax+rdx], cl
	mov	eax, DWORD PTR -16[rbp]
	shr	eax, 24
	mov	edx, eax
	mov	eax, DWORD PTR -32[rbp]
	add	eax, 16
	mov	ecx, edx
	cdqe
	lea	rdx, buf[rip]
	mov	BYTE PTR [rax+rdx], cl
	mov	eax, DWORD PTR -16[rbp]
	sar	eax, 16
	mov	edx, eax
	mov	eax, DWORD PTR -32[rbp]
	add	eax, 17
	mov	ecx, edx
	cdqe
	lea	rdx, buf[rip]
	mov	BYTE PTR [rax+rdx], cl
	mov	eax, DWORD PTR -16[rbp]
	sar	eax, 8
	mov	edx, eax
	mov	eax, DWORD PTR -32[rbp]
	add	eax, 18
	mov	ecx, edx
	cdqe
	lea	rdx, buf[rip]
	mov	BYTE PTR [rax+rdx], cl
	mov	eax, DWORD PTR -32[rbp]
	add	eax, 19
	mov	edx, DWORD PTR -16[rbp]
	mov	ecx, edx
	cdqe
	lea	rdx, buf[rip]
	mov	BYTE PTR [rax+rdx], cl
	lea	rdi, rpaname[rip]
	call	strlen@PLT
	add	rax, 1
	shr	rax, 24
	mov	ecx, eax
	mov	eax, DWORD PTR -28[rbp]
	cdqe
	lea	rdx, buf[rip]
	mov	BYTE PTR [rax+rdx], cl
	lea	rdi, rpaname[rip]
	call	strlen@PLT
	add	rax, 1
	shr	rax, 16
	mov	rdx, rax
	mov	eax, DWORD PTR -28[rbp]
	add	eax, 1
	mov	ecx, edx
	cdqe
	lea	rdx, buf[rip]
	mov	BYTE PTR [rax+rdx], cl
	lea	rdi, rpaname[rip]
	call	strlen@PLT
	add	rax, 1
	shr	rax, 8
	mov	rdx, rax
	mov	eax, DWORD PTR -28[rbp]
	add	eax, 2
	mov	ecx, edx
	cdqe
	lea	rdx, buf[rip]
	mov	BYTE PTR [rax+rdx], cl
	lea	rdi, rpaname[rip]
	call	strlen@PLT
	mov	edx, eax
	mov	eax, DWORD PTR -28[rbp]
	add	eax, 3
	lea	ecx, 1[rdx]
	cdqe
	lea	rdx, buf[rip]
	mov	BYTE PTR [rax+rdx], cl
	mov	eax, DWORD PTR -28[rbp]
	add	eax, 4
	cdqe
	lea	rdx, buf[rip]
	mov	BYTE PTR [rax+rdx], 0
	mov	eax, DWORD PTR -28[rbp]
	add	eax, 5
	cdqe
	lea	rdx, buf[rip]
	mov	BYTE PTR [rax+rdx], 0
	mov	eax, DWORD PTR -28[rbp]
	add	eax, 6
	cdqe
	lea	rdx, buf[rip]
	mov	BYTE PTR [rax+rdx], 0
	mov	eax, DWORD PTR -28[rbp]
	add	eax, 7
	cdqe
	lea	rdx, buf[rip]
	mov	BYTE PTR [rax+rdx], 32
	mov	eax, DWORD PTR -28[rbp]
	add	eax, 8
	cdqe
	lea	rdx, buf[rip]
	mov	BYTE PTR [rax+rdx], 18
	mov	eax, DWORD PTR -28[rbp]
	add	eax, 9
	cdqe
	lea	rdx, buf[rip]
	mov	BYTE PTR [rax+rdx], 117
	mov	eax, DWORD PTR -28[rbp]
	add	eax, 10
	cdqe
	lea	rdx, buf[rip]
	mov	BYTE PTR [rax+rdx], -103
	mov	eax, DWORD PTR -28[rbp]
	add	eax, 11
	cdqe
	lea	rdx, buf[rip]
	mov	BYTE PTR [rax+rdx], -103
	mov	eax, DWORD PTR -28[rbp]
	add	eax, 12
	cdqe
	lea	rdx, buf[rip]
	add	rax, rdx
	lea	rsi, rpaname[rip]
	mov	rdi, rax
	call	strcpy@PLT
	lea	rdi, rpaname[rip]
	call	strlen@PLT
	add	eax, 4
	and	eax, -4
	mov	edx, eax
	mov	eax, DWORD PTR -28[rbp]
	add	eax, edx
	add	eax, 12
	mov	DWORD PTR -28[rbp], eax
	mov	DWORD PTR -36[rbp], 0
	jmp	.L22
.L23:
	mov	eax, DWORD PTR -36[rbp]
	cdqe
	lea	rdx, 0[0+rax*4]
	lea	rax, rpanote[rip]
	mov	eax, DWORD PTR [rdx+rax]
	shr	eax, 24
	mov	ecx, eax
	mov	eax, DWORD PTR -28[rbp]
	cdqe
	lea	rdx, buf[rip]
	mov	BYTE PTR [rax+rdx], cl
	mov	eax, DWORD PTR -36[rbp]
	cdqe
	lea	rdx, 0[0+rax*4]
	lea	rax, rpanote[rip]
	mov	eax, DWORD PTR [rdx+rax]
	shr	eax, 16
	mov	edx, eax
	mov	eax, DWORD PTR -28[rbp]
	add	eax, 1
	mov	ecx, edx
	cdqe
	lea	rdx, buf[rip]
	mov	BYTE PTR [rax+rdx], cl
	mov	eax, DWORD PTR -36[rbp]
	cdqe
	lea	rdx, 0[0+rax*4]
	lea	rax, rpanote[rip]
	mov	eax, DWORD PTR [rdx+rax]
	shr	eax, 8
	mov	edx, eax
	mov	eax, DWORD PTR -28[rbp]
	add	eax, 2
	mov	ecx, edx
	cdqe
	lea	rdx, buf[rip]
	mov	BYTE PTR [rax+rdx], cl
	mov	eax, DWORD PTR -36[rbp]
	cdqe
	lea	rdx, 0[0+rax*4]
	lea	rax, rpanote[rip]
	mov	edx, DWORD PTR [rdx+rax]
	mov	eax, DWORD PTR -28[rbp]
	add	eax, 3
	mov	ecx, edx
	cdqe
	lea	rdx, buf[rip]
	mov	BYTE PTR [rax+rdx], cl
	add	DWORD PTR -36[rbp], 1
	add	DWORD PTR -28[rbp], 4
.L22:
	cmp	DWORD PTR -36[rbp], 7
	jle	.L23
	mov	eax, DWORD PTR -4[rbp]
	add	eax, 2
	sar	eax, 8
	mov	BYTE PTR buf[rip+44], al
	mov	eax, DWORD PTR -4[rbp]
	add	eax, 2
	mov	BYTE PTR buf[rip+45], al
	mov	eax, DWORD PTR -24[rbp]
	mov	edx, 0
	mov	esi, 0
	mov	edi, eax
	call	lseek@PLT
	mov	eax, DWORD PTR -12[rbp]
	movsx	rdx, eax
	mov	eax, DWORD PTR -24[rbp]
	lea	rsi, buf[rip]
	mov	edi, eax
	call	write@PLT
	mov	DWORD PTR -36[rbp], eax
	cmp	DWORD PTR -36[rbp], 0
	jns	.L24
	lea	rdi, .LC4[rip]
	call	perror@PLT
	mov	edi, 1
	call	exit@PLT
.L24:
	mov	eax, DWORD PTR -36[rbp]
	cmp	eax, DWORD PTR -12[rbp]
	jge	.L25
	mov	rax, QWORD PTR -64[rbp]
	add	rax, 8
	mov	rdx, QWORD PTR [rax]
	mov	rax, QWORD PTR stderr[rip]
	lea	rsi, .LC5[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	mov	edi, 1
	call	exit@PLT
.L25:
	mov	edi, 0
	call	exit@PLT
.L26:
	nop
	jmp	.L7
.L27:
	nop
.L7:
	mov	rax, QWORD PTR -64[rbp]
	add	rax, 8
	mov	rdx, QWORD PTR [rax]
	mov	rax, QWORD PTR stderr[rip]
	lea	rsi, .LC6[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	mov	edi, 1
	call	exit@PLT
.L28:
	nop
	jmp	.L13
.L29:
	nop
.L13:
	mov	rax, QWORD PTR -64[rbp]
	add	rax, 8
	mov	rdx, QWORD PTR [rax]
	mov	rax, QWORD PTR stderr[rip]
	lea	rsi, .LC7[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	mov	edi, 1
	call	exit@PLT
	.cfi_endproc
.LFE6:
	.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	"473597.c"
	.text
	.global	arch
	.data
	.align	2
	.type	arch, %object
	.size	arch, 8
arch:
	.ascii	"PowerPC\000"
	.global	descr
	.align	2
	.type	descr, %object
	.size	descr, 24
descr:
	.word	-1
	.word	33554432
	.word	-1
	.word	-1
	.word	-1
	.word	16384
	.global	rpaname
	.align	2
	.type	rpaname, %object
	.size	rpaname, 22
rpaname:
	.ascii	"IBM,RPA-Client-Config\000"
	.global	rpanote
	.align	2
	.type	rpanote, %object
	.size	rpanote, 32
rpanote:
	.word	0
	.word	64
	.word	0
	.word	40
	.word	1
	.word	-1
	.word	0
	.word	1
	.comm	buf,512,4
	.global	elf_magic
	.align	2
	.type	elf_magic, %object
	.size	elf_magic, 4
elf_magic:
	.ascii	"\177ELF"
	.section	.rodata
	.align	2
.LC0:
	.ascii	"Usage: %s elf-file\012\000"
	.align	2
.LC1:
	.ascii	"read\000"
	.align	2
.LC2:
	.ascii	"%s is not a big-endian 32-bit ELF image\012\000"
	.align	2
.LC3:
	.ascii	"%s already has a note entry\012\000"
	.align	2
.LC4:
	.ascii	"write\000"
	.align	2
.LC5:
	.ascii	"%s: write truncated\012\000"
	.align	2
.LC6:
	.ascii	"%s does not appear to be an ELF file\012\000"
	.align	2
.LC7:
	.ascii	"sorry, I can't find space in %s to put the note\012"
	.ascii	"\000"
	.text
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 48
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #48
	str	r0, [fp, #-48]
	str	r1, [fp, #-52]
	ldr	r3, [fp, #-48]
	cmp	r3, #2
	beq	.L2
	ldr	r3, .L30
	ldr	r0, [r3]
	ldr	r3, [fp, #-52]
	ldr	r3, [r3]
	mov	r2, r3
	ldr	r1, .L30+4
	bl	fprintf
	mov	r0, #1
	bl	exit
.L2:
	ldr	r3, [fp, #-52]
	add	r3, r3, #4
	ldr	r3, [r3]
	mov	r1, #2
	mov	r0, r3
	bl	open
	str	r0, [fp, #-28]
	ldr	r3, [fp, #-28]
	cmp	r3, #0
	bge	.L3
	ldr	r3, [fp, #-52]
	add	r3, r3, #4
	ldr	r3, [r3]
	mov	r0, r3
	bl	perror
	mov	r0, #1
	bl	exit
.L3:
	ldr	r0, .L30+8
	bl	strlen
	mov	r3, r0
	add	r3, r3, #4
	bic	r3, r3, #3
	add	r3, r3, #36
	str	r3, [fp, #-24]
	ldr	r0, .L30+12
	bl	strlen
	mov	r3, r0
	add	r3, r3, #4
	bic	r3, r3, #3
	add	r3, r3, #44
	str	r3, [fp, #-20]
	mov	r2, #512
	ldr	r1, .L30+16
	ldr	r0, [fp, #-28]
	bl	read
	str	r0, [fp, #-16]
	ldr	r3, [fp, #-16]
	cmp	r3, #0
	bge	.L4
	ldr	r0, .L30+20
	bl	perror
	mov	r0, #1
	bl	exit
.L4:
	ldr	r3, [fp, #-16]
	cmp	r3, #51
	ble	.L26
	mov	r2, #4
	ldr	r1, .L30+24
	ldr	r0, .L30+16
	bl	memcmp
	mov	r3, r0
	cmp	r3, #0
	bne	.L26
	ldr	r3, .L30+16
	ldrb	r3, [r3, #4]	@ zero_extendqisi2
	cmp	r3, #1
	bne	.L8
	ldr	r3, .L30+16
	ldrb	r3, [r3, #5]	@ zero_extendqisi2
	cmp	r3, #2
	beq	.L9
.L8:
	ldr	r3, .L30
	ldr	r0, [r3]
	ldr	r3, [fp, #-52]
	add	r3, r3, #4
	ldr	r3, [r3]
	mov	r2, r3
	ldr	r1, .L30+28
	bl	fprintf
	mov	r0, #1
	bl	exit
.L9:
	ldr	r3, .L30+16
	ldrb	r3, [r3, #28]	@ zero_extendqisi2
	lsl	r3, r3, #8
	ldr	r2, .L30+16
	ldrb	r2, [r2, #29]	@ zero_extendqisi2
	add	r3, r3, r2
	lsl	r2, r3, #16
	ldr	r3, .L30+16
	ldrb	r3, [r3, #30]	@ zero_extendqisi2
	lsl	r3, r3, #8
	ldr	r1, .L30+16
	ldrb	r1, [r1, #31]	@ zero_extendqisi2
	add	r3, r3, r1
	add	r3, r2, r3
	str	r3, [fp, #-36]
	ldr	r3, .L30+16
	ldrb	r3, [r3, #42]	@ zero_extendqisi2
	lsl	r3, r3, #8
	ldr	r2, .L30+16
	ldrb	r2, [r2, #43]	@ zero_extendqisi2
	add	r3, r3, r2
	str	r3, [fp, #-12]
	ldr	r3, .L30+16
	ldrb	r3, [r3, #44]	@ zero_extendqisi2
	lsl	r3, r3, #8
	ldr	r2, .L30+16
	ldrb	r2, [r2, #45]	@ zero_extendqisi2
	add	r3, r3, r2
	str	r3, [fp, #-8]
	ldr	r3, [fp, #-36]
	cmp	r3, #51
	ble	.L27
	ldr	r3, [fp, #-12]
	cmp	r3, #31
	ble	.L27
	ldr	r3, [fp, #-8]
	cmp	r3, #0
	ble	.L27
	ldr	r3, [fp, #-8]
	add	r3, r3, #2
	ldr	r2, [fp, #-12]
	mul	r2, r3, r2
	ldr	r3, [fp, #-36]
	add	r2, r2, r3
	ldr	r3, [fp, #-24]
	add	r2, r2, r3
	ldr	r3, [fp, #-20]
	add	r3, r2, r3
	ldr	r2, [fp, #-16]
	cmp	r2, r3
	blt	.L28
	mov	r3, #0
	str	r3, [fp, #-40]
	b	.L14
.L16:
	ldr	r2, .L30+16
	ldr	r3, [fp, #-36]
	add	r3, r2, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	lsl	r3, r3, #8
	ldr	r2, [fp, #-36]
	add	r2, r2, #1
	ldr	r1, .L30+16
	ldrb	r2, [r1, r2]	@ zero_extendqisi2
	add	r3, r3, r2
	lsl	r2, r3, #16
	ldr	r3, [fp, #-36]
	add	r3, r3, #2
	ldr	r1, .L30+16
	ldrb	r3, [r1, r3]	@ zero_extendqisi2
	lsl	r3, r3, #8
	ldr	r1, [fp, #-36]
	add	r1, r1, #3
	ldr	r0, .L30+16
	ldrb	r1, [r0, r1]	@ zero_extendqisi2
	add	r3, r3, r1
	add	r3, r2, r3
	cmp	r3, #4
	bne	.L15
	ldr	r3, .L30
	ldr	r0, [r3]
	ldr	r3, [fp, #-52]
	add	r3, r3, #4
	ldr	r3, [r3]
	mov	r2, r3
	ldr	r1, .L30+32
	bl	fprintf
	mov	r0, #0
	bl	exit
.L15:
	ldr	r2, [fp, #-36]
	ldr	r3, [fp, #-12]
	add	r3, r2, r3
	str	r3, [fp, #-36]
	ldr	r3, [fp, #-40]
	add	r3, r3, #1
	str	r3, [fp, #-40]
.L14:
	ldr	r2, [fp, #-40]
	ldr	r3, [fp, #-8]
	cmp	r2, r3
	blt	.L16
	mov	r3, #0
	str	r3, [fp, #-40]
	b	.L17
.L19:
	ldr	r2, [fp, #-36]
	ldr	r3, [fp, #-40]
	add	r3, r2, r3
	ldr	r2, .L30+16
	ldrb	r3, [r2, r3]	@ zero_extendqisi2
	cmp	r3, #0
	bne	.L29
	ldr	r3, [fp, #-40]
	add	r3, r3, #1
	str	r3, [fp, #-40]
.L17:
	ldr	r3, [fp, #-12]
	lsl	r2, r3, #1
	ldr	r3, [fp, #-24]
	add	r2, r2, r3
	ldr	r3, [fp, #-20]
	add	r3, r2, r3
	ldr	r2, [fp, #-40]
	cmp	r2, r3
	blt	.L19
	ldr	r3, [fp, #-12]
	lsl	r3, r3, #1
	ldr	r2, [fp, #-36]
	add	r3, r2, r3
	str	r3, [fp, #-32]
	ldr	r2, .L30+16
	ldr	r3, [fp, #-36]
	add	r3, r2, r3
	mov	r2, #0
	strb	r2, [r3]
	ldr	r3, [fp, #-36]
	add	r3, r3, #1
	ldr	r2, .L30+16
	mov	r1, #0
	strb	r1, [r2, r3]
	ldr	r3, [fp, #-36]
	add	r3, r3, #2
	ldr	r2, .L30+16
	mov	r1, #0
	strb	r1, [r2, r3]
	ldr	r3, [fp, #-36]
	add	r3, r3, #3
	ldr	r2, .L30+16
	mov	r1, #4
	strb	r1, [r2, r3]
	ldr	r3, [fp, #-32]
	lsr	r2, r3, #24
	ldr	r3, [fp, #-36]
	add	r3, r3, #4
	and	r1, r2, #255
	ldr	r2, .L30+16
	strb	r1, [r2, r3]
	ldr	r3, [fp, #-32]
	asr	r2, r3, #16
	ldr	r3, [fp, #-36]
	add	r3, r3, #5
	and	r1, r2, #255
	ldr	r2, .L30+16
	strb	r1, [r2, r3]
	ldr	r3, [fp, #-32]
	asr	r2, r3, #8
	ldr	r3, [fp, #-36]
	add	r3, r3, #6
	and	r1, r2, #255
	ldr	r2, .L30+16
	strb	r1, [r2, r3]
	ldr	r3, [fp, #-36]
	add	r3, r3, #7
	ldr	r2, [fp, #-32]
	and	r1, r2, #255
	ldr	r2, .L30+16
	strb	r1, [r2, r3]
	ldr	r3, [fp, #-24]
	lsr	r2, r3, #24
	ldr	r3, [fp, #-36]
	add	r3, r3, #16
	and	r1, r2, #255
	ldr	r2, .L30+16
	strb	r1, [r2, r3]
	ldr	r3, [fp, #-24]
	asr	r2, r3, #16
	ldr	r3, [fp, #-36]
	add	r3, r3, #17
	and	r1, r2, #255
	ldr	r2, .L30+16
	strb	r1, [r2, r3]
	ldr	r3, [fp, #-24]
	asr	r2, r3, #8
	ldr	r3, [fp, #-36]
	add	r3, r3, #18
	and	r1, r2, #255
	ldr	r2, .L30+16
	strb	r1, [r2, r3]
	ldr	r3, [fp, #-36]
	add	r3, r3, #19
	ldr	r2, [fp, #-24]
	and	r1, r2, #255
	ldr	r2, .L30+16
	strb	r1, [r2, r3]
	ldr	r0, .L30+8
	bl	strlen
	mov	r3, r0
	add	r3, r3, #1
	lsr	r3, r3, #24
	and	r1, r3, #255
	ldr	r2, .L30+16
	ldr	r3, [fp, #-32]
	add	r3, r2, r3
	mov	r2, r1
	strb	r2, [r3]
	ldr	r0, .L30+8
	bl	strlen
	mov	r3, r0
	add	r3, r3, #1
	lsr	r2, r3, #16
	ldr	r3, [fp, #-32]
	add	r3, r3, #1
	and	r1, r2, #255
	ldr	r2, .L30+16
	strb	r1, [r2, r3]
	ldr	r0, .L30+8
	bl	strlen
	mov	r3, r0
	add	r3, r3, #1
	lsr	r2, r3, #8
	ldr	r3, [fp, #-32]
	add	r3, r3, #2
	and	r1, r2, #255
	ldr	r2, .L30+16
	strb	r1, [r2, r3]
	ldr	r0, .L30+8
	bl	strlen
	mov	r3, r0
	and	r2, r3, #255
	ldr	r3, [fp, #-32]
	add	r3, r3, #3
	add	r2, r2, #1
	and	r1, r2, #255
	ldr	r2, .L30+16
	strb	r1, [r2, r3]
	ldr	r3, [fp, #-32]
	add	r3, r3, #4
	ldr	r2, .L30+16
	mov	r1, #0
	strb	r1, [r2, r3]
	ldr	r3, [fp, #-32]
	add	r3, r3, #5
	ldr	r2, .L30+16
	mov	r1, #0
	strb	r1, [r2, r3]
	ldr	r3, [fp, #-32]
	add	r3, r3, #6
	ldr	r2, .L30+16
	mov	r1, #0
	strb	r1, [r2, r3]
	ldr	r3, [fp, #-32]
	add	r3, r3, #7
	ldr	r2, .L30+16
	mov	r1, #24
	strb	r1, [r2, r3]
	ldr	r3, [fp, #-32]
	add	r3, r3, #8
	ldr	r2, .L30+16
	mov	r1, #0
	strb	r1, [r2, r3]
	ldr	r3, [fp, #-32]
	add	r3, r3, #9
	ldr	r2, .L30+16
	mov	r1, #0
	strb	r1, [r2, r3]
	ldr	r3, [fp, #-32]
	add	r3, r3, #10
	ldr	r2, .L30+16
	mov	r1, #18
	strb	r1, [r2, r3]
	ldr	r3, [fp, #-32]
	add	r3, r3, #11
	ldr	r2, .L30+16
	mov	r1, #117
	strb	r1, [r2, r3]
	ldr	r3, [fp, #-32]
	add	r3, r3, #12
	ldr	r2, .L30+16
	add	r3, r3, r2
	ldr	r1, .L30+8
	mov	r0, r3
	bl	strcpy
	ldr	r0, .L30+8
	bl	strlen
	mov	r2, r0
	ldr	r3, [fp, #-32]
	add	r3, r2, r3
	add	r3, r3, #13
	str	r3, [fp, #-32]
	mov	r3, #0
	str	r3, [fp, #-40]
	b	.L20
.L21:
	ldr	r2, .L30+36
	ldr	r3, [fp, #-40]
	ldr	r3, [r2, r3, lsl #2]
	lsr	r3, r3, #24
	and	r1, r3, #255
	ldr	r2, .L30+16
	ldr	r3, [fp, #-32]
	add	r3, r2, r3
	mov	r2, r1
	strb	r2, [r3]
	ldr	r2, .L30+36
	ldr	r3, [fp, #-40]
	ldr	r3, [r2, r3, lsl #2]
	lsr	r2, r3, #16
	ldr	r3, [fp, #-32]
	add	r3, r3, #1
	and	r1, r2, #255
	ldr	r2, .L30+16
	strb	r1, [r2, r3]
	ldr	r2, .L30+36
	ldr	r3, [fp, #-40]
	ldr	r3, [r2, r3, lsl #2]
	lsr	r2, r3, #8
	ldr	r3, [fp, #-32]
	add	r3, r3, #2
	and	r1, r2, #255
	ldr	r2, .L30+16
	strb	r1, [r2, r3]
	ldr	r2, .L30+36
	ldr	r3, [fp, #-40]
	ldr	r2, [r2, r3, lsl #2]
	ldr	r3, [fp, #-32]
	add	r3, r3, #3
	and	r1, r2, #255
	ldr	r2, .L30+16
	strb	r1, [r2, r3]
	ldr	r3, [fp, #-40]
	add	r3, r3, #1
	str	r3, [fp, #-40]
	ldr	r3, [fp, #-32]
	add	r3, r3, #4
	str	r3, [fp, #-32]
.L20:
	ldr	r3, [fp, #-40]
	cmp	r3, #5
	ble	.L21
	ldr	r2, [fp, #-36]
	ldr	r3, [fp, #-12]
	add	r3, r2, r3
	str	r3, [fp, #-36]
	ldr	r2, .L30+16
	ldr	r3, [fp, #-36]
	add	r3, r2, r3
	mov	r2, #0
	strb	r2, [r3]
	ldr	r3, [fp, #-36]
	add	r3, r3, #1
	ldr	r2, .L30+16
	mov	r1, #0
	strb	r1, [r2, r3]
	ldr	r3, [fp, #-36]
	add	r3, r3, #2
	ldr	r2, .L30+16
	mov	r1, #0
	strb	r1, [r2, r3]
	ldr	r3, [fp, #-36]
	add	r3, r3, #3
	ldr	r2, .L30+16
	mov	r1, #4
	strb	r1, [r2, r3]
	ldr	r3, [fp, #-32]
	lsr	r2, r3, #24
	ldr	r3, [fp, #-36]
	add	r3, r3, #4
	and	r1, r2, #255
	ldr	r2, .L30+16
	strb	r1, [r2, r3]
	ldr	r3, [fp, #-32]
	asr	r2, r3, #16
	ldr	r3, [fp, #-36]
	add	r3, r3, #5
	and	r1, r2, #255
	ldr	r2, .L30+16
	strb	r1, [r2, r3]
	ldr	r3, [fp, #-32]
	asr	r2, r3, #8
	ldr	r3, [fp, #-36]
	add	r3, r3, #6
	and	r1, r2, #255
	ldr	r2, .L30+16
	strb	r1, [r2, r3]
	ldr	r3, [fp, #-36]
	add	r3, r3, #7
	ldr	r2, [fp, #-32]
	and	r1, r2, #255
	ldr	r2, .L30+16
	strb	r1, [r2, r3]
	ldr	r3, [fp, #-20]
	lsr	r2, r3, #24
	ldr	r3, [fp, #-36]
	add	r3, r3, #16
	and	r1, r2, #255
	ldr	r2, .L30+16
	strb	r1, [r2, r3]
	ldr	r3, [fp, #-20]
	asr	r2, r3, #16
	ldr	r3, [fp, #-36]
	add	r3, r3, #17
	and	r1, r2, #255
	ldr	r2, .L30+16
	strb	r1, [r2, r3]
	ldr	r3, [fp, #-20]
	asr	r2, r3, #8
	ldr	r3, [fp, #-36]
	add	r3, r3, #18
	and	r1, r2, #255
	ldr	r2, .L30+16
	strb	r1, [r2, r3]
	ldr	r3, [fp, #-36]
	add	r3, r3, #19
	ldr	r2, [fp, #-20]
	and	r1, r2, #255
	ldr	r2, .L30+16
	strb	r1, [r2, r3]
	ldr	r0, .L30+12
	bl	strlen
	mov	r3, r0
	add	r3, r3, #1
	lsr	r3, r3, #24
	and	r1, r3, #255
	ldr	r2, .L30+16
	ldr	r3, [fp, #-32]
	add	r3, r2, r3
	mov	r2, r1
	strb	r2, [r3]
	ldr	r0, .L30+12
	bl	strlen
	mov	r3, r0
	add	r3, r3, #1
	lsr	r2, r3, #16
	ldr	r3, [fp, #-32]
	add	r3, r3, #1
	and	r1, r2, #255
	ldr	r2, .L30+16
	strb	r1, [r2, r3]
	ldr	r0, .L30+12
	bl	strlen
	mov	r3, r0
	add	r3, r3, #1
	lsr	r2, r3, #8
	ldr	r3, [fp, #-32]
	add	r3, r3, #2
	and	r1, r2, #255
	ldr	r2, .L30+16
	strb	r1, [r2, r3]
	ldr	r0, .L30+12
	bl	strlen
	mov	r3, r0
	and	r2, r3, #255
	ldr	r3, [fp, #-32]
	add	r3, r3, #3
	add	r2, r2, #1
	and	r1, r2, #255
	ldr	r2, .L30+16
	strb	r1, [r2, r3]
	ldr	r3, [fp, #-32]
	add	r3, r3, #4
	ldr	r2, .L30+16
	mov	r1, #0
	strb	r1, [r2, r3]
	ldr	r3, [fp, #-32]
	add	r3, r3, #5
	ldr	r2, .L30+16
	mov	r1, #0
	strb	r1, [r2, r3]
	ldr	r3, [fp, #-32]
	add	r3, r3, #6
	ldr	r2, .L30+16
	mov	r1, #0
	strb	r1, [r2, r3]
	ldr	r3, [fp, #-32]
	add	r3, r3, #7
	ldr	r2, .L30+16
	mov	r1, #32
	strb	r1, [r2, r3]
	ldr	r3, [fp, #-32]
	add	r3, r3, #8
	ldr	r2, .L30+16
	mov	r1, #18
	strb	r1, [r2, r3]
	ldr	r3, [fp, #-32]
	add	r3, r3, #9
	ldr	r2, .L30+16
	mov	r1, #117
	strb	r1, [r2, r3]
	ldr	r3, [fp, #-32]
	add	r3, r3, #10
	ldr	r2, .L30+16
	mvn	r1, #102
	strb	r1, [r2, r3]
	ldr	r3, [fp, #-32]
	add	r3, r3, #11
	ldr	r2, .L30+16
	mvn	r1, #102
	strb	r1, [r2, r3]
	ldr	r3, [fp, #-32]
	add	r3, r3, #12
	ldr	r2, .L30+16
	add	r3, r3, r2
	ldr	r1, .L30+12
	mov	r0, r3
	bl	strcpy
	ldr	r0, .L30+12
	bl	strlen
	mov	r3, r0
	add	r3, r3, #4
	bic	r2, r3, #3
	ldr	r3, [fp, #-32]
	add	r3, r2, r3
	add	r3, r3, #12
	str	r3, [fp, #-32]
	mov	r3, #0
	str	r3, [fp, #-40]
	b	.L22
.L23:
	ldr	r2, .L30+40
	ldr	r3, [fp, #-40]
	ldr	r3, [r2, r3, lsl #2]
	lsr	r3, r3, #24
	and	r1, r3, #255
	ldr	r2, .L30+16
	ldr	r3, [fp, #-32]
	add	r3, r2, r3
	mov	r2, r1
	strb	r2, [r3]
	ldr	r2, .L30+40
	ldr	r3, [fp, #-40]
	ldr	r3, [r2, r3, lsl #2]
	lsr	r2, r3, #16
	ldr	r3, [fp, #-32]
	add	r3, r3, #1
	and	r1, r2, #255
	ldr	r2, .L30+16
	strb	r1, [r2, r3]
	ldr	r2, .L30+40
	ldr	r3, [fp, #-40]
	ldr	r3, [r2, r3, lsl #2]
	lsr	r2, r3, #8
	ldr	r3, [fp, #-32]
	add	r3, r3, #2
	and	r1, r2, #255
	ldr	r2, .L30+16
	strb	r1, [r2, r3]
	ldr	r2, .L30+40
	ldr	r3, [fp, #-40]
	ldr	r2, [r2, r3, lsl #2]
	ldr	r3, [fp, #-32]
	add	r3, r3, #3
	and	r1, r2, #255
	ldr	r2, .L30+16
	strb	r1, [r2, r3]
	ldr	r3, [fp, #-40]
	add	r3, r3, #1
	str	r3, [fp, #-40]
	ldr	r3, [fp, #-32]
	add	r3, r3, #4
	str	r3, [fp, #-32]
.L22:
	ldr	r3, [fp, #-40]
	cmp	r3, #7
	ble	.L23
	ldr	r3, [fp, #-8]
	add	r3, r3, #2
	asr	r3, r3, #8
	and	r2, r3, #255
	ldr	r3, .L30+16
	strb	r2, [r3, #44]
	ldr	r3, [fp, #-8]
	and	r3, r3, #255
	add	r3, r3, #2
	and	r2, r3, #255
	ldr	r3, .L30+16
	strb	r2, [r3, #45]
	mov	r2, #0
	mov	r1, #0
	ldr	r0, [fp, #-28]
	bl	lseek
	ldr	r3, [fp, #-16]
	mov	r2, r3
	ldr	r1, .L30+16
	ldr	r0, [fp, #-28]
	bl	write
	str	r0, [fp, #-40]
	ldr	r3, [fp, #-40]
	cmp	r3, #0
	bge	.L24
	ldr	r0, .L30+44
	bl	perror
	mov	r0, #1
	bl	exit
.L24:
	ldr	r2, [fp, #-40]
	ldr	r3, [fp, #-16]
	cmp	r2, r3
	bge	.L25
	ldr	r3, .L30
	ldr	r0, [r3]
	ldr	r3, [fp, #-52]
	add	r3, r3, #4
	ldr	r3, [r3]
	mov	r2, r3
	ldr	r1, .L30+48
	bl	fprintf
	mov	r0, #1
	bl	exit
.L25:
	mov	r0, #0
	bl	exit
.L26:
	nop
	b	.L7
.L27:
	nop
.L7:
	ldr	r3, .L30
	ldr	r0, [r3]
	ldr	r3, [fp, #-52]
	add	r3, r3, #4
	ldr	r3, [r3]
	mov	r2, r3
	ldr	r1, .L30+52
	bl	fprintf
	mov	r0, #1
	bl	exit
.L28:
	nop
	b	.L13
.L29:
	nop
.L13:
	ldr	r3, .L30
	ldr	r0, [r3]
	ldr	r3, [fp, #-52]
	add	r3, r3, #4
	ldr	r3, [r3]
	mov	r2, r3
	ldr	r1, .L30+56
	bl	fprintf
	mov	r0, #1
	bl	exit
.L31:
	.align	2
.L30:
	.word	stderr
	.word	.LC0
	.word	arch
	.word	rpaname
	.word	buf
	.word	.LC1
	.word	elf_magic
	.word	.LC2
	.word	.LC3
	.word	descr
	.word	rpanote
	.word	.LC4
	.word	.LC5
	.word	.LC6
	.word	.LC7
	.size	main, .-main
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
