	.file	"extr_elfcore.c_elf_core_write_extra_phdrs.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.globl	elf_core_write_extra_phdrs
	.type	elf_core_write_extra_phdrs, @function
elf_core_write_extra_phdrs:
.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, 88
	.cfi_def_cfa_offset 144
	mov	rbp, QWORD PTR vsyscall_ehdr[rip]
	mov	QWORD PTR 24[rsp], rsi
	mov	QWORD PTR 8[rsp], rcx
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 72[rsp], rax
	xor	eax, eax
	test	rbp, rbp
	je	.L2
	mov	rcx, QWORD PTR 8[rbp]
	mov	eax, DWORD PTR 0[rbp]
	add	rcx, rbp
	test	eax, eax
	jle	.L2
	mov	r13, rdi
	mov	rbx, rdx
	mov	r14, rcx
	xor	r12d, r12d
	mov	QWORD PTR 16[rsp], 0
	lea	r15, 32[rsp]
	jmp	.L8
	.p2align 4,,10
	.p2align 3
.L3:
	mov	rax, QWORD PTR 16[rsp]
	add	QWORD PTR 48[rsp], rax
.L4:
	mov	QWORD PTR 40[rsp], 0
	mov	rax, QWORD PTR [rbx]
	add	rax, 32
	mov	QWORD PTR [rbx], rax
	cmp	rax, QWORD PTR 8[rsp]
	ja	.L7
	mov	edx, 32
	mov	rsi, r15
	mov	rdi, r13
	call	dump_write@PLT
	test	eax, eax
	je	.L7
	add	r12d, 1
	add	r14, 32
	cmp	DWORD PTR 0[rbp], r12d
	jle	.L2
.L8:
	movdqu	xmm0, XMMWORD PTR [r14]
	mov	rax, QWORD PTR PT_LOAD[rip]
	movaps	XMMWORD PTR 32[rsp], xmm0
	movdqu	xmm1, XMMWORD PTR 16[r14]
	movaps	XMMWORD PTR 48[rsp], xmm1
	cmp	QWORD PTR 32[rsp], rax
	jne	.L3
	mov	rax, QWORD PTR 24[rsp]
	mov	rdx, QWORD PTR 56[rsp]
	mov	QWORD PTR 48[rsp], rax
	mov	QWORD PTR 16[rsp], rax
	add	rax, rdx
	mov	QWORD PTR 24[rsp], rax
	jmp	.L4
	.p2align 4,,10
	.p2align 3
.L2:
	mov	eax, 1
.L1:
	mov	rsi, QWORD PTR 72[rsp]
	xor	rsi, QWORD PTR fs:40
	jne	.L19
	add	rsp, 88
	.cfi_remember_state
	.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
	.p2align 4,,10
	.p2align 3
.L7:
	.cfi_restore_state
	xor	eax, eax
	jmp	.L1
.L19:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	elf_core_write_extra_phdrs, .-elf_core_write_extra_phdrs
	.comm	vsyscall_ehdr,8,8
	.comm	PT_LOAD,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_elfcore.c_elf_core_write_extra_phdrs.c"
	.text
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC0:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	elf_core_write_extra_phdrs
	.syntax unified
	.arm
	.fpu softvfp
	.type	elf_core_write_extra_phdrs, %function
elf_core_write_extra_phdrs:
	@ args = 0, pretend = 0, frame = 32
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, r10, fp, lr}
	ldr	ip, .L20
	sub	sp, sp, #36
	ldr	r9, [ip]
	str	r3, [sp]
	ldr	r3, .L20+4
	cmp	r9, #0
	ldr	r3, [r3]
	str	r3, [sp, #28]
	mov	r3,#0
	beq	.L2
	ldm	r9, {r3, r4}
	cmp	r3, #0
	add	r4, r9, r4
	ble	.L2
	mov	r6, #0
	mov	r10, r0
	mov	r8, r1
	mov	r7, r2
	ldr	fp, .L20+8
	str	r6, [sp, #4]
	add	r5, sp, #12
	b	.L8
.L5:
	mov	r2, #16
	mov	r1, r5
	mov	r0, r10
	bl	dump_write
	cmp	r0, #0
	beq	.L7
	ldr	r3, [r9]
	add	r6, r6, #1
	cmp	r3, r6
	add	r4, r4, #16
	ble	.L2
.L8:
	ldm	r4, {r0, r1, r2, r3}
	stm	r5, {r0, r1, r2, r3}
	ldr	r3, [fp]
	ldr	r2, [sp, #12]
	cmp	r2, r3
	ldrne	r3, [sp, #20]
	ldrne	r2, [sp, #4]
	ldreq	r3, [sp, #24]
	addne	r3, r3, r2
	mov	r2, #0
	streq	r8, [sp, #20]
	streq	r8, [sp, #4]
	strne	r3, [sp, #20]
	addeq	r8, r8, r3
	ldr	r3, [r7]
	str	r2, [sp, #16]
	ldr	r2, [sp]
	add	r3, r3, #16
	cmp	r3, r2
	str	r3, [r7]
	bls	.L5
.L7:
	mov	r0, #0
	b	.L1
.L2:
	mov	r0, #1
.L1:
	ldr	r3, .L20+4
	ldr	r2, [r3]
	ldr	r3, [sp, #28]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L19
	add	sp, sp, #36
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, r10, fp, pc}
.L19:
	bl	__stack_chk_fail
.L21:
	.align	2
.L20:
	.word	vsyscall_ehdr
	.word	.LC0
	.word	PT_LOAD
	.size	elf_core_write_extra_phdrs, .-elf_core_write_extra_phdrs
	.comm	vsyscall_ehdr,4,4
	.comm	PT_LOAD,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
