	.file	"extr_msg.c_CDecodeMsg_Close.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	CDecodeMsg_Close, @function
CDecodeMsg_Close:
.LFB0:
	.cfi_startproc
	endbr64
	push	rbx
	.cfi_def_cfa_offset 16
	.cfi_offset 3, -16
	mov	rbx, rdi
	mov	rdi, QWORD PTR 48[rdi]
	test	rdi, rdi
	je	.L2
	mov	eax, DWORD PTR 56[rbx]
	test	DWORD PTR CMSG_CRYPT_RELEASE_CONTEXT_FLAG[rip], eax
	jne	.L25
.L2:
	mov	eax, DWORD PTR [rbx]
	cmp	eax, 129
	je	.L3
	cmp	eax, 130
	je	.L4
	cmp	eax, 128
	je	.L26
.L6:
	mov	edi, DWORD PTR 12[rbx]
	call	CryptMemFree@PLT
	mov	edi, DWORD PTR 8[rbx]
	call	CryptMemFree@PLT
	mov	edi, DWORD PTR 4[rbx]
	pop	rbx
	.cfi_remember_state
	.cfi_def_cfa_offset 8
	jmp	ContextPropertyList_Free@PLT
	.p2align 4,,10
	.p2align 3
.L26:
	.cfi_restore_state
	mov	edi, DWORD PTR 16[rbx]
	test	edi, edi
	je	.L6
	call	LocalFree@PLT
	lea	rdi, 16[rbx]
	call	CSignedMsgData_CloseHandles@PLT
	jmp	.L6
	.p2align 4,,10
	.p2align 3
.L4:
	mov	rdi, QWORD PTR 32[rbx]
	test	rdi, rdi
	jne	.L27
.L7:
	mov	edi, DWORD PTR 28[rbx]
	call	LocalFree@PLT
	mov	edi, DWORD PTR 24[rbx]
	call	CryptMemFree@PLT
	jmp	.L6
	.p2align 4,,10
	.p2align 3
.L3:
	mov	edi, DWORD PTR 40[rbx]
	test	edi, edi
	je	.L6
	call	CryptDestroyHash@PLT
	jmp	.L6
	.p2align 4,,10
	.p2align 3
.L25:
	xor	esi, esi
	call	CryptReleaseContext@PLT
	jmp	.L2
	.p2align 4,,10
	.p2align 3
.L27:
	xor	esi, esi
	call	CryptReleaseContext@PLT
	jmp	.L7
	.cfi_endproc
.LFE0:
	.size	CDecodeMsg_Close, .-CDecodeMsg_Close
	.comm	CMSG_CRYPT_RELEASE_CONTEXT_FLAG,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_msg.c_CDecodeMsg_Close.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	CDecodeMsg_Close, %function
CDecodeMsg_Close:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, lr}
	mov	r4, r0
	ldr	r0, [r0, #36]
	cmp	r0, #0
	beq	.L2
	ldr	r3, .L28
	ldr	r2, [r4, #40]
	ldr	r3, [r3]
	tst	r2, r3
	bne	.L25
.L2:
	ldr	r3, [r4]
	cmp	r3, #129
	beq	.L3
	cmp	r3, #130
	beq	.L4
	cmp	r3, #128
	beq	.L26
.L6:
	ldr	r0, [r4, #12]
	bl	CryptMemFree
	ldr	r0, [r4, #8]
	bl	CryptMemFree
	ldr	r0, [r4, #4]
	pop	{r4, lr}
	b	ContextPropertyList_Free
.L26:
	ldr	r0, [r4, #16]
	cmp	r0, #0
	beq	.L6
	bl	LocalFree
	add	r0, r4, #16
	bl	CSignedMsgData_CloseHandles
	b	.L6
.L4:
	ldr	r0, [r4, #28]
	cmp	r0, #0
	bne	.L27
.L7:
	ldr	r0, [r4, #24]
	bl	LocalFree
	ldr	r0, [r4, #20]
	bl	CryptMemFree
	b	.L6
.L3:
	ldr	r0, [r4, #32]
	cmp	r0, #0
	beq	.L6
	bl	CryptDestroyHash
	b	.L6
.L25:
	mov	r1, #0
	bl	CryptReleaseContext
	b	.L2
.L27:
	mov	r1, #0
	bl	CryptReleaseContext
	b	.L7
.L29:
	.align	2
.L28:
	.word	CMSG_CRYPT_RELEASE_CONTEXT_FLAG
	.size	CDecodeMsg_Close, .-CDecodeMsg_Close
	.comm	CMSG_CRYPT_RELEASE_CONTEXT_FLAG,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
