	.file	"extr_libprocstat.c_procstat_getosrel_sysctl.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"sysctl: kern.proc.osrel: %d"
	.text
	.p2align 4
	.type	procstat_getosrel_sysctl, @function
procstat_getosrel_sysctl:
.LFB0:
	.cfi_startproc
	endbr64
	push	r13
	.cfi_def_cfa_offset 16
	.cfi_offset 13, -16
	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	ebp, edi
	sub	rsp, 48
	.cfi_def_cfa_offset 80
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 40[rsp], rax
	xor	eax, eax
	mov	eax, DWORD PTR CTL_KERN[rip]
	lea	r13, 16[rsp]
	mov	DWORD PTR 28[rsp], edi
	mov	QWORD PTR 8[rsp], 4
	mov	rdi, r13
	mov	DWORD PTR 16[rsp], eax
	mov	eax, DWORD PTR KERN_PROC[rip]
	mov	DWORD PTR 20[rsp], eax
	mov	eax, DWORD PTR KERN_PROC_OSREL[rip]
	mov	DWORD PTR 24[rsp], eax
	call	nitems@PLT
	mov	rdx, r12
	lea	rcx, 8[rsp]
	xor	r9d, r9d
	mov	esi, eax
	xor	r8d, r8d
	mov	rdi, r13
	call	sysctl@PLT
	mov	r12d, eax
	test	eax, eax
	je	.L1
	mov	rax, QWORD PTR ESRCH[rip]
	cmp	QWORD PTR errno[rip], rax
	jne	.L9
.L1:
	mov	rax, QWORD PTR 40[rsp]
	xor	rax, QWORD PTR fs:40
	jne	.L10
	add	rsp, 48
	.cfi_remember_state
	.cfi_def_cfa_offset 32
	mov	eax, r12d
	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
.L9:
	.cfi_restore_state
	mov	esi, ebp
	lea	rdi, .LC0[rip]
	call	warn@PLT
	jmp	.L1
.L10:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	procstat_getosrel_sysctl, .-procstat_getosrel_sysctl
	.comm	errno,8,8
	.comm	KERN_PROC_OSREL,4,4
	.comm	KERN_PROC,4,4
	.comm	ESRCH,8,8
	.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_libprocstat.c_procstat_getosrel_sysctl.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"sysctl: kern.proc.osrel: %d\000"
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC1:
	.word	__stack_chk_guard
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	procstat_getosrel_sysctl, %function
procstat_getosrel_sysctl:
	@ args = 0, pretend = 0, frame = 24
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, lr}
	mov	r5, r0
	mov	r3, #4
	ldr	r0, .L11
	ldr	ip, .L11+4
	ldr	r2, .L11+8
	sub	sp, sp, #36
	mov	r4, r1
	ldr	r0, [r0]
	ldr	r1, .L11+12
	ldr	ip, [ip]
	ldr	r2, [r2]
	str	r5, [sp, #24]
	ldr	r1, [r1]
	str	r1, [sp, #28]
	mov	r1,#0
	str	r0, [sp, #16]
	add	r0, sp, #12
	str	ip, [sp, #12]
	str	r2, [sp, #20]
	str	r3, [sp, #8]
	bl	nitems
	mov	r3, #0
	mov	r1, r0
	mov	r2, r4
	str	r3, [sp, #4]
	str	r3, [sp]
	add	r0, sp, #12
	add	r3, sp, #8
	bl	sysctl
	subs	r4, r0, #0
	beq	.L1
	ldr	r2, .L11+16
	ldr	r3, .L11+20
	ldr	r2, [r2]
	ldr	r3, [r3]
	cmp	r2, r3
	bne	.L9
.L1:
	ldr	r3, .L11+12
	ldr	r2, [r3]
	ldr	r3, [sp, #28]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L10
	mov	r0, r4
	add	sp, sp, #36
	@ sp needed
	pop	{r4, r5, pc}
.L9:
	mov	r1, r5
	ldr	r0, .L11+24
	bl	warn
	b	.L1
.L10:
	bl	__stack_chk_fail
.L12:
	.align	2
.L11:
	.word	KERN_PROC
	.word	CTL_KERN
	.word	KERN_PROC_OSREL
	.word	.LC1
	.word	errno
	.word	ESRCH
	.word	.LC0
	.size	procstat_getosrel_sysctl, .-procstat_getosrel_sysctl
	.comm	errno,4,4
	.comm	KERN_PROC_OSREL,4,4
	.comm	KERN_PROC,4,4
	.comm	ESRCH,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
