	.file	"extr_mpr_config.c_mpr_base_static_config_pages.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.globl	mpr_base_static_config_pages
	.type	mpr_base_static_config_pages, @function
mpr_base_static_config_pages:
.LFB0:
	.cfi_startproc
	endbr64
	push	r13
	.cfi_def_cfa_offset 16
	.cfi_offset 13, -16
	lea	r13, 12[rdi]
	push	r12
	.cfi_def_cfa_offset 24
	.cfi_offset 12, -24
	mov	r12d, 6
	push	rbp
	.cfi_def_cfa_offset 32
	.cfi_offset 6, -32
	push	rbx
	.cfi_def_cfa_offset 40
	.cfi_offset 3, -40
	mov	rbx, rdi
	sub	rsp, 40
	.cfi_def_cfa_offset 80
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 24[rsp], rax
	xor	eax, eax
	lea	rbp, 12[rsp]
.L2:
	mov	rdx, r13
	mov	rsi, rbp
	mov	rdi, rbx
	call	mpr_config_get_ioc_pg8@PLT
	test	rax, rax
	je	.L3
	sub	r12d, 1
	jne	.L2
.L3:
	lea	r13, 8[rbx]
	mov	r12d, 6
.L6:
	mov	rdx, r13
	mov	rsi, rbp
	mov	rdi, rbx
	call	mpr_config_get_iounit_pg8@PLT
	test	rax, rax
	je	.L17
	sub	r12d, 1
	jne	.L6
.L17:
	mov	r12d, 6
	lea	r13, 16[rsp]
.L8:
	mov	rdx, r13
	mov	rsi, rbp
	mov	rdi, rbx
	call	mpr_config_get_man_pg11@PLT
	test	eax, eax
	je	.L26
	sub	r12d, 1
	jne	.L8
.L1:
	mov	rax, QWORD PTR 24[rsp]
	xor	rax, QWORD PTR fs:40
	jne	.L27
	add	rsp, 40
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	pop	rbx
	.cfi_def_cfa_offset 32
	pop	rbp
	.cfi_def_cfa_offset 24
	pop	r12
	.cfi_def_cfa_offset 16
	pop	r13
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L26:
	.cfi_restore_state
	mov	edi, DWORD PTR 20[rsp]
	call	le16toh@PLT
	and	eax, DWORD PTR MPI2_MAN_PG11_ADDLFLAGS2_CUSTOM_TM_HANDLING_MASK[rip]
	mov	DWORD PTR [rbx], eax
	mov	eax, DWORD PTR 16[rsp]
	cmp	eax, 5
	jle	.L14
	cmp	eax, 60
	jle	.L28
	mov	DWORD PTR 4[rbx], 60
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L14:
	mov	DWORD PTR 4[rbx], 6
	jmp	.L1
.L27:
	call	__stack_chk_fail@PLT
.L28:
	mov	DWORD PTR 4[rbx], eax
	jmp	.L1
	.cfi_endproc
.LFE0:
	.size	mpr_base_static_config_pages, .-mpr_base_static_config_pages
	.comm	MPI2_MAN_PG11_ADDLFLAGS2_CUSTOM_TM_HANDLING_MASK,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_mpr_config.c_mpr_base_static_config_pages.c"
	.text
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC0:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	mpr_base_static_config_pages
	.syntax unified
	.arm
	.fpu softvfp
	.type	mpr_base_static_config_pages, %function
mpr_base_static_config_pages:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, lr}
	ldr	r3, .L28
	sub	sp, sp, #16
	mov	r4, r0
	ldr	r3, [r3]
	str	r3, [sp, #12]
	mov	r3,#0
	mov	r5, #6
	add	r6, r0, #12
.L2:
	mov	r2, r6
	mov	r1, sp
	mov	r0, r4
	bl	mpr_config_get_ioc_pg8
	cmp	r0, #0
	beq	.L3
	subs	r5, r5, #1
	bne	.L2
.L3:
	mov	r5, #6
	add	r6, r4, #8
.L6:
	mov	r2, r6
	mov	r1, sp
	mov	r0, r4
	bl	mpr_config_get_iounit_pg8
	cmp	r0, #0
	beq	.L17
	subs	r5, r5, #1
	bne	.L6
.L17:
	mov	r5, #6
.L8:
	mov	r1, sp
	mov	r0, r4
	add	r2, sp, #4
	bl	mpr_config_get_man_pg11
	cmp	r0, #0
	beq	.L26
	subs	r5, r5, #1
	bne	.L8
.L1:
	ldr	r3, .L28
	ldr	r2, [r3]
	ldr	r3, [sp, #12]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L27
	add	sp, sp, #16
	@ sp needed
	pop	{r4, r5, r6, pc}
.L26:
	ldr	r0, [sp, #8]
	bl	le16toh
	ldr	r3, .L28+4
	ldr	r2, [sp, #4]
	ldr	r3, [r3]
	cmp	r2, #5
	and	r3, r3, r0
	str	r3, [r4]
	movle	r3, #6
	strle	r3, [r4, #4]
	ble	.L1
	cmp	r2, #60
	movgt	r3, #60
	strle	r2, [r4, #4]
	strgt	r3, [r4, #4]
	b	.L1
.L27:
	bl	__stack_chk_fail
.L29:
	.align	2
.L28:
	.word	.LC0
	.word	MPI2_MAN_PG11_ADDLFLAGS2_CUSTOM_TM_HANDLING_MASK
	.size	mpr_base_static_config_pages, .-mpr_base_static_config_pages
	.comm	MPI2_MAN_PG11_ADDLFLAGS2_CUSTOM_TM_HANDLING_MASK,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
