	.file	"extr_elfcore.c_procstat_sysctl.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"kern.proc.%d.%u"
.LC1:
	.string	"out of memory"
	.text
	.p2align 4
	.type	procstat_sysctl, @function
procstat_sysctl:
.LFB0:
	.cfi_startproc
	endbr64
	push	r15
	.cfi_def_cfa_offset 16
	.cfi_offset 15, -16
	xor	r9d, r9d
	xor	r8d, r8d
	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
	mov	r12d, esi
	push	rbp
	.cfi_def_cfa_offset 48
	.cfi_offset 6, -48
	push	rbx
	.cfi_def_cfa_offset 56
	.cfi_offset 3, -56
	mov	rbx, rcx
	sub	rsp, 56
	.cfi_def_cfa_offset 112
	mov	r14d, DWORD PTR [rdi]
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 40[rsp], rax
	xor	eax, eax
	lea	r13, 8[rsp]
	lea	rbp, 16[rsp]
	mov	DWORD PTR 4[rsp], edx
	mov	eax, DWORD PTR CTL_KERN[rip]
	mov	DWORD PTR 24[rsp], esi
	xor	edx, edx
	mov	rcx, r13
	mov	esi, 4
	mov	rdi, rbp
	mov	DWORD PTR 28[rsp], r14d
	mov	DWORD PTR 16[rsp], eax
	mov	eax, DWORD PTR KERN_PROC[rip]
	mov	QWORD PTR 8[rsp], 0
	mov	DWORD PTR 20[rsp], eax
	call	sysctl@PLT
	cmp	eax, -1
	je	.L8
.L2:
	mov	rax, QWORD PTR 8[rsp]
	mov	edi, 1
	movabs	rsi, -6148914691236517205
	lea	rdx, 0[0+rax*4]
	mov	rax, rdx
	mul	rsi
	shr	rdx
	lea	esi, 4[rdx]
	call	calloc@PLT
	mov	r15, rax
	test	rax, rax
	je	.L9
.L3:
	lea	rdi, 4[rsp]
	mov	edx, 4
	mov	rsi, r15
	call	bcopy@PLT
	xor	r9d, r9d
	xor	r8d, r8d
	lea	rdx, 4[r15]
	mov	rcx, r13
	mov	esi, 4
	mov	rdi, rbp
	call	sysctl@PLT
	cmp	eax, -1
	je	.L10
.L4:
	mov	rax, QWORD PTR 8[rsp]
	add	rax, 4
	mov	QWORD PTR [rbx], rax
	mov	rax, QWORD PTR 40[rsp]
	xor	rax, QWORD PTR fs:40
	jne	.L11
	add	rsp, 56
	.cfi_remember_state
	.cfi_def_cfa_offset 56
	mov	rax, r15
	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
.L8:
	.cfi_restore_state
	mov	ecx, r14d
	mov	edx, r12d
	mov	edi, 1
	lea	rsi, .LC0[rip]
	call	err@PLT
	jmp	.L2
	.p2align 4,,10
	.p2align 3
.L10:
	mov	ecx, r14d
	mov	edx, r12d
	mov	edi, 1
	lea	rsi, .LC0[rip]
	call	err@PLT
	jmp	.L4
	.p2align 4,,10
	.p2align 3
.L9:
	lea	rsi, .LC1[rip]
	mov	edi, 1
	call	errx@PLT
	jmp	.L3
.L11:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	procstat_sysctl, .-procstat_sysctl
	.comm	KERN_PROC,4,4
	.comm	CTL_KERN,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_elfcore.c_procstat_sysctl.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"kern.proc.%d.%u\000"
	.align	2
.LC1:
	.ascii	"out of memory\000"
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC2:
	.word	__stack_chk_guard
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	procstat_sysctl, %function
procstat_sysctl:
	@ args = 0, pretend = 0, frame = 32
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, lr}
	mov	lr, r2
	mov	ip, #0
	mov	r5, r1
	ldr	r2, .L12
	mov	r6, r3
	ldr	r3, .L12+4
	sub	sp, sp, #44
	ldr	r7, [r0]
	ldr	r1, [r3]
	ldr	r0, [r2]
	str	lr, [sp, #16]
	ldr	lr, .L12+8
	str	ip, [sp, #4]
	str	ip, [sp]
	str	r5, [sp, #28]
	str	r7, [sp, #32]
	ldr	lr, [lr]
	str	lr, [sp, #36]
	mov	lr,#0
	mov	r2, ip
	str	r0, [sp, #20]
	str	r1, [sp, #24]
	add	r3, sp, #12
	mov	r1, #4
	add	r0, sp, #20
	str	ip, [sp, #12]
	bl	sysctl
	cmn	r0, #1
	beq	.L8
.L2:
	ldr	r2, [sp, #12]
	ldr	r1, .L12+12
	lsl	r2, r2, #2
	umull	r3, r2, r1, r2
	lsr	r2, r2, #1
	mov	r0, #1
	add	r1, r2, #4
	bl	calloc
	subs	r4, r0, #0
	beq	.L9
.L3:
	mov	r2, #4
	mov	r1, r4
	add	r0, sp, #16
	bl	bcopy
	mov	r2, #0
	mov	r1, #4
	str	r2, [sp, #4]
	str	r2, [sp]
	add	r3, sp, #12
	add	r0, sp, #20
	add	r2, r4, #4
	bl	sysctl
	cmn	r0, #1
	beq	.L10
.L4:
	ldr	r3, [sp, #12]
	add	r3, r3, #4
	str	r3, [r6]
	ldr	r3, .L12+8
	ldr	r2, [r3]
	ldr	r3, [sp, #36]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L11
	mov	r0, r4
	add	sp, sp, #44
	@ sp needed
	pop	{r4, r5, r6, r7, pc}
.L8:
	mov	r3, r7
	mov	r2, r5
	ldr	r1, .L12+16
	mov	r0, #1
	bl	err
	b	.L2
.L10:
	mov	r3, r7
	mov	r2, r5
	ldr	r1, .L12+16
	mov	r0, #1
	bl	err
	b	.L4
.L11:
	bl	__stack_chk_fail
.L9:
	ldr	r1, .L12+20
	mov	r0, #1
	bl	errx
	b	.L3
.L13:
	.align	2
.L12:
	.word	CTL_KERN
	.word	KERN_PROC
	.word	.LC2
	.word	-1431655765
	.word	.LC0
	.word	.LC1
	.size	procstat_sysctl, .-procstat_sysctl
	.comm	KERN_PROC,4,4
	.comm	CTL_KERN,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
