	.file	"extr_softp11.c_close_session.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.8,"aMS",@progbits,1
	.align 8
.LC0:
	.string	"application didn't do C_FindObjectsFinal\n"
	.text
	.p2align 4
	.type	close_session, @function
close_session:
.LFB0:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	cmp	QWORD PTR 8[rdi], 0
	mov	rbp, rdi
	jne	.L5
.L2:
	mov	eax, DWORD PTR CK_INVALID_HANDLE[rip]
	mov	rdi, rbp
	mov	DWORD PTR 0[rbp], eax
	mov	rax, QWORD PTR NULL_PTR[rip]
	pop	rbp
	.cfi_remember_state
	.cfi_def_cfa_offset 8
	mov	QWORD PTR soft_token[rip+8], rax
	mov	QWORD PTR soft_token[rip], rax
	jmp	reset_crypto_state@PLT
	.p2align 4,,10
	.p2align 3
.L5:
	.cfi_restore_state
	lea	rdi, .LC0[rip]
	call	application_error@PLT
	mov	rdi, rbp
	call	find_object_final@PLT
	jmp	.L2
	.cfi_endproc
.LFE0:
	.size	close_session, .-close_session
	.comm	soft_token,16,16
	.comm	NULL_PTR,8,8
	.comm	CK_INVALID_HANDLE,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_softp11.c_close_session.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"application didn't do C_FindObjectsFinal\012\000"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	close_session, %function
close_session:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	ldr	r3, [r0, #4]
	push	{r4, lr}
	cmp	r3, #0
	mov	r4, r0
	bne	.L8
.L2:
	ldr	r2, .L9
	ldr	r3, .L9+4
	ldr	r1, [r2]
	ldr	r2, [r3]
	ldr	r3, .L9+8
	str	r1, [r4]
	mov	r0, r4
	pop	{r4, lr}
	str	r2, [r3, #4]
	str	r2, [r3]
	b	reset_crypto_state
.L8:
	ldr	r0, .L9+12
	bl	application_error
	mov	r0, r4
	bl	find_object_final
	b	.L2
.L10:
	.align	2
.L9:
	.word	CK_INVALID_HANDLE
	.word	NULL_PTR
	.word	soft_token
	.word	.LC0
	.size	close_session, .-close_session
	.comm	soft_token,8,4
	.comm	NULL_PTR,4,4
	.comm	CK_INVALID_HANDLE,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
