	.file	"16485.c"
	.intel_syntax noprefix
	.text
	.globl	kfree
	.type	kfree, @function
kfree:
.LFB0:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 16
	mov	QWORD PTR -8[rbp], rdi
	mov	rax, QWORD PTR -8[rbp]
	mov	rdi, rax
	call	free@PLT
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE0:
	.size	kfree, .-kfree
	.globl	function_with_memory_allocation
	.type	function_with_memory_allocation, @function
function_with_memory_allocation:
.LFB1:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 32
	mov	DWORD PTR -20[rbp], edi
	mov	edx, DWORD PTR -20[rbp]
	mov	eax, DWORD PTR -12[rbp]
	mov	esi, edx
	mov	edi, eax
	call	kmalloc@PLT
	mov	QWORD PTR -8[rbp], rax
	mov	rax, QWORD PTR -8[rbp]
	mov	rdi, rax
	call	kfree
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE1:
	.size	function_with_memory_allocation, .-function_with_memory_allocation
	.globl	main
	.type	main, @function
main:
.LFB2:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 64
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	call	__VERIFIER_nondet_pointer@PLT
	mov	QWORD PTR -24[rbp], rax
	call	__VERIFIER_nondet_pointer@PLT
	mov	QWORD PTR -16[rbp], rax
	call	__VERIFIER_nondet_pointer@PLT
	mov	QWORD PTR -40[rbp], rax
	call	__VERIFIER_nondet_pointer@PLT
	mov	QWORD PTR -32[rbp], rax
	mov	DWORD PTR -56[rbp], 32
	call	__VERIFIER_nondet_int@PLT
	mov	DWORD PTR -52[rbp], eax
	call	__VERIFIER_nondet_int@PLT
	mov	DWORD PTR -48[rbp], eax
	lea	rax, -40[rbp]
	mov	rdi, rax
	call	mutex_lock@PLT
	mov	eax, DWORD PTR -56[rbp]
	mov	edi, eax
	call	function_with_memory_allocation
	mov	eax, DWORD PTR -52[rbp]
	mov	edi, eax
	call	function_with_memory_allocation
	mov	rax, QWORD PTR -24[rbp]
	mov	rdi, rax
	call	spin_lock@PLT
	mov	eax, DWORD PTR -56[rbp]
	mov	edi, eax
	call	function_with_memory_allocation
	mov	eax, DWORD PTR -52[rbp]
	mov	edi, eax
	call	function_with_memory_allocation
	mov	rax, QWORD PTR -24[rbp]
	mov	rdi, rax
	call	spin_unlock@PLT
	mov	eax, DWORD PTR -56[rbp]
	mov	edi, eax
	call	function_with_memory_allocation
	mov	eax, DWORD PTR -52[rbp]
	mov	edi, eax
	call	function_with_memory_allocation
	lea	rax, -32[rbp]
	mov	rdi, rax
	call	mutex_lock@PLT
	cmp	DWORD PTR -48[rbp], 0
	je	.L4
	mov	rax, QWORD PTR -24[rbp]
	mov	rdi, rax
	call	spin_lock@PLT
	jmp	.L5
.L4:
	mov	rax, QWORD PTR -16[rbp]
	mov	rdi, rax
	call	spin_unlock@PLT
.L5:
	lea	rax, -32[rbp]
	mov	rdi, rax
	call	mutex_unlock@PLT
.L10:
	call	__VERIFIER_nondet_int@PLT
	mov	DWORD PTR -44[rbp], eax
	cmp	DWORD PTR -44[rbp], 0
	jne	.L6
	call	rcu_read_lock@PLT
	jmp	.L10
.L6:
	cmp	DWORD PTR -44[rbp], 1
	jne	.L12
	call	rcu_read_unlock@PLT
	jmp	.L10
.L12:
	nop
	lea	rax, -40[rbp]
	mov	rdi, rax
	call	mutex_unlock@PLT
	call	ldv_check_final_state@PLT
	nop
	mov	rax, QWORD PTR -8[rbp]
	sub	rax, QWORD PTR fs:40
	je	.L11
	call	__stack_chk_fail@PLT
.L11:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE2:
	.size	main, .-main
	.ident	"GCC: (Ubuntu 10.5.0-1ubuntu1~20.04) 10.5.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, 6
	.eabi_attribute 34, 0
	.eabi_attribute 18, 4
	.file	"16485.c"
	.text
	.align	2
	.global	kfree
	.syntax unified
	.arm
	.fpu softvfp
	.type	kfree, %function
kfree:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #8
	str	r0, [fp, #-8]
	ldr	r0, [fp, #-8]
	bl	free
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
	.size	kfree, .-kfree
	.align	2
	.global	function_with_memory_allocation
	.syntax unified
	.arm
	.fpu softvfp
	.type	function_with_memory_allocation, %function
function_with_memory_allocation:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #16
	str	r0, [fp, #-16]
	ldr	r1, [fp, #-16]
	ldr	r0, [fp, #-12]
	bl	kmalloc
	str	r0, [fp, #-8]
	ldr	r0, [fp, #-8]
	bl	kfree
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
	.size	function_with_memory_allocation, .-function_with_memory_allocation
	.section	.rodata
	.align	2
.LC0:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 40
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #40
	ldr	r3, .L13
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	bl	__VERIFIER_nondet_pointer
	str	r0, [fp, #-32]
	bl	__VERIFIER_nondet_pointer
	str	r0, [fp, #-28]
	bl	__VERIFIER_nondet_pointer
	mov	r3, r0
	str	r3, [fp, #-40]
	bl	__VERIFIER_nondet_pointer
	mov	r3, r0
	str	r3, [fp, #-36]
	mov	r3, #32
	str	r3, [fp, #-24]
	bl	__VERIFIER_nondet_int
	mov	r3, r0
	str	r3, [fp, #-20]
	bl	__VERIFIER_nondet_int
	str	r0, [fp, #-16]
	sub	r3, fp, #40
	mov	r0, r3
	bl	mutex_lock
	ldr	r0, [fp, #-24]
	bl	function_with_memory_allocation
	ldr	r0, [fp, #-20]
	bl	function_with_memory_allocation
	ldr	r0, [fp, #-32]
	bl	spin_lock
	ldr	r0, [fp, #-24]
	bl	function_with_memory_allocation
	ldr	r0, [fp, #-20]
	bl	function_with_memory_allocation
	ldr	r0, [fp, #-32]
	bl	spin_unlock
	ldr	r0, [fp, #-24]
	bl	function_with_memory_allocation
	ldr	r0, [fp, #-20]
	bl	function_with_memory_allocation
	sub	r3, fp, #36
	mov	r0, r3
	bl	mutex_lock
	ldr	r3, [fp, #-16]
	cmp	r3, #0
	beq	.L4
	ldr	r0, [fp, #-32]
	bl	spin_lock
	b	.L5
.L4:
	ldr	r0, [fp, #-28]
	bl	spin_unlock
.L5:
	sub	r3, fp, #36
	mov	r0, r3
	bl	mutex_unlock
.L10:
	bl	__VERIFIER_nondet_int
	str	r0, [fp, #-12]
	ldr	r3, [fp, #-12]
	cmp	r3, #0
	bne	.L6
	bl	rcu_read_lock
	b	.L10
.L6:
	ldr	r3, [fp, #-12]
	cmp	r3, #1
	bne	.L12
	bl	rcu_read_unlock
	b	.L10
.L12:
	nop
	sub	r3, fp, #40
	mov	r0, r3
	bl	mutex_unlock
	bl	ldv_check_final_state
	nop
	ldr	r3, .L13
	ldr	r2, [r3]
	ldr	r3, [fp, #-8]
	eors	r2, r3, r2
	mov	r3, #0
	beq	.L11
	bl	__stack_chk_fail
.L11:
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L14:
	.align	2
.L13:
	.word	.LC0
	.size	main, .-main
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
