	.file	"329760.c"
	.intel_syntax noprefix
	.text
	.section	.rodata
.LC0:
	.string	"RLIMIT_AS"
.LC1:
	.string	"RLIMIT_CORE"
.LC2:
	.string	"RLIMIT_CPU"
.LC3:
	.string	"RLIMIT_DATA"
.LC4:
	.string	"RLIMIT_FSIZE"
.LC5:
	.string	"RLIMIT_LOCKS"
.LC6:
	.string	"RLIMIT_MEMLOCK"
.LC7:
	.string	"RLIMIT_NOFILE"
.LC8:
	.string	"RLIMIT_NPROC"
.LC9:
	.string	"RLIMIT_RSS"
.LC10:
	.string	"RLIMIT_STACK"
	.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
	mov	esi, 9
	lea	rdi, .LC0[rip]
	call	pr_limits
	mov	esi, 4
	lea	rdi, .LC1[rip]
	call	pr_limits
	mov	esi, 0
	lea	rdi, .LC2[rip]
	call	pr_limits
	mov	esi, 2
	lea	rdi, .LC3[rip]
	call	pr_limits
	mov	esi, 1
	lea	rdi, .LC4[rip]
	call	pr_limits
	mov	esi, 10
	lea	rdi, .LC5[rip]
	call	pr_limits
	mov	esi, 8
	lea	rdi, .LC6[rip]
	call	pr_limits
	mov	esi, 7
	lea	rdi, .LC7[rip]
	call	pr_limits
	mov	esi, 6
	lea	rdi, .LC8[rip]
	call	pr_limits
	mov	esi, 5
	lea	rdi, .LC9[rip]
	call	pr_limits
	mov	esi, 3
	lea	rdi, .LC10[rip]
	call	pr_limits
	mov	edi, 0
	call	exit@PLT
	.cfi_endproc
.LFE6:
	.size	main, .-main
	.section	.rodata
.LC11:
	.string	"Err. getrlimit() %s\n"
.LC12:
	.string	"%-14s  "
.LC13:
	.string	"(infinite)  "
.LC14:
	.string	"%10ld  "
.LC15:
	.string	"(infinite)"
	.text
	.type	pr_limits, @function
pr_limits:
.LFB7:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 48
	mov	QWORD PTR -40[rbp], rdi
	mov	DWORD PTR -44[rbp], esi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	lea	rdx, -32[rbp]
	mov	eax, DWORD PTR -44[rbp]
	mov	rsi, rdx
	mov	edi, eax
	call	getrlimit@PLT
	test	eax, eax
	jns	.L3
	mov	rax, QWORD PTR stderr[rip]
	mov	rdx, QWORD PTR -40[rbp]
	lea	rsi, .LC11[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	mov	edi, 1
	call	exit@PLT
.L3:
	mov	rax, QWORD PTR -40[rbp]
	mov	rsi, rax
	lea	rdi, .LC12[rip]
	mov	eax, 0
	call	printf@PLT
	mov	rax, QWORD PTR -32[rbp]
	cmp	rax, -1
	jne	.L4
	lea	rdi, .LC13[rip]
	mov	eax, 0
	call	printf@PLT
	jmp	.L5
.L4:
	mov	rax, QWORD PTR -32[rbp]
	mov	rsi, rax
	lea	rdi, .LC14[rip]
	mov	eax, 0
	call	printf@PLT
.L5:
	mov	rax, QWORD PTR -24[rbp]
	cmp	rax, -1
	jne	.L6
	lea	rdi, .LC15[rip]
	mov	eax, 0
	call	printf@PLT
	jmp	.L7
.L6:
	mov	rax, QWORD PTR -24[rbp]
	mov	rsi, rax
	lea	rdi, .LC14[rip]
	mov	eax, 0
	call	printf@PLT
.L7:
	mov	edi, 10
	call	putchar@PLT
	nop
	mov	rax, QWORD PTR -8[rbp]
	sub	rax, QWORD PTR fs:40
	je	.L8
	call	__stack_chk_fail@PLT
.L8:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE7:
	.size	pr_limits, .-pr_limits
	.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	"329760.c"
	.text
	.section	.rodata
	.align	2
.LC0:
	.ascii	"RLIMIT_AS\000"
	.align	2
.LC1:
	.ascii	"RLIMIT_CORE\000"
	.align	2
.LC2:
	.ascii	"RLIMIT_CPU\000"
	.align	2
.LC3:
	.ascii	"RLIMIT_DATA\000"
	.align	2
.LC4:
	.ascii	"RLIMIT_FSIZE\000"
	.align	2
.LC5:
	.ascii	"RLIMIT_LOCKS\000"
	.align	2
.LC6:
	.ascii	"RLIMIT_MEMLOCK\000"
	.align	2
.LC7:
	.ascii	"RLIMIT_NOFILE\000"
	.align	2
.LC8:
	.ascii	"RLIMIT_NPROC\000"
	.align	2
.LC9:
	.ascii	"RLIMIT_RSS\000"
	.align	2
.LC10:
	.ascii	"RLIMIT_STACK\000"
	.text
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	mov	r1, #9
	ldr	r0, .L2
	bl	pr_limits
	mov	r1, #4
	ldr	r0, .L2+4
	bl	pr_limits
	mov	r1, #0
	ldr	r0, .L2+8
	bl	pr_limits
	mov	r1, #2
	ldr	r0, .L2+12
	bl	pr_limits
	mov	r1, #1
	ldr	r0, .L2+16
	bl	pr_limits
	mov	r1, #10
	ldr	r0, .L2+20
	bl	pr_limits
	mov	r1, #8
	ldr	r0, .L2+24
	bl	pr_limits
	mov	r1, #7
	ldr	r0, .L2+28
	bl	pr_limits
	mov	r1, #6
	ldr	r0, .L2+32
	bl	pr_limits
	mov	r1, #5
	ldr	r0, .L2+36
	bl	pr_limits
	mov	r1, #3
	ldr	r0, .L2+40
	bl	pr_limits
	mov	r0, #0
	bl	exit
.L3:
	.align	2
.L2:
	.word	.LC0
	.word	.LC1
	.word	.LC2
	.word	.LC3
	.word	.LC4
	.word	.LC5
	.word	.LC6
	.word	.LC7
	.word	.LC8
	.word	.LC9
	.word	.LC10
	.size	main, .-main
	.section	.rodata
	.align	2
.LC11:
	.ascii	"Err. getrlimit() %s\012\000"
	.align	2
.LC12:
	.ascii	"%-14s  \000"
	.align	2
.LC13:
	.ascii	"(infinite)  \000"
	.align	2
.LC14:
	.ascii	"%10ld  \000"
	.align	2
.LC15:
	.ascii	"(infinite)\000"
	.align	2
.LC16:
	.word	__stack_chk_guard
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	pr_limits, %function
pr_limits:
	@ args = 0, pretend = 0, frame = 24
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #24
	str	r0, [fp, #-24]
	str	r1, [fp, #-28]
	ldr	r3, .L11
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	sub	r3, fp, #16
	mov	r1, r3
	ldr	r0, [fp, #-28]
	bl	getrlimit
	mov	r3, r0
	cmp	r3, #0
	bge	.L5
	ldr	r3, .L11+4
	ldr	r3, [r3]
	ldr	r2, [fp, #-24]
	ldr	r1, .L11+8
	mov	r0, r3
	bl	fprintf
	mov	r0, #1
	bl	exit
.L5:
	ldr	r1, [fp, #-24]
	ldr	r0, .L11+12
	bl	printf
	ldr	r3, [fp, #-16]
	cmn	r3, #1
	bne	.L6
	ldr	r0, .L11+16
	bl	printf
	b	.L7
.L6:
	ldr	r3, [fp, #-16]
	mov	r1, r3
	ldr	r0, .L11+20
	bl	printf
.L7:
	ldr	r3, [fp, #-12]
	cmn	r3, #1
	bne	.L8
	ldr	r0, .L11+24
	bl	printf
	b	.L9
.L8:
	ldr	r3, [fp, #-12]
	mov	r1, r3
	ldr	r0, .L11+20
	bl	printf
.L9:
	mov	r0, #10
	bl	putchar
	nop
	ldr	r3, .L11
	ldr	r2, [r3]
	ldr	r3, [fp, #-8]
	eors	r2, r3, r2
	mov	r3, #0
	beq	.L10
	bl	__stack_chk_fail
.L10:
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L12:
	.align	2
.L11:
	.word	.LC16
	.word	stderr
	.word	.LC11
	.word	.LC12
	.word	.LC13
	.word	.LC14
	.word	.LC15
	.size	pr_limits, .-pr_limits
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
