	.file	"extr_kperfbsd.c_kperf_sysctl_get_set_int.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	kperf_sysctl_get_set_int, @function
kperf_sysctl_get_set_int:
.LFB0:
	.cfi_startproc
	endbr64
	push	r12
	.cfi_def_cfa_offset 16
	.cfi_offset 12, -16
	mov	r12, rdx
	push	rbp
	.cfi_def_cfa_offset 24
	.cfi_offset 6, -24
	mov	rbp, rsi
	push	rbx
	.cfi_def_cfa_offset 32
	.cfi_offset 3, -32
	mov	rbx, rdi
	sub	rsp, 16
	.cfi_def_cfa_offset 48
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 8[rsp], rax
	xor	eax, eax
	test	rdi, rdi
	setne	dil
	movzx	edi, dil
	call	assert@PLT
	xor	edi, edi
	test	rbp, rbp
	setne	dil
	call	assert@PLT
	xor	edi, edi
	test	r12, r12
	setne	dil
	call	assert@PLT
	xor	esi, esi
	cmp	QWORD PTR 8[rbx], 0
	mov	DWORD PTR 4[rsp], 0
	je	.L2
	call	rbp
	mov	DWORD PTR 4[rsp], eax
	mov	esi, eax
.L2:
	xor	r8d, r8d
	lea	rcx, 4[rsp]
	mov	edx, 4
	mov	rdi, rbx
	call	sysctl_io_number@PLT
	test	eax, eax
	jne	.L1
	mov	eax, DWORD PTR [rbx]
	test	eax, eax
	je	.L1
	mov	edi, DWORD PTR 4[rsp]
	call	r12
.L1:
	mov	rcx, QWORD PTR 8[rsp]
	xor	rcx, QWORD PTR fs:40
	jne	.L12
	add	rsp, 16
	.cfi_remember_state
	.cfi_def_cfa_offset 32
	pop	rbx
	.cfi_def_cfa_offset 24
	pop	rbp
	.cfi_def_cfa_offset 16
	pop	r12
	.cfi_def_cfa_offset 8
	ret
.L12:
	.cfi_restore_state
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	kperf_sysctl_get_set_int, .-kperf_sysctl_get_set_int
	.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_kperfbsd.c_kperf_sysctl_get_set_int.c"
	.text
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC0:
	.word	__stack_chk_guard
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	kperf_sysctl_get_set_int, %function
kperf_sysctl_get_set_int:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, lr}
	mov	r5, r1
	mov	r6, r2
	ldr	r3, .L14
	mov	r4, r0
	subs	r0, r0, #0
	sub	sp, sp, #16
	movne	r0, #1
	ldr	r3, [r3]
	str	r3, [sp, #12]
	mov	r3,#0
	bl	assert
	subs	r0, r5, #0
	movne	r0, #1
	bl	assert
	subs	r0, r6, #0
	movne	r0, #1
	bl	assert
	mov	r3, #0
	ldr	r1, [r4, #4]
	str	r3, [sp, #8]
	cmp	r1, r3
	beq	.L2
	blx	r5
	mov	r1, r0
	str	r0, [sp, #8]
.L2:
	mov	r3, #0
	mov	r2, #4
	str	r3, [sp]
	mov	r0, r4
	add	r3, sp, #8
	bl	sysctl_io_number
	cmp	r0, #0
	bne	.L1
	ldr	r0, [r4]
	cmp	r0, #0
	beq	.L1
	ldr	r0, [sp, #8]
	blx	r6
.L1:
	ldr	r3, .L14
	ldr	r2, [r3]
	ldr	r3, [sp, #12]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L13
	add	sp, sp, #16
	@ sp needed
	pop	{r4, r5, r6, pc}
.L13:
	bl	__stack_chk_fail
.L15:
	.align	2
.L14:
	.word	.LC0
	.size	kperf_sysctl_get_set_int, .-kperf_sysctl_get_set_int
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
