	.file	"extr_imgact_elf.c_core_output.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.8,"aMS",@progbits,1
	.align 8
.LC0:
	.string	"Failed to fully fault in a core file segment at VA %p with size 0x%zx to be written at offset 0x%jx for process %s\n"
	.text
	.p2align 4
	.type	core_output, @function
core_output:
.LFB0:
	.cfi_startproc
	endbr64
	push	r13
	.cfi_def_cfa_offset 16
	.cfi_offset 13, -16
	mov	r13, rdi
	push	r12
	.cfi_def_cfa_offset 24
	.cfi_offset 12, -24
	mov	r12, rsi
	push	rbp
	.cfi_def_cfa_offset 32
	.cfi_offset 6, -32
	mov	rbp, rcx
	push	rbx
	.cfi_def_cfa_offset 40
	.cfi_offset 3, -40
	sub	rsp, 8
	.cfi_def_cfa_offset 48
	cmp	QWORD PTR [rcx], 0
	je	.L2
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	mov	rcx, rsi
	mov	rdx, r8
	mov	rsi, rdi
	pop	rbx
	.cfi_def_cfa_offset 32
	mov	rdi, rbp
	pop	rbp
	.cfi_def_cfa_offset 24
	pop	r12
	.cfi_def_cfa_offset 16
	pop	r13
	.cfi_def_cfa_offset 8
	jmp	compress_chunk@PLT
	.p2align 4,,10
	.p2align 3
.L2:
	.cfi_restore_state
	mov	r8d, DWORD PTR UIO_USERSPACE[rip]
	mov	rcx, rdx
	mov	rbx, rdx
	mov	edx, esi
	mov	rsi, rdi
	mov	rdi, rbp
	call	core_write@PLT
	cmp	DWORD PTR EFAULT[rip], eax
	je	.L6
	add	rsp, 8
	.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
.L6:
	.cfi_restore_state
	mov	rax, QWORD PTR curproc[rip]
	mov	r8, rbx
	mov	rcx, r12
	mov	rdx, r13
	mov	edi, DWORD PTR LOG_WARNING[rip]
	lea	rsi, .LC0[rip]
	mov	r9d, DWORD PTR [rax]
	call	log@PLT
	mov	r8d, DWORD PTR UIO_SYSSPACE[rip]
	lea	rcx, -1[r12+rbx]
	mov	rdi, rbp
	mov	rsi, QWORD PTR zero_region[rip]
	add	rsp, 8
	.cfi_def_cfa_offset 40
	mov	edx, 1
	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
	jmp	core_write@PLT
	.cfi_endproc
.LFE0:
	.size	core_output, .-core_output
	.comm	zero_region,8,8
	.comm	curproc,8,8
	.comm	UIO_USERSPACE,4,4
	.comm	UIO_SYSSPACE,4,4
	.comm	LOG_WARNING,4,4
	.comm	EFAULT,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_imgact_elf.c_core_output.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"Failed to fully fault in a core file segment at VA "
	.ascii	"%p with size 0x%zx to be written at offset 0x%jx fo"
	.ascii	"r process %s\012\000"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	core_output, %function
core_output:
	@ args = 4, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, lr}
	mov	r4, r3
	ldr	r3, [r3]
	sub	sp, sp, #12
	cmp	r3, #0
	mov	r6, r2
	mov	r7, r0
	mov	r5, r1
	ldr	r2, [sp, #32]
	beq	.L2
	mov	r3, r1
	mov	r1, r0
	mov	r0, r4
	add	sp, sp, #12
	@ sp needed
	pop	{r4, r5, r6, r7, lr}
	b	compress_chunk
.L2:
	ldr	r2, .L7
	mov	r3, r6
	ldr	r1, [r2]
	mov	r2, r5
	str	r1, [sp]
	mov	r1, r0
	mov	r0, r4
	bl	core_write
	ldr	r3, .L7+4
	ldr	r3, [r3]
	cmp	r3, r0
	beq	.L6
	add	sp, sp, #12
	@ sp needed
	pop	{r4, r5, r6, r7, pc}
.L6:
	ldr	r3, .L7+8
	ldr	r1, .L7+12
	ldr	r3, [r3]
	ldr	r0, [r1]
	ldr	r3, [r3]
	mov	r2, r7
	str	r3, [sp, #4]
	ldr	r1, .L7+16
	mov	r3, r5
	str	r6, [sp]
	bl	log
	mov	r0, r4
	mov	r2, #1
	ldr	r3, .L7+20
	ldr	r1, .L7+24
	ldr	ip, [r3]
	sub	r3, r6, #1
	str	ip, [sp, #32]
	ldr	r1, [r1]
	add	r3, r3, r5
	add	sp, sp, #12
	@ sp needed
	pop	{r4, r5, r6, r7, lr}
	b	core_write
.L8:
	.align	2
.L7:
	.word	UIO_USERSPACE
	.word	EFAULT
	.word	curproc
	.word	LOG_WARNING
	.word	.LC0
	.word	UIO_SYSSPACE
	.word	zero_region
	.size	core_output, .-core_output
	.comm	zero_region,4,4
	.comm	curproc,4,4
	.comm	UIO_USERSPACE,4,4
	.comm	UIO_SYSSPACE,4,4
	.comm	LOG_WARNING,4,4
	.comm	EFAULT,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
