	.file	"extr_Secure.c_CheckSecObject.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.globl	CheckSecObject
	.type	CheckSecObject, @function
CheckSecObject:
.LFB0:
	.cfi_startproc
	endbr64
	test	rdi, rdi
	je	.L15
	test	rsi, rsi
	je	.L16
	mov	eax, DWORD PTR [rdi]
	test	eax, eax
	jne	.L5
	mov	edx, DWORD PTR SEC_ERROR_NO_SESSION[rip]
	mov	DWORD PTR 4[rdi], edx
	ret
	.p2align 4,,10
	.p2align 3
.L5:
	sub	rsp, 8
	.cfi_def_cfa_offset 16
	call	FindSecObject@PLT
	mov	rdi, rax
	xor	eax, eax
	test	rdi, rdi
	je	.L1
	call	FreeSecObject@PLT
	mov	eax, 1
.L1:
	add	rsp, 8
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L15:
	xor	eax, eax
	ret
	.p2align 4,,10
	.p2align 3
.L16:
	mov	eax, DWORD PTR SEC_ERROR_BAD_PARAMETER[rip]
	mov	DWORD PTR 4[rdi], eax
	xor	eax, eax
	ret
	.cfi_endproc
.LFE0:
	.size	CheckSecObject, .-CheckSecObject
	.comm	SEC_ERROR_NO_SESSION,4,4
	.comm	SEC_ERROR_BAD_PARAMETER,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_Secure.c_CheckSecObject.c"
	.text
	.align	2
	.global	CheckSecObject
	.syntax unified
	.arm
	.fpu softvfp
	.type	CheckSecObject, %function
CheckSecObject:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	subs	ip, r0, #0
	beq	.L15
	cmp	r1, #0
	mov	r3, r1
	beq	.L16
	ldr	r3, [ip]
	cmp	r3, #0
	bne	.L5
	ldr	r2, .L17
	mov	r0, r3
	ldr	r2, [r2]
	str	r2, [ip, #4]
	bx	lr
.L5:
	push	{r4, lr}
	bl	FindSecObject
	cmp	r0, #0
	moveq	r3, #0
	beq	.L1
	bl	FreeSecObject
	mov	r3, #1
.L1:
	mov	r0, r3
	pop	{r4, pc}
.L15:
	mov	r3, #0
	mov	r0, r3
	bx	lr
.L16:
	ldr	r2, .L17+4
	mov	r0, r3
	ldr	r2, [r2]
	str	r2, [ip, #4]
	bx	lr
.L18:
	.align	2
.L17:
	.word	SEC_ERROR_NO_SESSION
	.word	SEC_ERROR_BAD_PARAMETER
	.size	CheckSecObject, .-CheckSecObject
	.comm	SEC_ERROR_NO_SESSION,4,4
	.comm	SEC_ERROR_BAD_PARAMETER,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
