	.file	"extr_pt1.c_pt1_init_tables.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	pt1_init_tables, @function
pt1_init_tables:
.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
	push	r13
	.cfi_def_cfa_offset 32
	.cfi_offset 13, -32
	push	r12
	.cfi_def_cfa_offset 40
	.cfi_offset 12, -40
	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	r12d, DWORD PTR pt1_nr_tables[rip]
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 8[rsp], rax
	xor	eax, eax
	test	r12d, r12d
	jne	.L18
.L1:
	mov	rax, QWORD PTR 8[rsp]
	xor	rax, QWORD PTR fs:40
	jne	.L19
	add	rsp, 24
	.cfi_remember_state
	.cfi_def_cfa_offset 56
	mov	eax, r12d
	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
.L18:
	.cfi_restore_state
	mov	esi, 8
	mov	rbp, rdi
	mov	edi, r12d
	call	array_size@PLT
	mov	edi, eax
	call	vmalloc@PLT
	mov	r12d, DWORD PTR ENOMEM[rip]
	mov	r14, rax
	neg	r12d
	test	rax, rax
	je	.L1
	mov	rdi, rbp
	call	pt1_init_table_count@PLT
	mov	rdx, rsp
	mov	rsi, r14
	mov	rdi, rbp
	call	pt1_init_table@PLT
	test	eax, eax
	jne	.L10
	movsx	rax, DWORD PTR pt1_nr_tables[rip]
	cmp	eax, 1
	jle	.L5
	lea	rbx, 8[r14]
	mov	r13d, 1
	lea	r15, 4[rsp]
	jmp	.L7
	.p2align 4,,10
	.p2align 3
.L20:
	mov	edi, DWORD PTR 4[rsp]
	mov	r12, QWORD PTR -8[rbx]
	add	r13d, 1
	add	rbx, 8
	call	cpu_to_le32@PLT
	mov	QWORD PTR [r12], rax
	movsx	rax, DWORD PTR pt1_nr_tables[rip]
	cmp	eax, r13d
	jle	.L5
.L7:
	mov	rdx, r15
	mov	rsi, rbx
	mov	rdi, rbp
	call	pt1_init_table@PLT
	mov	r12d, eax
	test	eax, eax
	je	.L20
.L6:
	endbr64
	sub	r13d, 1
	movsx	rax, r13d
	mov	r13d, r13d
	sal	rax, 3
	sal	r13, 3
	lea	rbx, [r14+rax]
	lea	rax, -8[r14+rax]
	sub	rax, r13
	mov	r13, rax
	.p2align 4,,10
	.p2align 3
.L8:
	mov	rsi, rbx
	mov	rdi, rbp
	sub	rbx, 8
	call	pt1_cleanup_table@PLT
	cmp	rbx, r13
	jne	.L8
	mov	rdi, r14
	call	vfree@PLT
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L10:
	mov	rdi, r14
	mov	r12d, eax
	call	vfree@PLT
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L5:
	mov	edi, DWORD PTR [rsp]
	mov	rbx, QWORD PTR -8[r14+rax*8]
	xor	r12d, r12d
	call	cpu_to_le32@PLT
	mov	esi, DWORD PTR [rsp]
	mov	rdi, rbp
	mov	QWORD PTR [rbx], rax
	call	pt1_register_tables@PLT
	mov	QWORD PTR 0[rbp], r14
	jmp	.L1
.L19:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	pt1_init_tables, .-pt1_init_tables
	.comm	pt1_nr_tables,4,4
	.comm	ENOMEM,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_pt1.c_pt1_init_tables.c"
	.text
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC0:
	.word	__stack_chk_guard
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	pt1_init_tables, %function
pt1_init_tables:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, lr}
	ldr	r8, .L22
	ldr	r3, .L22+4
	ldr	r4, [r8]
	sub	sp, sp, #20
	cmp	r4, #0
	ldr	r3, [r3]
	str	r3, [sp, #12]
	mov	r3,#0
	bne	.L18
.L1:
	ldr	r3, .L22+4
	ldr	r2, [r3]
	ldr	r3, [sp, #12]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L19
	mov	r0, r4
	add	sp, sp, #20
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, pc}
.L18:
	mov	r1, #4
	mov	r6, r0
	mov	r0, r4
	bl	array_size
	bl	vmalloc
	subs	r7, r0, #0
	beq	.L20
	mov	r0, r6
	bl	pt1_init_table_count
	mov	r1, r7
	mov	r0, r6
	add	r2, sp, #4
	bl	pt1_init_table
	subs	r4, r0, #0
	bne	.L4
	ldr	r3, [r8]
	cmp	r3, #1
	ble	.L5
	mov	r5, #1
	sub	r9, r7, #4
	b	.L7
.L21:
	ldr	r0, [sp, #8]
	ldr	r4, [r9, #4]!
	bl	cpu_to_le32
	ldr	r3, [r8]
	add	r5, r5, #1
	cmp	r3, r5
	str	r0, [r4]
	ble	.L5
.L7:
	mov	r0, r6
	add	r2, sp, #8
	add	r1, r9, #8
	bl	pt1_init_table
	subs	r4, r0, #0
	beq	.L21
.L6:
	sub	r5, r5, #1
	add	r5, r7, r5, lsl #2
.L8:
	mov	r1, r5
	mov	r0, r6
	bl	pt1_cleanup_table
	cmp	r7, r5
	sub	r5, r5, #4
	bne	.L8
.L4:
	mov	r0, r7
	bl	vfree
	b	.L1
.L20:
	ldr	r3, .L22+8
	ldr	r0, [r3]
	rsb	r4, r0, #0
	b	.L1
.L5:
	sub	r3, r3, #-1073741823
	ldr	r0, [sp, #4]
	ldr	r4, [r7, r3, lsl #2]
	bl	cpu_to_le32
	ldr	r1, [sp, #4]
	str	r0, [r4]
	mov	r0, r6
	bl	pt1_register_tables
	mov	r4, #0
	str	r7, [r6]
	b	.L1
.L19:
	bl	__stack_chk_fail
.L23:
	.align	2
.L22:
	.word	pt1_nr_tables
	.word	.LC0
	.word	ENOMEM
	.size	pt1_init_tables, .-pt1_init_tables
	.comm	pt1_nr_tables,4,4
	.comm	ENOMEM,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
