	.file	"64201134.c"
	.intel_syntax noprefix
	.text
	.globl	buf
	.bss
	.align 32
	.type	buf, @object
	.size	buf, 200
buf:
	.zero	200
	.section	.rodata
.LC0:
	.string	"Usage: %s [-_]\n"
.LC1:
	.string	"_"
.LC2:
	.string	"setrlimit"
	.align 8
.LC3:
	.string	"setjmp returns 0 on longjmp(.., 0)"
.LC4:
	.string	"bad return from setjmp %d/%d"
	.text
	.globl	main
	.type	main, @function
main:
.LFB6:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 80
	mov	DWORD PTR -68[rbp], edi
	mov	QWORD PTR -80[rbp], rsi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	rax, QWORD PTR setjmp@GOTPCREL[rip]
	mov	QWORD PTR -48[rbp], rax
	mov	rax, QWORD PTR longjmp@GOTPCREL[rip]
	mov	QWORD PTR -40[rbp], rax
	jmp	.L2
.L4:
	cmp	DWORD PTR -52[rbp], 95
	jne	.L3
	mov	rax, QWORD PTR _setjmp@GOTPCREL[rip]
	mov	QWORD PTR -48[rbp], rax
	mov	rax, QWORD PTR _longjmp@GOTPCREL[rip]
	mov	QWORD PTR -40[rbp], rax
	jmp	.L2
.L3:
	mov	rdx, QWORD PTR __progname[rip]
	mov	rax, QWORD PTR stderr[rip]
	lea	rsi, .LC0[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	mov	edi, 1
	call	exit@PLT
.L2:
	mov	rcx, QWORD PTR -80[rbp]
	mov	eax, DWORD PTR -68[rbp]
	lea	rdx, .LC1[rip]
	mov	rsi, rcx
	mov	edi, eax
	call	getopt@PLT
	mov	DWORD PTR -52[rbp], eax
	cmp	DWORD PTR -52[rbp], -1
	jne	.L4
	mov	QWORD PTR -32[rbp], 2
	mov	QWORD PTR -24[rbp], 2
	lea	rax, -32[rbp]
	mov	rsi, rax
	mov	edi, 0
	call	setrlimit@PLT
	test	eax, eax
	jns	.L5
	lea	rsi, .LC2[rip]
	mov	edi, 1
	mov	eax, 0
	call	err@PLT
.L5:
	mov	DWORD PTR -56[rbp], 0
	mov	rax, QWORD PTR -48[rbp]
	lea	rdi, buf[rip]
	call	rax
	mov	DWORD PTR -60[rbp], eax
	mov	eax, DWORD PTR -60[rbp]
	test	eax, eax
	jne	.L6
	mov	eax, DWORD PTR -56[rbp]
	test	eax, eax
	je	.L6
	lea	rsi, .LC3[rip]
	mov	edi, 1
	mov	eax, 0
	call	errx@PLT
.L6:
	mov	eax, DWORD PTR -56[rbp]
	test	eax, eax
	jne	.L7
	mov	DWORD PTR -56[rbp], -1
	mov	rax, QWORD PTR -40[rbp]
	mov	esi, 0
	lea	rdi, buf[rip]
	call	rax
.L7:
	mov	DWORD PTR -56[rbp], 0
	mov	rax, QWORD PTR -48[rbp]
	lea	rdi, buf[rip]
	call	rax
	mov	DWORD PTR -60[rbp], eax
	mov	edx, DWORD PTR -60[rbp]
	mov	eax, DWORD PTR -56[rbp]
	cmp	edx, eax
	je	.L8
	mov	edx, DWORD PTR -60[rbp]
	mov	eax, DWORD PTR -56[rbp]
	mov	ecx, edx
	mov	edx, eax
	lea	rsi, .LC4[rip]
	mov	edi, 1
	mov	eax, 0
	call	errx@PLT
.L8:
	mov	eax, DWORD PTR -56[rbp]
	cmp	eax, 999
	jg	.L9
	mov	eax, DWORD PTR -56[rbp]
	add	eax, 2
	mov	DWORD PTR -56[rbp], eax
	mov	rdx, QWORD PTR -40[rbp]
	mov	esi, eax
	lea	rdi, buf[rip]
	call	rdx
.L9:
	mov	eax, 0
	mov	rcx, QWORD PTR -8[rbp]
	sub	rcx, QWORD PTR fs:40
	je	.L11
	call	__stack_chk_fail@PLT
.L11:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.size	main, .-main
	.ident	"GCC: (Ubuntu 10.5.0-1ubuntu1~20.04) 10.5.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, 6
	.eabi_attribute 34, 0
	.eabi_attribute 18, 4
	.file	"64201134.c"
	.text
	.comm	buf,392,8
	.section	.rodata
	.align	2
.LC0:
	.ascii	"Usage: %s [-_]\012\000"
	.align	2
.LC1:
	.ascii	"_\000"
	.align	2
.LC2:
	.ascii	"setrlimit\000"
	.align	2
.LC3:
	.ascii	"setjmp returns 0 on longjmp(.., 0)\000"
	.align	2
.LC4:
	.ascii	"bad return from setjmp %d/%d\000"
	.align	2
.LC5:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 40
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #40
	str	r0, [fp, #-40]
	str	r1, [fp, #-44]
	ldr	r3, .L12
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	ldr	r3, .L12+4
	str	r3, [fp, #-28]
	ldr	r3, .L12+8
	str	r3, [fp, #-24]
	b	.L2
.L4:
	ldr	r3, [fp, #-20]
	cmp	r3, #95
	bne	.L3
	ldr	r3, .L12+12
	str	r3, [fp, #-28]
	ldr	r3, .L12+16
	str	r3, [fp, #-24]
	b	.L2
.L3:
	ldr	r3, .L12+20
	ldr	r3, [r3]
	ldr	r2, .L12+24
	ldr	r2, [r2]
	ldr	r1, .L12+28
	mov	r0, r3
	bl	fprintf
	mov	r0, #1
	bl	exit
.L2:
	ldr	r2, .L12+32
	ldr	r1, [fp, #-44]
	ldr	r0, [fp, #-40]
	bl	getopt
	str	r0, [fp, #-20]
	ldr	r3, [fp, #-20]
	cmn	r3, #1
	bne	.L4
	mov	r3, #2
	str	r3, [fp, #-16]
	mov	r3, #2
	str	r3, [fp, #-12]
	sub	r3, fp, #16
	mov	r1, r3
	mov	r0, #0
	bl	setrlimit
	mov	r3, r0
	cmp	r3, #0
	bge	.L5
	ldr	r1, .L12+36
	mov	r0, #1
	bl	err
.L5:
	mov	r3, #0
	str	r3, [fp, #-32]
	ldr	r3, [fp, #-28]
	ldr	r0, .L12+40
	blx	r3
	mov	r3, r0
	str	r3, [fp, #-36]
	ldr	r3, [fp, #-36]
	cmp	r3, #0
	bne	.L6
	ldr	r3, [fp, #-32]
	cmp	r3, #0
	beq	.L6
	ldr	r1, .L12+44
	mov	r0, #1
	bl	errx
.L6:
	ldr	r3, [fp, #-32]
	cmp	r3, #0
	bne	.L7
	mvn	r3, #0
	str	r3, [fp, #-32]
	ldr	r3, [fp, #-24]
	mov	r1, #0
	ldr	r0, .L12+40
	blx	r3
.L7:
	mov	r3, #0
	str	r3, [fp, #-32]
	ldr	r3, [fp, #-28]
	ldr	r0, .L12+40
	blx	r3
	mov	r3, r0
	str	r3, [fp, #-36]
	ldr	r2, [fp, #-36]
	ldr	r3, [fp, #-32]
	cmp	r2, r3
	beq	.L8
	ldr	r2, [fp, #-32]
	ldr	r3, [fp, #-36]
	ldr	r1, .L12+48
	mov	r0, #1
	bl	errx
.L8:
	ldr	r3, [fp, #-32]
	cmp	r3, #1000
	bge	.L9
	ldr	r3, [fp, #-32]
	add	r3, r3, #2
	str	r3, [fp, #-32]
	ldr	r2, [fp, #-24]
	mov	r1, r3
	ldr	r0, .L12+40
	blx	r2
.L9:
	mov	r3, #0
	ldr	r2, .L12
	ldr	r1, [r2]
	ldr	r2, [fp, #-8]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L11
	bl	__stack_chk_fail
.L11:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L13:
	.align	2
.L12:
	.word	.LC5
	.word	setjmp
	.word	longjmp
	.word	_setjmp
	.word	_longjmp
	.word	stderr
	.word	__progname
	.word	.LC0
	.word	.LC1
	.word	.LC2
	.word	buf
	.word	.LC3
	.word	.LC4
	.size	main, .-main
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
