	.file	"extr_vpe.c_layout_sections.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	layout_sections, @function
layout_sections:
.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	r14, rsi
	push	r13
	.cfi_def_cfa_offset 32
	.cfi_offset 13, -32
	push	r12
	.cfi_def_cfa_offset 40
	.cfi_offset 12, -40
	mov	r12, rdx
	push	rbp
	.cfi_def_cfa_offset 48
	.cfi_offset 6, -48
	push	rbx
	.cfi_def_cfa_offset 56
	.cfi_offset 3, -56
	sub	rsp, 24
	.cfi_def_cfa_offset 80
	mov	ecx, DWORD PTR [rsi]
	mov	QWORD PTR 8[rsp], rdi
	test	ecx, ecx
	je	.L5
	sub	ecx, 1
	mov	rax, rdx
	sal	rcx, 4
	lea	rcx, 16[rdx+rcx]
	.p2align 4,,10
	.p2align 3
.L4:
	mov	QWORD PTR [rax], -1
	add	rax, 16
	cmp	rax, rcx
	jne	.L4
.L5:
	xor	r8d, r8d
	lea	rcx, masks.1941[rip]
	.p2align 4,,10
	.p2align 3
.L3:
	mov	rdi, rcx
	mov	DWORD PTR 4[rsp], r8d
	call	ARRAY_SIZE@PLT
	mov	r8d, DWORD PTR 4[rsp]
	cmp	eax, r8d
	jbe	.L1
	mov	eax, DWORD PTR [r14]
	lea	rcx, masks.1941[rip]
	test	eax, eax
	je	.L11
	mov	r15d, r8d
	xor	ebp, ebp
	sal	r15, 4
	mov	r13, QWORD PTR [rcx+r15]
	.p2align 4,,10
	.p2align 3
.L7:
	mov	ebx, ebp
	sal	rbx, 4
	add	rbx, r12
	mov	rax, QWORD PTR 8[rbx]
	mov	rsi, rax
	and	rsi, r13
	cmp	rsi, r13
	jne	.L6
	test	QWORD PTR 8[rcx+r15], rax
	jne	.L6
	cmp	QWORD PTR [rbx], -1
	jne	.L6
	mov	rdi, QWORD PTR 8[rsp]
	mov	rsi, rbx
	mov	DWORD PTR 4[rsp], r8d
	call	get_offset@PLT
	mov	r8d, DWORD PTR 4[rsp]
	lea	rcx, masks.1941[rip]
	mov	QWORD PTR [rbx], rax
	.p2align 4,,10
	.p2align 3
.L6:
	add	ebp, 1
	cmp	DWORD PTR [r14], ebp
	ja	.L7
.L11:
	test	r8d, r8d
	jne	.L8
	mov	rdx, QWORD PTR 8[rsp]
	mov	rax, QWORD PTR [rdx]
	mov	QWORD PTR 8[rdx], rax
.L8:
	add	r8d, 1
	jmp	.L3
	.p2align 4,,10
	.p2align 3
.L1:
	add	rsp, 24
	.cfi_def_cfa_offset 56
	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
	.cfi_endproc
.LFE0:
	.size	layout_sections, .-layout_sections
	.section	.rodata
	.align 32
	.type	masks.1941, @object
	.size	masks.1941, 64
masks.1941:
	.quad	131
	.quad	131
	.quad	130
	.quad	131
	.quad	130
	.quad	131
	.quad	131
	.quad	0
	.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_vpe.c_layout_sections.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	layout_sections, %function
layout_sections:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, r10, fp, lr}
	sub	sp, sp, #12
	mov	r3, r1
	str	r1, [sp, #4]
	ldr	r1, [r1]
	mov	r7, r2
	cmp	r1, #0
	mov	r9, r0
	movne	r3, #0
	mvnne	r2, #0
	beq	.L4
.L2:
	str	r2, [r7, r3, lsl #3]
	add	r3, r3, #1
	cmp	r3, r1
	bne	.L2
.L4:
	ldr	fp, .L17
	mov	r8, #0
	mov	r10, fp
	mov	r0, r10
	bl	ARRAY_SIZE
	cmp	r0, r8
	bls	.L1
.L16:
	ldr	r3, [sp, #4]
	ldr	r1, [r3]
	cmp	r1, #0
	beq	.L10
	mov	r4, r7
	mov	r5, #0
	ldr	r6, [fp]
.L6:
	ldr	r3, [r4, #4]
	add	r5, r5, #1
	bics	r2, r6, r3
	bne	.L5
	ldr	r0, [fp, #4]
	tst	r3, r0
	bne	.L5
	ldr	r3, [r4]
	cmn	r3, #1
	bne	.L5
	mov	r1, r4
	mov	r0, r9
	bl	get_offset
	ldr	r3, [sp, #4]
	ldr	r1, [r3]
	str	r0, [r4]
.L5:
	cmp	r1, r5
	add	r4, r4, #8
	bhi	.L6
.L10:
	cmp	r8, #0
	ldreq	r3, [r9]
	mov	r0, r10
	streq	r3, [r9, #4]
	bl	ARRAY_SIZE
	add	r8, r8, #1
	cmp	r0, r8
	add	fp, fp, #8
	bhi	.L16
.L1:
	add	sp, sp, #12
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, r10, fp, pc}
.L18:
	.align	2
.L17:
	.word	.LANCHOR0
	.size	layout_sections, .-layout_sections
	.section	.rodata
	.align	2
	.set	.LANCHOR0,. + 0
	.type	masks.4225, %object
	.size	masks.4225, 32
masks.4225:
	.word	131
	.word	131
	.word	130
	.word	131
	.word	130
	.word	131
	.word	131
	.word	0
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
