	.file	"extr_rctl.c_show_limits.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"realloc"
.LC1:
	.string	"failed to get limits for '%s'"
	.text
	.p2align 4
	.type	show_limits, @function
show_limits:
.LFB0:
	.cfi_startproc
	endbr64
	push	r15
	.cfi_def_cfa_offset 16
	.cfi_offset 15, -16
	push	r14
	.cfi_def_cfa_offset 24
	.cfi_offset 14, -24
	mov	r14d, ecx
	push	r13
	.cfi_def_cfa_offset 32
	.cfi_offset 13, -32
	push	r12
	.cfi_def_cfa_offset 40
	.cfi_offset 12, -40
	mov	r12, rsi
	push	rbp
	.cfi_def_cfa_offset 48
	.cfi_offset 6, -48
	mov	rbp, rdi
	push	rbx
	.cfi_def_cfa_offset 56
	.cfi_offset 3, -56
	sub	rsp, 24
	.cfi_def_cfa_offset 80
	mov	eax, DWORD PTR RCTL_DEFAULT_BUFSIZE[rip]
	mov	DWORD PTR 12[rsp], edx
	test	eax, eax
	lea	ebx, 3[rax]
	cmovns	ebx, eax
	xor	r13d, r13d
	sar	ebx, 2
	movsx	rbx, ebx
.L4:
	sal	rbx, 2
	mov	rdi, r13
	mov	rsi, rbx
	call	realloc@PLT
	mov	r13, rax
	test	rax, rax
	je	.L10
.L2:
	mov	rdi, rbp
	call	strlen@PLT
	mov	rcx, rbx
	mov	rdx, r13
	mov	rdi, rbp
	lea	rsi, 1[rax]
	call	rctl_get_limits@PLT
	mov	r15d, eax
	test	eax, eax
	je	.L3
	mov	rax, QWORD PTR errno[rip]
	cmp	rax, QWORD PTR ERANGE[rip]
	je	.L4
	cmp	rax, QWORD PTR ENOSYS[rip]
	je	.L11
.L5:
	lea	rdi, .LC1[rip]
	mov	rsi, r12
	call	warn@PLT
	mov	rdi, r13
	call	free@PLT
.L1:
	add	rsp, 24
	.cfi_remember_state
	.cfi_def_cfa_offset 56
	mov	eax, r15d
	pop	rbx
	.cfi_def_cfa_offset 48
	pop	rbp
	.cfi_def_cfa_offset 40
	pop	r12
	.cfi_def_cfa_offset 32
	pop	r13
	.cfi_def_cfa_offset 24
	pop	r14
	.cfi_def_cfa_offset 16
	pop	r15
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L11:
	.cfi_restore_state
	xor	eax, eax
	call	enosys@PLT
	jmp	.L5
	.p2align 4,,10
	.p2align 3
.L3:
	mov	esi, DWORD PTR 12[rsp]
	mov	rdi, r13
	mov	edx, r14d
	call	print_rules@PLT
	mov	rdi, r13
	call	free@PLT
	jmp	.L1
.L10:
	lea	rsi, .LC0[rip]
	mov	edi, 1
	call	err@PLT
	jmp	.L2
	.cfi_endproc
.LFE0:
	.size	show_limits, .-show_limits
	.comm	errno,8,8
	.comm	RCTL_DEFAULT_BUFSIZE,4,4
	.comm	ERANGE,8,8
	.comm	ENOSYS,8,8
	.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_rctl.c_show_limits.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"realloc\000"
	.align	2
.LC1:
	.ascii	"failed to get limits for '%s'\000"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	show_limits, %function
show_limits:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 0, uses_anonymous_args = 0
	ldr	ip, .L12
	push	{r4, r5, r6, r7, r8, r9, r10, fp, lr}
	ldr	r4, [ip]
	mov	r7, r1
	cmp	r4, #0
	add	r1, r4, #3
	movlt	r4, r1
	mov	r6, r0
	mov	r9, r3
	mov	r5, #0
	sub	sp, sp, #12
	ldr	fp, .L12+4
	ldr	r10, .L12+8
	str	r2, [sp, #4]
	asr	r4, r4, #2
.L4:
	lsl	r4, r4, #2
	mov	r0, r5
	mov	r1, r4
	bl	realloc
	subs	r5, r0, #0
	beq	.L10
.L2:
	mov	r0, r6
	bl	strlen
	mov	r3, r4
	add	r1, r0, #1
	mov	r2, r5
	mov	r0, r6
	bl	rctl_get_limits
	subs	r8, r0, #0
	beq	.L3
	ldr	r2, [fp]
	ldr	r3, [r10]
	cmp	r2, r3
	beq	.L4
	ldr	r1, .L12+12
	ldr	r1, [r1]
	cmp	r2, r1
	beq	.L11
.L5:
	mov	r1, r7
	ldr	r0, .L12+16
	bl	warn
	mov	r0, r5
	bl	free
.L1:
	mov	r0, r8
	add	sp, sp, #12
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, r10, fp, pc}
.L11:
	bl	enosys
	b	.L5
.L3:
	mov	r2, r9
	mov	r0, r5
	ldr	r1, [sp, #4]
	bl	print_rules
	mov	r0, r5
	bl	free
	b	.L1
.L10:
	ldr	r1, .L12+20
	mov	r0, #1
	bl	err
	b	.L2
.L13:
	.align	2
.L12:
	.word	RCTL_DEFAULT_BUFSIZE
	.word	errno
	.word	ERANGE
	.word	ENOSYS
	.word	.LC1
	.word	.LC0
	.size	show_limits, .-show_limits
	.comm	errno,4,4
	.comm	RCTL_DEFAULT_BUFSIZE,4,4
	.comm	ERANGE,4,4
	.comm	ENOSYS,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
