	.file	"363095.c"
	.intel_syntax noprefix
	.text
	.local	verbose
	.comm	verbose,4,4
	.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, 48
	mov	DWORD PTR -36[rbp], edi
	mov	QWORD PTR -48[rbp], rsi
	mov	QWORD PTR -16[rbp], 0
	mov	DWORD PTR -28[rbp], 120
	mov	DWORD PTR verbose[rip], 0
	mov	DWORD PTR -24[rbp], 0
	mov	DWORD PTR -32[rbp], 4
	jmp	.L2
.L15:
	mov	rax, QWORD PTR -48[rbp]
	mov	rax, QWORD PTR [rax]
	add	rax, 1
	mov	QWORD PTR -8[rbp], rax
	jmp	.L3
.L13:
	mov	eax, DWORD PTR -20[rbp]
	sub	eax, 102
	cmp	eax, 18
	ja	.L4
	mov	eax, eax
	lea	rdx, 0[0+rax*4]
	lea	rax, .L6[rip]
	mov	eax, DWORD PTR [rdx+rax]
	cdqe
	lea	rdx, .L6[rip]
	add	rax, rdx
	notrack jmp	rax
	.section	.rodata
	.align 4
	.align 4
.L6:
	.long	.L10-.L6
	.long	.L4-.L6
	.long	.L4-.L6
	.long	.L4-.L6
	.long	.L4-.L6
	.long	.L4-.L6
	.long	.L4-.L6
	.long	.L4-.L6
	.long	.L4-.L6
	.long	.L4-.L6
	.long	.L9-.L6
	.long	.L4-.L6
	.long	.L4-.L6
	.long	.L4-.L6
	.long	.L8-.L6
	.long	.L4-.L6
	.long	.L7-.L6
	.long	.L4-.L6
	.long	.L5-.L6
	.text
.L10:
	mov	rax, QWORD PTR -8[rbp]
	movzx	eax, BYTE PTR [rax]
	test	al, al
	je	.L11
	mov	rax, QWORD PTR -8[rbp]
	mov	QWORD PTR -16[rbp], rax
	jmp	.L12
.L11:
	add	QWORD PTR -48[rbp], 8
	mov	rax, QWORD PTR -48[rbp]
	mov	rax, QWORD PTR [rax]
	mov	QWORD PTR -16[rbp], rax
.L12:
	mov	rax, QWORD PTR -8[rbp]
	mov	rdi, rax
	call	strlen@PLT
	add	QWORD PTR -8[rbp], rax
	jmp	.L3
.L9:
	or	DWORD PTR -32[rbp], 2
	or	DWORD PTR -32[rbp], 32
	or	DWORD PTR -32[rbp], 64
	jmp	.L3
.L8:
	mov	eax, DWORD PTR -20[rbp]
	mov	DWORD PTR -28[rbp], eax
	jmp	.L3
.L7:
	mov	eax, DWORD PTR verbose[rip]
	add	eax, 1
	mov	DWORD PTR verbose[rip], eax
	jmp	.L3
.L5:
	mov	eax, DWORD PTR -20[rbp]
	mov	DWORD PTR -28[rbp], eax
	jmp	.L3
.L4:
	call	usage
.L3:
	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	DWORD PTR -20[rbp], eax
	cmp	DWORD PTR -20[rbp], 0
	jne	.L13
.L2:
	add	QWORD PTR -48[rbp], 8
	mov	rax, QWORD PTR -48[rbp]
	mov	rax, QWORD PTR [rax]
	test	rax, rax
	je	.L14
	mov	rax, QWORD PTR -48[rbp]
	mov	rax, QWORD PTR [rax]
	movzx	eax, BYTE PTR [rax]
	cmp	al, 45
	je	.L15
.L14:
	cmp	DWORD PTR -28[rbp], 116
	je	.L16
	cmp	DWORD PTR -28[rbp], 120
	je	.L17
	jmp	.L18
.L16:
	mov	edx, DWORD PTR -32[rbp]
	mov	rax, QWORD PTR -16[rbp]
	mov	esi, 0
	mov	rdi, rax
	call	extract
	jmp	.L18
.L17:
	mov	edx, DWORD PTR -32[rbp]
	mov	rax, QWORD PTR -16[rbp]
	mov	esi, 1
	mov	rdi, rax
	call	extract
	nop
.L18:
	mov	eax, 0
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.size	main, .-main
	.section	.rodata
.LC0:
	.string	"-"
.LC1:
	.string	"archive_read_open_filename()"
.LC2:
	.string	"archive_read_next_header()"
.LC3:
	.string	"x "
.LC4:
	.string	"archive_write_header()"
.LC5:
	.string	"archive_write_finish_entry()"
.LC6:
	.string	"\n"
	.text
	.type	extract, @function
extract:
.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, 64
	mov	QWORD PTR -56[rbp], rdi
	mov	DWORD PTR -60[rbp], esi
	mov	DWORD PTR -64[rbp], edx
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	call	archive_read_new@PLT
	mov	QWORD PTR -24[rbp], rax
	call	archive_write_disk_new@PLT
	mov	QWORD PTR -16[rbp], rax
	mov	edx, DWORD PTR -64[rbp]
	mov	rax, QWORD PTR -16[rbp]
	mov	esi, edx
	mov	rdi, rax
	call	archive_write_disk_set_options@PLT
	mov	rax, QWORD PTR -24[rbp]
	mov	rdi, rax
	call	archive_read_support_format_tar@PLT
	cmp	QWORD PTR -56[rbp], 0
	je	.L21
	mov	rax, QWORD PTR -56[rbp]
	lea	rsi, .LC0[rip]
	mov	rdi, rax
	call	strcmp@PLT
	test	eax, eax
	jne	.L21
	mov	QWORD PTR -56[rbp], 0
.L21:
	mov	rcx, QWORD PTR -56[rbp]
	mov	rax, QWORD PTR -24[rbp]
	mov	edx, 10240
	mov	rsi, rcx
	mov	rdi, rax
	call	archive_read_open_filename@PLT
	mov	DWORD PTR -36[rbp], eax
	cmp	DWORD PTR -36[rbp], 0
	je	.L33
	mov	rax, QWORD PTR -24[rbp]
	mov	rdi, rax
	call	archive_error_string@PLT
	mov	rcx, rax
	mov	eax, DWORD PTR -36[rbp]
	mov	edx, eax
	mov	rsi, rcx
	lea	rdi, .LC1[rip]
	call	fail
.L33:
	lea	rdx, -32[rbp]
	mov	rax, QWORD PTR -24[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	archive_read_next_header@PLT
	mov	DWORD PTR -36[rbp], eax
	cmp	DWORD PTR -36[rbp], 1
	je	.L36
	cmp	DWORD PTR -36[rbp], 0
	je	.L25
	mov	rax, QWORD PTR -24[rbp]
	mov	rdi, rax
	call	archive_error_string@PLT
	mov	edx, 1
	mov	rsi, rax
	lea	rdi, .LC2[rip]
	call	fail
.L25:
	mov	eax, DWORD PTR verbose[rip]
	test	eax, eax
	je	.L26
	cmp	DWORD PTR -60[rbp], 0
	je	.L26
	lea	rdi, .LC3[rip]
	call	msg
.L26:
	mov	eax, DWORD PTR verbose[rip]
	test	eax, eax
	jne	.L27
	cmp	DWORD PTR -60[rbp], 0
	jne	.L28
.L27:
	mov	rax, QWORD PTR -32[rbp]
	mov	rdi, rax
	call	archive_entry_pathname@PLT
	mov	rdi, rax
	call	msg
.L28:
	cmp	DWORD PTR -60[rbp], 0
	je	.L29
	mov	rdx, QWORD PTR -32[rbp]
	mov	rax, QWORD PTR -16[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	archive_write_header@PLT
	mov	DWORD PTR -36[rbp], eax
	cmp	DWORD PTR -36[rbp], 0
	je	.L30
	mov	rax, QWORD PTR -16[rbp]
	mov	rdi, rax
	call	archive_error_string@PLT
	mov	rsi, rax
	lea	rdi, .LC4[rip]
	call	warn
	jmp	.L29
.L30:
	mov	rdx, QWORD PTR -16[rbp]
	mov	rax, QWORD PTR -24[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	copy_data
	mov	rax, QWORD PTR -16[rbp]
	mov	rdi, rax
	call	archive_write_finish_entry@PLT
	mov	DWORD PTR -36[rbp], eax
	cmp	DWORD PTR -36[rbp], 0
	je	.L29
	mov	rax, QWORD PTR -16[rbp]
	mov	rdi, rax
	call	archive_error_string@PLT
	mov	edx, 1
	mov	rsi, rax
	lea	rdi, .LC5[rip]
	call	fail
.L29:
	mov	eax, DWORD PTR verbose[rip]
	test	eax, eax
	jne	.L31
	cmp	DWORD PTR -60[rbp], 0
	jne	.L33
.L31:
	lea	rdi, .LC6[rip]
	call	msg
	jmp	.L33
.L36:
	nop
	mov	rax, QWORD PTR -24[rbp]
	mov	rdi, rax
	call	archive_read_close@PLT
	mov	rax, QWORD PTR -24[rbp]
	mov	rdi, rax
	call	archive_read_free@PLT
	mov	rax, QWORD PTR -16[rbp]
	mov	rdi, rax
	call	archive_write_close@PLT
	mov	rax, QWORD PTR -16[rbp]
	mov	rdi, rax
	call	archive_write_free@PLT
	mov	edi, 0
	call	exit@PLT
	.cfi_endproc
.LFE7:
	.size	extract, .-extract
	.section	.rodata
.LC7:
	.string	"archive_write_data_block()"
	.text
	.type	copy_data, @function
copy_data:
.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, 64
	mov	QWORD PTR -56[rbp], rdi
	mov	QWORD PTR -64[rbp], rsi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
.L42:
	lea	rcx, -16[rbp]
	lea	rdx, -24[rbp]
	lea	rsi, -32[rbp]
	mov	rax, QWORD PTR -56[rbp]
	mov	rdi, rax
	call	archive_read_data_block@PLT
	mov	DWORD PTR -36[rbp], eax
	cmp	DWORD PTR -36[rbp], 1
	jne	.L38
	mov	eax, 0
	jmp	.L43
.L38:
	cmp	DWORD PTR -36[rbp], 0
	je	.L40
	mov	eax, DWORD PTR -36[rbp]
	jmp	.L43
.L40:
	mov	rcx, QWORD PTR -16[rbp]
	mov	rdx, QWORD PTR -24[rbp]
	mov	rsi, QWORD PTR -32[rbp]
	mov	rax, QWORD PTR -64[rbp]
	mov	rdi, rax
	call	archive_write_data_block@PLT
	mov	DWORD PTR -36[rbp], eax
	cmp	DWORD PTR -36[rbp], 0
	je	.L42
	mov	rax, QWORD PTR -64[rbp]
	mov	rdi, rax
	call	archive_error_string@PLT
	mov	rsi, rax
	lea	rdi, .LC7[rip]
	call	warn
	mov	eax, DWORD PTR -36[rbp]
.L43:
	mov	rdi, QWORD PTR -8[rbp]
	sub	rdi, QWORD PTR fs:40
	je	.L44
	call	__stack_chk_fail@PLT
.L44:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE8:
	.size	copy_data, .-copy_data
	.type	msg, @function
msg:
.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, 16
	mov	QWORD PTR -8[rbp], rdi
	mov	rax, QWORD PTR -8[rbp]
	mov	rdi, rax
	call	strlen@PLT
	mov	rdx, rax
	mov	rax, QWORD PTR -8[rbp]
	mov	rsi, rax
	mov	edi, 1
	call	write@PLT
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE9:
	.size	msg, .-msg
	.type	errmsg, @function
errmsg:
.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, 16
	mov	QWORD PTR -8[rbp], rdi
	mov	rax, QWORD PTR -8[rbp]
	mov	rdi, rax
	call	strlen@PLT
	mov	rdx, rax
	mov	rax, QWORD PTR -8[rbp]
	mov	rsi, rax
	mov	edi, 2
	call	write@PLT
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE10:
	.size	errmsg, .-errmsg
	.section	.rodata
.LC8:
	.string	" failed: "
	.text
	.type	warn, @function
warn:
.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, 16
	mov	QWORD PTR -8[rbp], rdi
	mov	QWORD PTR -16[rbp], rsi
	mov	rax, QWORD PTR -8[rbp]
	mov	rdi, rax
	call	errmsg
	lea	rdi, .LC8[rip]
	call	errmsg
	mov	rax, QWORD PTR -16[rbp]
	mov	rdi, rax
	call	errmsg
	lea	rdi, .LC6[rip]
	call	errmsg
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE11:
	.size	warn, .-warn
	.type	fail, @function
fail:
.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	QWORD PTR -8[rbp], rdi
	mov	QWORD PTR -16[rbp], rsi
	mov	DWORD PTR -20[rbp], edx
	mov	rdx, QWORD PTR -16[rbp]
	mov	rax, QWORD PTR -8[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	warn
	mov	eax, DWORD PTR -20[rbp]
	mov	edi, eax
	call	exit@PLT
	.cfi_endproc
.LFE12:
	.size	fail, .-fail
	.section	.rodata
	.align 8
.LC9:
	.string	"Usage: untar [-tvx] [-f file] [file]\n"
	.text
	.type	usage, @function
usage:
.LFB13:
	.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
	lea	rax, .LC9[rip]
	mov	QWORD PTR -8[rbp], rax
	mov	rax, QWORD PTR -8[rbp]
	mov	rdi, rax
	call	errmsg
	mov	edi, 1
	call	exit@PLT
	.cfi_endproc
.LFE13:
	.size	usage, .-usage
	.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	"363095.c"
	.text
	.local	verbose
	.comm	verbose,4,4
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 32
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #32
	str	r0, [fp, #-32]
	str	r1, [fp, #-36]
	mov	r3, #0
	str	r3, [fp, #-28]
	mov	r3, #120
	str	r3, [fp, #-20]
	ldr	r3, .L20
	mov	r2, #0
	str	r2, [r3]
	mov	r3, #0
	str	r3, [fp, #-12]
	mov	r3, #4
	str	r3, [fp, #-24]
	b	.L2
.L15:
	ldr	r3, [fp, #-36]
	ldr	r3, [r3]
	add	r3, r3, #1
	str	r3, [fp, #-16]
	b	.L3
.L13:
	ldr	r3, [fp, #-8]
	sub	r3, r3, #102
	cmp	r3, #18
	ldrls	pc, [pc, r3, asl #2]
	b	.L4
.L6:
	.word	.L10
	.word	.L4
	.word	.L4
	.word	.L4
	.word	.L4
	.word	.L4
	.word	.L4
	.word	.L4
	.word	.L4
	.word	.L4
	.word	.L9
	.word	.L4
	.word	.L4
	.word	.L4
	.word	.L8
	.word	.L4
	.word	.L7
	.word	.L4
	.word	.L5
.L10:
	ldr	r3, [fp, #-16]
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #0
	beq	.L11
	ldr	r3, [fp, #-16]
	str	r3, [fp, #-28]
	b	.L12
.L11:
	ldr	r3, [fp, #-36]
	add	r3, r3, #4
	str	r3, [fp, #-36]
	ldr	r3, [fp, #-36]
	ldr	r3, [r3]
	str	r3, [fp, #-28]
.L12:
	ldr	r0, [fp, #-16]
	bl	strlen
	mov	r2, r0
	ldr	r3, [fp, #-16]
	add	r3, r3, r2
	str	r3, [fp, #-16]
	b	.L3
.L9:
	ldr	r3, [fp, #-24]
	orr	r3, r3, #2
	str	r3, [fp, #-24]
	ldr	r3, [fp, #-24]
	orr	r3, r3, #32
	str	r3, [fp, #-24]
	ldr	r3, [fp, #-24]
	orr	r3, r3, #64
	str	r3, [fp, #-24]
	b	.L3
.L8:
	ldr	r3, [fp, #-8]
	str	r3, [fp, #-20]
	b	.L3
.L7:
	ldr	r3, .L20
	ldr	r3, [r3]
	add	r3, r3, #1
	ldr	r2, .L20
	str	r3, [r2]
	b	.L3
.L5:
	ldr	r3, [fp, #-8]
	str	r3, [fp, #-20]
	b	.L3
.L4:
	bl	usage
.L3:
	ldr	r3, [fp, #-16]
	add	r2, r3, #1
	str	r2, [fp, #-16]
	ldrb	r3, [r3]	@ zero_extendqisi2
	str	r3, [fp, #-8]
	ldr	r3, [fp, #-8]
	cmp	r3, #0
	bne	.L13
.L2:
	ldr	r3, [fp, #-36]
	add	r3, r3, #4
	str	r3, [fp, #-36]
	ldr	r3, [fp, #-36]
	ldr	r3, [r3]
	cmp	r3, #0
	beq	.L14
	ldr	r3, [fp, #-36]
	ldr	r3, [r3]
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #45
	beq	.L15
.L14:
	ldr	r3, [fp, #-20]
	cmp	r3, #116
	beq	.L16
	ldr	r3, [fp, #-20]
	cmp	r3, #120
	beq	.L17
	b	.L18
.L16:
	ldr	r2, [fp, #-24]
	mov	r1, #0
	ldr	r0, [fp, #-28]
	bl	extract
	b	.L18
.L17:
	ldr	r2, [fp, #-24]
	mov	r1, #1
	ldr	r0, [fp, #-28]
	bl	extract
	nop
.L18:
	mov	r3, #0
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L21:
	.align	2
.L20:
	.word	verbose
	.size	main, .-main
	.section	.rodata
	.align	2
.LC0:
	.ascii	"-\000"
	.align	2
.LC1:
	.ascii	"archive_read_open_filename()\000"
	.align	2
.LC2:
	.ascii	"archive_read_next_header()\000"
	.align	2
.LC3:
	.ascii	"x \000"
	.align	2
.LC4:
	.ascii	"archive_write_header()\000"
	.align	2
.LC5:
	.ascii	"archive_write_finish_entry()\000"
	.align	2
.LC6:
	.ascii	"\012\000"
	.align	2
.LC7:
	.word	__stack_chk_guard
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	extract, %function
extract:
	@ args = 0, pretend = 0, frame = 40
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #40
	str	r0, [fp, #-32]
	str	r1, [fp, #-36]
	str	r2, [fp, #-40]
	ldr	r3, .L39
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	bl	archive_read_new
	str	r0, [fp, #-20]
	bl	archive_write_disk_new
	str	r0, [fp, #-16]
	ldr	r1, [fp, #-40]
	ldr	r0, [fp, #-16]
	bl	archive_write_disk_set_options
	ldr	r0, [fp, #-20]
	bl	archive_read_support_format_tar
	ldr	r3, [fp, #-32]
	cmp	r3, #0
	beq	.L23
	ldr	r1, .L39+4
	ldr	r0, [fp, #-32]
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	bne	.L23
	mov	r3, #0
	str	r3, [fp, #-32]
.L23:
	mov	r2, #10240
	ldr	r1, [fp, #-32]
	ldr	r0, [fp, #-20]
	bl	archive_read_open_filename
	str	r0, [fp, #-12]
	ldr	r3, [fp, #-12]
	cmp	r3, #0
	beq	.L35
	ldr	r0, [fp, #-20]
	bl	archive_error_string
	mov	r3, r0
	ldr	r2, [fp, #-12]
	mov	r1, r3
	ldr	r0, .L39+8
	bl	fail
.L35:
	sub	r3, fp, #24
	mov	r1, r3
	ldr	r0, [fp, #-20]
	bl	archive_read_next_header
	str	r0, [fp, #-12]
	ldr	r3, [fp, #-12]
	cmp	r3, #1
	beq	.L38
	ldr	r3, [fp, #-12]
	cmp	r3, #0
	beq	.L27
	ldr	r0, [fp, #-20]
	bl	archive_error_string
	mov	r3, r0
	mov	r2, #1
	mov	r1, r3
	ldr	r0, .L39+12
	bl	fail
.L27:
	ldr	r3, .L39+16
	ldr	r3, [r3]
	cmp	r3, #0
	beq	.L28
	ldr	r3, [fp, #-36]
	cmp	r3, #0
	beq	.L28
	ldr	r0, .L39+20
	bl	msg
.L28:
	ldr	r3, .L39+16
	ldr	r3, [r3]
	cmp	r3, #0
	bne	.L29
	ldr	r3, [fp, #-36]
	cmp	r3, #0
	bne	.L30
.L29:
	ldr	r3, [fp, #-24]
	mov	r0, r3
	bl	archive_entry_pathname
	mov	r3, r0
	mov	r0, r3
	bl	msg
.L30:
	ldr	r3, [fp, #-36]
	cmp	r3, #0
	beq	.L31
	ldr	r3, [fp, #-24]
	mov	r1, r3
	ldr	r0, [fp, #-16]
	bl	archive_write_header
	str	r0, [fp, #-12]
	ldr	r3, [fp, #-12]
	cmp	r3, #0
	beq	.L32
	ldr	r0, [fp, #-16]
	bl	archive_error_string
	mov	r3, r0
	mov	r1, r3
	ldr	r0, .L39+24
	bl	warn
	b	.L31
.L32:
	ldr	r1, [fp, #-16]
	ldr	r0, [fp, #-20]
	bl	copy_data
	ldr	r0, [fp, #-16]
	bl	archive_write_finish_entry
	str	r0, [fp, #-12]
	ldr	r3, [fp, #-12]
	cmp	r3, #0
	beq	.L31
	ldr	r0, [fp, #-16]
	bl	archive_error_string
	mov	r3, r0
	mov	r2, #1
	mov	r1, r3
	ldr	r0, .L39+28
	bl	fail
.L31:
	ldr	r3, .L39+16
	ldr	r3, [r3]
	cmp	r3, #0
	bne	.L33
	ldr	r3, [fp, #-36]
	cmp	r3, #0
	bne	.L35
.L33:
	ldr	r0, .L39+32
	bl	msg
	b	.L35
.L38:
	nop
	ldr	r0, [fp, #-20]
	bl	archive_read_close
	ldr	r0, [fp, #-20]
	bl	archive_read_free
	ldr	r0, [fp, #-16]
	bl	archive_write_close
	ldr	r0, [fp, #-16]
	bl	archive_write_free
	mov	r0, #0
	bl	exit
.L40:
	.align	2
.L39:
	.word	.LC7
	.word	.LC0
	.word	.LC1
	.word	.LC2
	.word	verbose
	.word	.LC3
	.word	.LC4
	.word	.LC5
	.word	.LC6
	.size	extract, .-extract
	.section	.rodata
	.align	2
.LC8:
	.ascii	"archive_write_data_block()\000"
	.align	2
.LC9:
	.word	__stack_chk_guard
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	copy_data, %function
copy_data:
	@ args = 0, pretend = 0, frame = 40
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #48
	str	r0, [fp, #-40]
	str	r1, [fp, #-44]
	ldr	r3, .L49
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
.L46:
	sub	r3, fp, #20
	sub	r2, fp, #28
	sub	r1, fp, #32
	ldr	r0, [fp, #-40]
	bl	archive_read_data_block
	str	r0, [fp, #-24]
	ldr	r3, [fp, #-24]
	cmp	r3, #1
	bne	.L42
	mov	r3, #0
	b	.L47
.L42:
	ldr	r3, [fp, #-24]
	cmp	r3, #0
	beq	.L44
	ldr	r3, [fp, #-24]
	b	.L47
.L44:
	ldr	r1, [fp, #-32]
	ldr	r0, [fp, #-28]
	sub	r3, fp, #20
	ldmia	r3, {r2-r3}
	stm	sp, {r2-r3}
	mov	r2, r0
	ldr	r0, [fp, #-44]
	bl	archive_write_data_block
	str	r0, [fp, #-24]
	ldr	r3, [fp, #-24]
	cmp	r3, #0
	beq	.L46
	ldr	r0, [fp, #-44]
	bl	archive_error_string
	mov	r3, r0
	mov	r1, r3
	ldr	r0, .L49+4
	bl	warn
	ldr	r3, [fp, #-24]
.L47:
	ldr	r2, .L49
	ldr	r1, [r2]
	ldr	r2, [fp, #-8]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L48
	bl	__stack_chk_fail
.L48:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L50:
	.align	2
.L49:
	.word	.LC9
	.word	.LC8
	.size	copy_data, .-copy_data
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	msg, %function
msg:
	@ 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]
	ldr	r0, [fp, #-8]
	bl	strlen
	mov	r3, r0
	mov	r2, r3
	ldr	r1, [fp, #-8]
	mov	r0, #1
	bl	write
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
	.size	msg, .-msg
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	errmsg, %function
errmsg:
	@ 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]
	ldr	r0, [fp, #-8]
	bl	strlen
	mov	r3, r0
	mov	r2, r3
	ldr	r1, [fp, #-8]
	mov	r0, #2
	bl	write
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
	.size	errmsg, .-errmsg
	.section	.rodata
	.align	2
.LC10:
	.ascii	" failed: \000"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	warn, %function
warn:
	@ 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]
	str	r1, [fp, #-12]
	ldr	r0, [fp, #-8]
	bl	errmsg
	ldr	r0, .L54
	bl	errmsg
	ldr	r0, [fp, #-12]
	bl	errmsg
	ldr	r0, .L54+4
	bl	errmsg
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L55:
	.align	2
.L54:
	.word	.LC10
	.word	.LC6
	.size	warn, .-warn
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	fail, %function
fail:
	@ 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, #-8]
	str	r1, [fp, #-12]
	str	r2, [fp, #-16]
	ldr	r1, [fp, #-12]
	ldr	r0, [fp, #-8]
	bl	warn
	ldr	r0, [fp, #-16]
	bl	exit
	.size	fail, .-fail
	.section	.rodata
	.align	2
.LC11:
	.ascii	"Usage: untar [-tvx] [-f file] [file]\012\000"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	usage, %function
usage:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #8
	ldr	r3, .L58
	str	r3, [fp, #-8]
	ldr	r0, [fp, #-8]
	bl	errmsg
	mov	r0, #1
	bl	exit
.L59:
	.align	2
.L58:
	.word	.LC11
	.size	usage, .-usage
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
