	.file	"839147.c"
	.intel_syntax noprefix
	.text
	.type	parseoct, @function
parseoct:
.LFB6:
	.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	QWORD PTR -32[rbp], rsi
	mov	DWORD PTR -4[rbp], 0
	jmp	.L2
.L5:
	add	QWORD PTR -24[rbp], 1
	sub	QWORD PTR -32[rbp], 1
.L2:
	mov	rax, QWORD PTR -24[rbp]
	movzx	eax, BYTE PTR [rax]
	cmp	al, 47
	jle	.L3
	mov	rax, QWORD PTR -24[rbp]
	movzx	eax, BYTE PTR [rax]
	cmp	al, 55
	jle	.L6
.L3:
	cmp	QWORD PTR -32[rbp], 0
	jne	.L5
	jmp	.L6
.L8:
	sal	DWORD PTR -4[rbp], 3
	mov	rax, QWORD PTR -24[rbp]
	movzx	eax, BYTE PTR [rax]
	movsx	eax, al
	sub	eax, 48
	add	DWORD PTR -4[rbp], eax
	add	QWORD PTR -24[rbp], 1
	sub	QWORD PTR -32[rbp], 1
.L6:
	mov	rax, QWORD PTR -24[rbp]
	movzx	eax, BYTE PTR [rax]
	cmp	al, 47
	jle	.L7
	mov	rax, QWORD PTR -24[rbp]
	movzx	eax, BYTE PTR [rax]
	cmp	al, 55
	jg	.L7
	cmp	QWORD PTR -32[rbp], 0
	jne	.L8
.L7:
	mov	eax, DWORD PTR -4[rbp]
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.size	parseoct, .-parseoct
	.type	is_end_of_archive, @function
is_end_of_archive:
.LFB7:
	.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	DWORD PTR -4[rbp], 511
	jmp	.L11
.L14:
	mov	eax, DWORD PTR -4[rbp]
	movsx	rdx, eax
	mov	rax, QWORD PTR -24[rbp]
	add	rax, rdx
	movzx	eax, BYTE PTR [rax]
	test	al, al
	je	.L12
	mov	eax, 0
	jmp	.L13
.L12:
	sub	DWORD PTR -4[rbp], 1
.L11:
	cmp	DWORD PTR -4[rbp], 0
	jns	.L14
	mov	eax, 1
.L13:
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE7:
	.size	is_end_of_archive, .-is_end_of_archive
	.section	.rodata
	.align 8
.LC0:
	.string	"Could not create directory %s\n"
	.text
	.type	create_dir, @function
create_dir:
.LFB8:
	.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
	mov	DWORD PTR -28[rbp], esi
	mov	rax, QWORD PTR -24[rbp]
	mov	rdi, rax
	call	strlen@PLT
	lea	rdx, -1[rax]
	mov	rax, QWORD PTR -24[rbp]
	add	rax, rdx
	movzx	eax, BYTE PTR [rax]
	cmp	al, 47
	jne	.L16
	mov	rax, QWORD PTR -24[rbp]
	mov	rdi, rax
	call	strlen@PLT
	lea	rdx, -1[rax]
	mov	rax, QWORD PTR -24[rbp]
	add	rax, rdx
	mov	BYTE PTR [rax], 0
.L16:
	mov	edx, DWORD PTR -28[rbp]
	mov	rax, QWORD PTR -24[rbp]
	mov	esi, edx
	mov	rdi, rax
	call	mkdir@PLT
	mov	DWORD PTR -12[rbp], eax
	cmp	DWORD PTR -12[rbp], 0
	je	.L17
	mov	rax, QWORD PTR -24[rbp]
	mov	esi, 47
	mov	rdi, rax
	call	strrchr@PLT
	mov	QWORD PTR -8[rbp], rax
	cmp	QWORD PTR -8[rbp], 0
	je	.L17
	mov	rax, QWORD PTR -8[rbp]
	mov	BYTE PTR [rax], 0
	mov	rax, QWORD PTR -24[rbp]
	mov	esi, 493
	mov	rdi, rax
	call	create_dir
	mov	rax, QWORD PTR -8[rbp]
	mov	BYTE PTR [rax], 47
	mov	edx, DWORD PTR -28[rbp]
	mov	rax, QWORD PTR -24[rbp]
	mov	esi, edx
	mov	rdi, rax
	call	mkdir@PLT
	mov	DWORD PTR -12[rbp], eax
.L17:
	cmp	DWORD PTR -12[rbp], 0
	je	.L19
	mov	rax, QWORD PTR stderr[rip]
	mov	rdx, QWORD PTR -24[rbp]
	lea	rsi, .LC0[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
.L19:
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE8:
	.size	create_dir, .-create_dir
	.section	.rodata
.LC1:
	.string	"w+"
	.text
	.type	create_file, @function
create_file:
.LFB9:
	.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
	mov	DWORD PTR -28[rbp], esi
	mov	rax, QWORD PTR -24[rbp]
	lea	rsi, .LC1[rip]
	mov	rdi, rax
	call	fopen@PLT
	mov	QWORD PTR -16[rbp], rax
	cmp	QWORD PTR -16[rbp], 0
	jne	.L21
	mov	rax, QWORD PTR -24[rbp]
	mov	esi, 47
	mov	rdi, rax
	call	strrchr@PLT
	mov	QWORD PTR -8[rbp], rax
	cmp	QWORD PTR -8[rbp], 0
	je	.L21
	mov	rax, QWORD PTR -8[rbp]
	mov	BYTE PTR [rax], 0
	mov	rax, QWORD PTR -24[rbp]
	mov	esi, 493
	mov	rdi, rax
	call	create_dir
	mov	rax, QWORD PTR -8[rbp]
	mov	BYTE PTR [rax], 47
	mov	rax, QWORD PTR -24[rbp]
	lea	rsi, .LC1[rip]
	mov	rdi, rax
	call	fopen@PLT
	mov	QWORD PTR -16[rbp], rax
.L21:
	mov	rax, QWORD PTR -16[rbp]
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE9:
	.size	create_file, .-create_file
	.type	verify_checksum, @function
verify_checksum:
.LFB10:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 24
	mov	QWORD PTR -24[rbp], rdi
	mov	DWORD PTR -4[rbp], 0
	mov	DWORD PTR -8[rbp], 0
	jmp	.L24
.L28:
	cmp	DWORD PTR -8[rbp], 147
	jle	.L25
	cmp	DWORD PTR -8[rbp], 155
	jle	.L26
.L25:
	mov	eax, DWORD PTR -8[rbp]
	movsx	rdx, eax
	mov	rax, QWORD PTR -24[rbp]
	add	rax, rdx
	movzx	eax, BYTE PTR [rax]
	movzx	eax, al
	add	DWORD PTR -4[rbp], eax
	jmp	.L27
.L26:
	add	DWORD PTR -4[rbp], 32
.L27:
	add	DWORD PTR -8[rbp], 1
.L24:
	cmp	DWORD PTR -8[rbp], 511
	jle	.L28
	mov	rax, QWORD PTR -24[rbp]
	add	rax, 148
	mov	esi, 8
	mov	rdi, rax
	call	parseoct
	cmp	DWORD PTR -4[rbp], eax
	sete	al
	movzx	eax, al
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE10:
	.size	verify_checksum, .-verify_checksum
	.section	.rodata
.LC2:
	.string	"Extracting from %s\n"
	.align 8
.LC3:
	.string	"Short read on %s: expected 512, got %d\n"
.LC4:
	.string	"End of %s\n"
.LC5:
	.string	"Checksum failure\n"
.LC6:
	.string	" Ignoring hardlink %s\n"
.LC7:
	.string	" Ignoring symlink %s\n"
	.align 8
.LC8:
	.string	" Ignoring character device %s\n"
.LC9:
	.string	" Ignoring block device %s\n"
.LC10:
	.string	" Extracting dir %s\n"
.LC11:
	.string	" Ignoring FIFO %s\n"
.LC12:
	.string	" Extracting file %s\n"
	.align 8
.LC13:
	.string	"Short read on %s: Expected 512, got %d\n"
.LC14:
	.string	"Failed write\n"
	.text
	.type	untar, @function
untar:
.LFB11:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 576
	mov	QWORD PTR -568[rbp], rdi
	mov	QWORD PTR -576[rbp], rsi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	QWORD PTR -544[rbp], 0
	mov	rax, QWORD PTR -576[rbp]
	mov	rsi, rax
	lea	rdi, .LC2[rip]
	mov	eax, 0
	call	printf@PLT
.L50:
	mov	rdx, QWORD PTR -568[rbp]
	lea	rax, -528[rbp]
	mov	rcx, rdx
	mov	edx, 512
	mov	esi, 1
	mov	rdi, rax
	call	fread@PLT
	mov	QWORD PTR -536[rbp], rax
	cmp	QWORD PTR -536[rbp], 511
	ja	.L31
	mov	rax, QWORD PTR -536[rbp]
	mov	ecx, eax
	mov	rax, QWORD PTR stderr[rip]
	mov	rdx, QWORD PTR -576[rbp]
	lea	rsi, .LC3[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	jmp	.L30
.L31:
	lea	rax, -528[rbp]
	mov	rdi, rax
	call	is_end_of_archive
	test	eax, eax
	je	.L33
	mov	rax, QWORD PTR -576[rbp]
	mov	rsi, rax
	lea	rdi, .LC4[rip]
	mov	eax, 0
	call	printf@PLT
	jmp	.L30
.L33:
	lea	rax, -528[rbp]
	mov	rdi, rax
	call	verify_checksum
	test	eax, eax
	jne	.L34
	mov	rax, QWORD PTR stderr[rip]
	mov	rcx, rax
	mov	edx, 17
	mov	esi, 1
	lea	rdi, .LC5[rip]
	call	fwrite@PLT
	jmp	.L30
.L34:
	lea	rax, -528[rbp]
	add	rax, 124
	mov	esi, 12
	mov	rdi, rax
	call	parseoct
	mov	DWORD PTR -548[rbp], eax
	movzx	eax, BYTE PTR -372[rbp]
	movsx	eax, al
	sub	eax, 49
	cmp	eax, 5
	ja	.L35
	mov	eax, eax
	lea	rdx, 0[0+rax*4]
	lea	rax, .L37[rip]
	mov	eax, DWORD PTR [rdx+rax]
	cdqe
	lea	rdx, .L37[rip]
	add	rax, rdx
	notrack jmp	rax
	.section	.rodata
	.align 4
	.align 4
.L37:
	.long	.L42-.L37
	.long	.L41-.L37
	.long	.L40-.L37
	.long	.L39-.L37
	.long	.L38-.L37
	.long	.L36-.L37
	.text
.L42:
	lea	rax, -528[rbp]
	mov	rsi, rax
	lea	rdi, .LC6[rip]
	mov	eax, 0
	call	printf@PLT
	jmp	.L43
.L41:
	lea	rax, -528[rbp]
	mov	rsi, rax
	lea	rdi, .LC7[rip]
	mov	eax, 0
	call	printf@PLT
	jmp	.L43
.L40:
	lea	rax, -528[rbp]
	mov	rsi, rax
	lea	rdi, .LC8[rip]
	mov	eax, 0
	call	printf@PLT
	jmp	.L43
.L39:
	lea	rax, -528[rbp]
	mov	rsi, rax
	lea	rdi, .LC9[rip]
	mov	eax, 0
	call	printf@PLT
	jmp	.L43
.L38:
	lea	rax, -528[rbp]
	mov	rsi, rax
	lea	rdi, .LC10[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rax, -528[rbp]
	add	rax, 100
	mov	esi, 8
	mov	rdi, rax
	call	parseoct
	mov	edx, eax
	lea	rax, -528[rbp]
	mov	esi, edx
	mov	rdi, rax
	call	create_dir
	mov	DWORD PTR -548[rbp], 0
	jmp	.L43
.L36:
	lea	rax, -528[rbp]
	mov	rsi, rax
	lea	rdi, .LC11[rip]
	mov	eax, 0
	call	printf@PLT
	jmp	.L43
.L35:
	lea	rax, -528[rbp]
	mov	rsi, rax
	lea	rdi, .LC12[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rax, -528[rbp]
	add	rax, 100
	mov	esi, 8
	mov	rdi, rax
	call	parseoct
	mov	edx, eax
	lea	rax, -528[rbp]
	mov	esi, edx
	mov	rdi, rax
	call	create_file
	mov	QWORD PTR -544[rbp], rax
	nop
.L43:
	jmp	.L44
.L48:
	mov	rdx, QWORD PTR -568[rbp]
	lea	rax, -528[rbp]
	mov	rcx, rdx
	mov	edx, 512
	mov	esi, 1
	mov	rdi, rax
	call	fread@PLT
	mov	QWORD PTR -536[rbp], rax
	cmp	QWORD PTR -536[rbp], 511
	ja	.L45
	mov	rax, QWORD PTR -536[rbp]
	mov	ecx, eax
	mov	rax, QWORD PTR stderr[rip]
	mov	rdx, QWORD PTR -576[rbp]
	lea	rsi, .LC13[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	jmp	.L30
.L45:
	cmp	DWORD PTR -548[rbp], 511
	jg	.L46
	mov	eax, DWORD PTR -548[rbp]
	cdqe
	mov	QWORD PTR -536[rbp], rax
.L46:
	cmp	QWORD PTR -544[rbp], 0
	je	.L47
	mov	rcx, QWORD PTR -544[rbp]
	mov	rdx, QWORD PTR -536[rbp]
	lea	rax, -528[rbp]
	mov	esi, 1
	mov	rdi, rax
	call	fwrite@PLT
	cmp	QWORD PTR -536[rbp], rax
	je	.L47
	mov	rax, QWORD PTR stderr[rip]
	mov	rcx, rax
	mov	edx, 13
	mov	esi, 1
	lea	rdi, .LC14[rip]
	call	fwrite@PLT
	mov	rax, QWORD PTR -544[rbp]
	mov	rdi, rax
	call	fclose@PLT
	mov	QWORD PTR -544[rbp], 0
.L47:
	mov	eax, DWORD PTR -548[rbp]
	mov	rdx, QWORD PTR -536[rbp]
	sub	eax, edx
	mov	DWORD PTR -548[rbp], eax
.L44:
	cmp	DWORD PTR -548[rbp], 0
	jg	.L48
	cmp	QWORD PTR -544[rbp], 0
	je	.L50
	mov	rax, QWORD PTR -544[rbp]
	mov	rdi, rax
	call	fclose@PLT
	mov	QWORD PTR -544[rbp], 0
	jmp	.L50
.L30:
	mov	rax, QWORD PTR -8[rbp]
	sub	rax, QWORD PTR fs:40
	je	.L52
	call	__stack_chk_fail@PLT
.L52:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE11:
	.size	untar, .-untar
	.section	.rodata
.LC15:
	.string	"r"
.LC16:
	.string	"Unable to open %s\n"
	.text
	.globl	main
	.type	main, @function
main:
.LFB12:
	.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
	mov	QWORD PTR -32[rbp], rsi
	add	QWORD PTR -32[rbp], 8
	jmp	.L54
.L57:
	mov	rax, QWORD PTR -32[rbp]
	mov	rax, QWORD PTR [rax]
	lea	rsi, .LC15[rip]
	mov	rdi, rax
	call	fopen@PLT
	mov	QWORD PTR -8[rbp], rax
	cmp	QWORD PTR -8[rbp], 0
	jne	.L55
	mov	rax, QWORD PTR -32[rbp]
	mov	rdx, QWORD PTR [rax]
	mov	rax, QWORD PTR stderr[rip]
	lea	rsi, .LC16[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	jmp	.L56
.L55:
	mov	rax, QWORD PTR -32[rbp]
	mov	rdx, QWORD PTR [rax]
	mov	rax, QWORD PTR -8[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	untar
	mov	rax, QWORD PTR -8[rbp]
	mov	rdi, rax
	call	fclose@PLT
.L56:
	add	QWORD PTR -32[rbp], 8
.L54:
	mov	rax, QWORD PTR -32[rbp]
	mov	rax, QWORD PTR [rax]
	test	rax, rax
	jne	.L57
	mov	eax, 0
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE12:
	.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	"839147.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	parseoct, %function
parseoct:
	@ 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]
	str	r1, [fp, #-20]
	mov	r3, #0
	str	r3, [fp, #-8]
	b	.L2
.L5:
	ldr	r3, [fp, #-16]
	add	r3, r3, #1
	str	r3, [fp, #-16]
	ldr	r3, [fp, #-20]
	sub	r3, r3, #1
	str	r3, [fp, #-20]
.L2:
	ldr	r3, [fp, #-16]
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #47
	bls	.L3
	ldr	r3, [fp, #-16]
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #55
	bls	.L6
.L3:
	ldr	r3, [fp, #-20]
	cmp	r3, #0
	bne	.L5
	b	.L6
.L8:
	ldr	r3, [fp, #-8]
	lsl	r3, r3, #3
	str	r3, [fp, #-8]
	ldr	r3, [fp, #-16]
	ldrb	r3, [r3]	@ zero_extendqisi2
	sub	r3, r3, #48
	ldr	r2, [fp, #-8]
	add	r3, r2, r3
	str	r3, [fp, #-8]
	ldr	r3, [fp, #-16]
	add	r3, r3, #1
	str	r3, [fp, #-16]
	ldr	r3, [fp, #-20]
	sub	r3, r3, #1
	str	r3, [fp, #-20]
.L6:
	ldr	r3, [fp, #-16]
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #47
	bls	.L7
	ldr	r3, [fp, #-16]
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #55
	bhi	.L7
	ldr	r3, [fp, #-20]
	cmp	r3, #0
	bne	.L8
.L7:
	ldr	r3, [fp, #-8]
	mov	r0, r3
	add	sp, fp, #0
	@ sp needed
	ldr	fp, [sp], #4
	bx	lr
	.size	parseoct, .-parseoct
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	is_end_of_archive, %function
is_end_of_archive:
	@ 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	r3, .L15
	str	r3, [fp, #-8]
	b	.L11
.L14:
	ldr	r3, [fp, #-8]
	ldr	r2, [fp, #-16]
	add	r3, r2, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #0
	beq	.L12
	mov	r3, #0
	b	.L13
.L12:
	ldr	r3, [fp, #-8]
	sub	r3, r3, #1
	str	r3, [fp, #-8]
.L11:
	ldr	r3, [fp, #-8]
	cmp	r3, #0
	bge	.L14
	mov	r3, #1
.L13:
	mov	r0, r3
	add	sp, fp, #0
	@ sp needed
	ldr	fp, [sp], #4
	bx	lr
.L16:
	.align	2
.L15:
	.word	511
	.size	is_end_of_archive, .-is_end_of_archive
	.section	.rodata
	.align	2
.LC0:
	.ascii	"Could not create directory %s\012\000"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	create_dir, %function
create_dir:
	@ 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]
	str	r1, [fp, #-20]
	ldr	r0, [fp, #-16]
	bl	strlen
	mov	r3, r0
	sub	r3, r3, #1
	ldr	r2, [fp, #-16]
	add	r3, r2, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #47
	bne	.L18
	ldr	r0, [fp, #-16]
	bl	strlen
	mov	r3, r0
	sub	r3, r3, #1
	ldr	r2, [fp, #-16]
	add	r3, r2, r3
	mov	r2, #0
	strb	r2, [r3]
.L18:
	ldr	r3, [fp, #-20]
	mov	r1, r3
	ldr	r0, [fp, #-16]
	bl	mkdir
	str	r0, [fp, #-12]
	ldr	r3, [fp, #-12]
	cmp	r3, #0
	beq	.L19
	mov	r1, #47
	ldr	r0, [fp, #-16]
	bl	strrchr
	str	r0, [fp, #-8]
	ldr	r3, [fp, #-8]
	cmp	r3, #0
	beq	.L19
	ldr	r3, [fp, #-8]
	mov	r2, #0
	strb	r2, [r3]
	ldr	r1, .L22
	ldr	r0, [fp, #-16]
	bl	create_dir
	ldr	r3, [fp, #-8]
	mov	r2, #47
	strb	r2, [r3]
	ldr	r3, [fp, #-20]
	mov	r1, r3
	ldr	r0, [fp, #-16]
	bl	mkdir
	str	r0, [fp, #-12]
.L19:
	ldr	r3, [fp, #-12]
	cmp	r3, #0
	beq	.L21
	ldr	r3, .L22+4
	ldr	r3, [r3]
	ldr	r2, [fp, #-16]
	ldr	r1, .L22+8
	mov	r0, r3
	bl	fprintf
.L21:
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L23:
	.align	2
.L22:
	.word	493
	.word	stderr
	.word	.LC0
	.size	create_dir, .-create_dir
	.section	.rodata
	.align	2
.LC1:
	.ascii	"w+\000"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	create_file, %function
create_file:
	@ 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]
	str	r1, [fp, #-20]
	ldr	r1, .L27
	ldr	r0, [fp, #-16]
	bl	fopen
	str	r0, [fp, #-12]
	ldr	r3, [fp, #-12]
	cmp	r3, #0
	bne	.L25
	mov	r1, #47
	ldr	r0, [fp, #-16]
	bl	strrchr
	str	r0, [fp, #-8]
	ldr	r3, [fp, #-8]
	cmp	r3, #0
	beq	.L25
	ldr	r3, [fp, #-8]
	mov	r2, #0
	strb	r2, [r3]
	ldr	r1, .L27+4
	ldr	r0, [fp, #-16]
	bl	create_dir
	ldr	r3, [fp, #-8]
	mov	r2, #47
	strb	r2, [r3]
	ldr	r1, .L27
	ldr	r0, [fp, #-16]
	bl	fopen
	str	r0, [fp, #-12]
.L25:
	ldr	r3, [fp, #-12]
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L28:
	.align	2
.L27:
	.word	.LC1
	.word	493
	.size	create_file, .-create_file
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	verify_checksum, %function
verify_checksum:
	@ 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]
	mov	r3, #0
	str	r3, [fp, #-8]
	mov	r3, #0
	str	r3, [fp, #-12]
	b	.L30
.L34:
	ldr	r3, [fp, #-12]
	cmp	r3, #147
	ble	.L31
	ldr	r3, [fp, #-12]
	cmp	r3, #155
	ble	.L32
.L31:
	ldr	r3, [fp, #-12]
	ldr	r2, [fp, #-16]
	add	r3, r2, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	mov	r2, r3
	ldr	r3, [fp, #-8]
	add	r3, r3, r2
	str	r3, [fp, #-8]
	b	.L33
.L32:
	ldr	r3, [fp, #-8]
	add	r3, r3, #32
	str	r3, [fp, #-8]
.L33:
	ldr	r3, [fp, #-12]
	add	r3, r3, #1
	str	r3, [fp, #-12]
.L30:
	ldr	r3, [fp, #-12]
	cmp	r3, #512
	blt	.L34
	ldr	r3, [fp, #-16]
	add	r3, r3, #148
	mov	r1, #8
	mov	r0, r3
	bl	parseoct
	mov	r2, r0
	ldr	r3, [fp, #-8]
	cmp	r3, r2
	moveq	r3, #1
	movne	r3, #0
	and	r3, r3, #255
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
	.size	verify_checksum, .-verify_checksum
	.section	.rodata
	.align	2
.LC2:
	.ascii	"Extracting from %s\012\000"
	.align	2
.LC3:
	.ascii	"Short read on %s: expected 512, got %d\012\000"
	.align	2
.LC4:
	.ascii	"End of %s\012\000"
	.align	2
.LC5:
	.ascii	"Checksum failure\012\000"
	.align	2
.LC6:
	.ascii	" Ignoring hardlink %s\012\000"
	.align	2
.LC7:
	.ascii	" Ignoring symlink %s\012\000"
	.align	2
.LC8:
	.ascii	" Ignoring character device %s\012\000"
	.align	2
.LC9:
	.ascii	" Ignoring block device %s\012\000"
	.align	2
.LC10:
	.ascii	" Extracting dir %s\012\000"
	.align	2
.LC11:
	.ascii	" Ignoring FIFO %s\012\000"
	.align	2
.LC12:
	.ascii	" Extracting file %s\012\000"
	.align	2
.LC13:
	.ascii	"Short read on %s: Expected 512, got %d\012\000"
	.align	2
.LC14:
	.ascii	"Failed write\012\000"
	.align	2
.LC15:
	.word	__stack_chk_guard
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	untar, %function
untar:
	@ args = 0, pretend = 0, frame = 536
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #536
	str	r0, [fp, #-536]
	str	r1, [fp, #-540]
	ldr	r3, .L59
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	mov	r3, #0
	str	r3, [fp, #-532]
	ldr	r1, [fp, #-540]
	ldr	r0, .L59+4
	bl	printf
.L56:
	sub	r0, fp, #520
	ldr	r3, [fp, #-536]
	mov	r2, #512
	mov	r1, #1
	bl	fread
	str	r0, [fp, #-528]
	ldr	r3, [fp, #-528]
	cmp	r3, #512
	bcs	.L37
	ldr	r3, .L59+8
	ldr	r0, [r3]
	ldr	r3, [fp, #-528]
	ldr	r2, [fp, #-540]
	ldr	r1, .L59+12
	bl	fprintf
	b	.L36
.L37:
	sub	r3, fp, #520
	mov	r0, r3
	bl	is_end_of_archive
	mov	r3, r0
	cmp	r3, #0
	beq	.L39
	ldr	r1, [fp, #-540]
	ldr	r0, .L59+16
	bl	printf
	b	.L36
.L39:
	sub	r3, fp, #520
	mov	r0, r3
	bl	verify_checksum
	mov	r3, r0
	cmp	r3, #0
	bne	.L40
	ldr	r3, .L59+8
	ldr	r3, [r3]
	mov	r2, #17
	mov	r1, #1
	ldr	r0, .L59+20
	bl	fwrite
	b	.L36
.L40:
	sub	r3, fp, #520
	add	r3, r3, #124
	mov	r1, #12
	mov	r0, r3
	bl	parseoct
	str	r0, [fp, #-524]
	ldrb	r3, [fp, #-364]	@ zero_extendqisi2
	sub	r3, r3, #49
	cmp	r3, #5
	ldrls	pc, [pc, r3, asl #2]
	b	.L41
.L43:
	.word	.L48
	.word	.L47
	.word	.L46
	.word	.L45
	.word	.L44
	.word	.L42
.L48:
	sub	r3, fp, #520
	mov	r1, r3
	ldr	r0, .L59+24
	bl	printf
	b	.L49
.L47:
	sub	r3, fp, #520
	mov	r1, r3
	ldr	r0, .L59+28
	bl	printf
	b	.L49
.L46:
	sub	r3, fp, #520
	mov	r1, r3
	ldr	r0, .L59+32
	bl	printf
	b	.L49
.L45:
	sub	r3, fp, #520
	mov	r1, r3
	ldr	r0, .L59+36
	bl	printf
	b	.L49
.L44:
	sub	r3, fp, #520
	mov	r1, r3
	ldr	r0, .L59+40
	bl	printf
	sub	r3, fp, #520
	add	r3, r3, #100
	mov	r1, #8
	mov	r0, r3
	bl	parseoct
	mov	r2, r0
	sub	r3, fp, #520
	mov	r1, r2
	mov	r0, r3
	bl	create_dir
	mov	r3, #0
	str	r3, [fp, #-524]
	b	.L49
.L42:
	sub	r3, fp, #520
	mov	r1, r3
	ldr	r0, .L59+44
	bl	printf
	b	.L49
.L41:
	sub	r3, fp, #520
	mov	r1, r3
	ldr	r0, .L59+48
	bl	printf
	sub	r3, fp, #520
	add	r3, r3, #100
	mov	r1, #8
	mov	r0, r3
	bl	parseoct
	mov	r2, r0
	sub	r3, fp, #520
	mov	r1, r2
	mov	r0, r3
	bl	create_file
	str	r0, [fp, #-532]
	nop
.L49:
	b	.L50
.L54:
	sub	r0, fp, #520
	ldr	r3, [fp, #-536]
	mov	r2, #512
	mov	r1, #1
	bl	fread
	str	r0, [fp, #-528]
	ldr	r3, [fp, #-528]
	cmp	r3, #512
	bcs	.L51
	ldr	r3, .L59+8
	ldr	r0, [r3]
	ldr	r3, [fp, #-528]
	ldr	r2, [fp, #-540]
	ldr	r1, .L59+52
	bl	fprintf
	b	.L36
.L51:
	ldr	r3, [fp, #-524]
	cmp	r3, #512
	bge	.L52
	ldr	r3, [fp, #-524]
	str	r3, [fp, #-528]
.L52:
	ldr	r3, [fp, #-532]
	cmp	r3, #0
	beq	.L53
	sub	r0, fp, #520
	ldr	r3, [fp, #-532]
	ldr	r2, [fp, #-528]
	mov	r1, #1
	bl	fwrite
	mov	r2, r0
	ldr	r3, [fp, #-528]
	cmp	r3, r2
	beq	.L53
	ldr	r3, .L59+8
	ldr	r3, [r3]
	mov	r2, #13
	mov	r1, #1
	ldr	r0, .L59+56
	bl	fwrite
	ldr	r0, [fp, #-532]
	bl	fclose
	mov	r3, #0
	str	r3, [fp, #-532]
.L53:
	ldr	r2, [fp, #-524]
	ldr	r3, [fp, #-528]
	sub	r3, r2, r3
	str	r3, [fp, #-524]
.L50:
	ldr	r3, [fp, #-524]
	cmp	r3, #0
	bgt	.L54
	ldr	r3, [fp, #-532]
	cmp	r3, #0
	beq	.L56
	ldr	r0, [fp, #-532]
	bl	fclose
	mov	r3, #0
	str	r3, [fp, #-532]
	b	.L56
.L36:
	ldr	r3, .L59
	ldr	r2, [r3]
	ldr	r3, [fp, #-8]
	eors	r2, r3, r2
	mov	r3, #0
	beq	.L58
	bl	__stack_chk_fail
.L58:
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L60:
	.align	2
.L59:
	.word	.LC15
	.word	.LC2
	.word	stderr
	.word	.LC3
	.word	.LC4
	.word	.LC5
	.word	.LC6
	.word	.LC7
	.word	.LC8
	.word	.LC9
	.word	.LC10
	.word	.LC11
	.word	.LC12
	.word	.LC13
	.word	.LC14
	.size	untar, .-untar
	.section	.rodata
	.align	2
.LC16:
	.ascii	"r\000"
	.align	2
.LC17:
	.ascii	"Unable to open %s\012\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
	str	r0, [fp, #-16]
	str	r1, [fp, #-20]
	ldr	r3, [fp, #-20]
	add	r3, r3, #4
	str	r3, [fp, #-20]
	b	.L62
.L65:
	ldr	r3, [fp, #-20]
	ldr	r3, [r3]
	ldr	r1, .L67
	mov	r0, r3
	bl	fopen
	str	r0, [fp, #-8]
	ldr	r3, [fp, #-8]
	cmp	r3, #0
	bne	.L63
	ldr	r3, .L67+4
	ldr	r0, [r3]
	ldr	r3, [fp, #-20]
	ldr	r3, [r3]
	mov	r2, r3
	ldr	r1, .L67+8
	bl	fprintf
	b	.L64
.L63:
	ldr	r3, [fp, #-20]
	ldr	r3, [r3]
	mov	r1, r3
	ldr	r0, [fp, #-8]
	bl	untar
	ldr	r0, [fp, #-8]
	bl	fclose
.L64:
	ldr	r3, [fp, #-20]
	add	r3, r3, #4
	str	r3, [fp, #-20]
.L62:
	ldr	r3, [fp, #-20]
	ldr	r3, [r3]
	cmp	r3, #0
	bne	.L65
	mov	r3, #0
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L68:
	.align	2
.L67:
	.word	.LC16
	.word	stderr
	.word	.LC17
	.size	main, .-main
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
