	.file	"extr_inode.c_process_init_limits.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	process_init_limits, @function
process_init_limits:
.LFB0:
	.cfi_startproc
	endbr64
	push	r12
	.cfi_def_cfa_offset 16
	.cfi_offset 12, -16
	mov	r12, rdi
	mov	edi, DWORD PTR CAP_SYS_ADMIN[rip]
	push	rbp
	.cfi_def_cfa_offset 24
	.cfi_offset 6, -24
	push	rbx
	.cfi_def_cfa_offset 32
	.cfi_offset 3, -32
	mov	rbx, rsi
	call	capable@PLT
	cmp	DWORD PTR [rbx], 12
	jg	.L17
.L1:
	pop	rbx
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	pop	rbp
	.cfi_def_cfa_offset 16
	pop	r12
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L17:
	.cfi_restore_state
	lea	rdi, max_user_bgreq[rip]
	mov	ebp, eax
	call	sanitize_global_limit@PLT
	lea	rdi, max_user_congthresh[rip]
	call	sanitize_global_limit@PLT
	mov	rax, QWORD PTR 8[rbx]
	test	rax, rax
	je	.L4
	mov	QWORD PTR [r12], rax
	test	ebp, ebp
	jne	.L4
	mov	rdx, QWORD PTR max_user_bgreq[rip]
	cmp	rax, rdx
	jle	.L5
	mov	QWORD PTR [r12], rdx
.L5:
	mov	rax, QWORD PTR 16[rbx]
	test	rax, rax
	je	.L1
	mov	QWORD PTR 8[r12], rax
	jmp	.L7
	.p2align 4,,10
	.p2align 3
.L4:
	mov	rax, QWORD PTR 16[rbx]
	test	rax, rax
	je	.L1
	mov	QWORD PTR 8[r12], rax
	test	ebp, ebp
	jne	.L1
.L7:
	mov	rdx, QWORD PTR max_user_congthresh[rip]
	cmp	rdx, rax
	jge	.L1
	mov	QWORD PTR 8[r12], rdx
	jmp	.L1
	.cfi_endproc
.LFE0:
	.size	process_init_limits, .-process_init_limits
	.comm	max_user_congthresh,8,8
	.comm	max_user_bgreq,8,8
	.comm	CAP_SYS_ADMIN,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_inode.c_process_init_limits.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	process_init_limits, %function
process_init_limits:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, lr}
	mov	r4, r1
	ldr	r3, .L17
	mov	r6, r0
	ldr	r0, [r3]
	bl	capable
	ldr	r3, [r4]
	cmp	r3, #12
	pople	{r4, r5, r6, r7, r8, pc}
	ldr	r7, .L17+4
	mov	r5, r0
	mov	r0, r7
	bl	sanitize_global_limit
	ldr	r0, .L17+8
	bl	sanitize_global_limit
	ldr	r3, [r4, #4]
	cmp	r3, #0
	beq	.L4
	cmp	r5, #0
	str	r3, [r6]
	bne	.L4
	ldr	r2, [r7]
	cmp	r3, r2
	ldr	r3, [r4, #8]
	strgt	r2, [r6]
	cmp	r3, #0
	popeq	{r4, r5, r6, r7, r8, pc}
	str	r3, [r6, #4]
	b	.L7
.L4:
	ldr	r3, [r4, #8]
	cmp	r3, #0
	popeq	{r4, r5, r6, r7, r8, pc}
	cmp	r5, #0
	str	r3, [r6, #4]
	popne	{r4, r5, r6, r7, r8, pc}
.L7:
	ldr	r2, .L17+8
	ldr	r2, [r2]
	cmp	r2, r3
	strlt	r2, [r6, #4]
	pop	{r4, r5, r6, r7, r8, pc}
.L18:
	.align	2
.L17:
	.word	CAP_SYS_ADMIN
	.word	max_user_bgreq
	.word	max_user_congthresh
	.size	process_init_limits, .-process_init_limits
	.comm	max_user_congthresh,4,4
	.comm	max_user_bgreq,4,4
	.comm	CAP_SYS_ADMIN,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
