	.file	"extr_crypt.c_WINTRUST_GetSignedMsgFromCatFile.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"(%p %p %d %p %p)\n"
	.text
	.p2align 4
	.type	WINTRUST_GetSignedMsgFromCatFile, @function
WINTRUST_GetSignedMsgFromCatFile:
.LFB0:
	.cfi_startproc
	endbr64
	push	r13
	.cfi_def_cfa_offset 16
	.cfi_offset 13, -16
	mov	r9, r8
	mov	r13, rsi
	push	r12
	.cfi_def_cfa_offset 24
	.cfi_offset 12, -24
	mov	r12, rcx
	push	rbp
	.cfi_def_cfa_offset 32
	.cfi_offset 6, -32
	mov	rbp, r8
	mov	r8, rcx
	mov	rcx, rdx
	push	rbx
	.cfi_def_cfa_offset 40
	.cfi_offset 3, -40
	mov	rdx, rsi
	mov	rbx, rdi
	mov	rsi, rdi
	lea	rdi, .LC0[rip]
	sub	rsp, 8
	.cfi_def_cfa_offset 48
	call	TRACE@PLT
	mov	edi, DWORD PTR [rbx]
	xor	esi, esi
	test	rbp, rbp
	je	.L10
	call	GetFileSize@PLT
	mov	rdx, rax
	cmp	QWORD PTR [r12], rax
	jge	.L4
	mov	QWORD PTR [r12], rax
	mov	edi, DWORD PTR ERROR_INSUFFICIENT_BUFFER[rip]
	call	SetLastError@PLT
	mov	eax, DWORD PTR FALSE[rip]
.L1:
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	pop	rbx
	.cfi_def_cfa_offset 32
	pop	rbp
	.cfi_def_cfa_offset 24
	pop	r12
	.cfi_def_cfa_offset 16
	pop	r13
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L4:
	.cfi_restore_state
	mov	edi, DWORD PTR [rbx]
	xor	r8d, r8d
	mov	rcx, r12
	mov	rsi, rbp
	call	ReadFile@PLT
	test	eax, eax
	je	.L1
	mov	rdx, QWORD PTR X509_ASN_ENCODING[rip]
	or	rdx, QWORD PTR PKCS_7_ASN_ENCODING[rip]
	mov	QWORD PTR 0[r13], rdx
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	pop	rbx
	.cfi_def_cfa_offset 32
	pop	rbp
	.cfi_def_cfa_offset 24
	pop	r12
	.cfi_def_cfa_offset 16
	pop	r13
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L10:
	.cfi_restore_state
	call	GetFileSize@PLT
	mov	QWORD PTR [r12], rax
	mov	eax, DWORD PTR TRUE[rip]
	add	rsp, 8
	.cfi_def_cfa_offset 40
	pop	rbx
	.cfi_def_cfa_offset 32
	pop	rbp
	.cfi_def_cfa_offset 24
	pop	r12
	.cfi_def_cfa_offset 16
	pop	r13
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE0:
	.size	WINTRUST_GetSignedMsgFromCatFile, .-WINTRUST_GetSignedMsgFromCatFile
	.comm	X509_ASN_ENCODING,8,8
	.comm	TRUE,4,4
	.comm	PKCS_7_ASN_ENCODING,8,8
	.comm	FALSE,4,4
	.comm	ERROR_INSUFFICIENT_BUFFER,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_crypt.c_WINTRUST_GetSignedMsgFromCatFile.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"(%p %p %d %p %p)\012\000"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	WINTRUST_GetSignedMsgFromCatFile, %function
WINTRUST_GetSignedMsgFromCatFile:
	@ args = 4, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, lr}
	mov	r4, r3
	sub	sp, sp, #12
	ldr	r6, [sp, #32]
	mov	r3, r2
	mov	r7, r0
	mov	r2, r1
	mov	r5, r1
	str	r4, [sp]
	mov	r1, r0
	str	r6, [sp, #4]
	ldr	r0, .L11
	bl	TRACE
	cmp	r6, #0
	beq	.L10
	mov	r1, #0
	ldr	r0, [r7]
	bl	GetFileSize
	ldr	r3, [r4]
	mov	r2, r0
	cmp	r3, r0
	bge	.L4
	ldr	r3, .L11+4
	str	r0, [r4]
	ldr	r0, [r3]
	bl	SetLastError
	ldr	r3, .L11+8
	ldr	r0, [r3]
.L1:
	add	sp, sp, #12
	@ sp needed
	pop	{r4, r5, r6, r7, pc}
.L4:
	mov	ip, #0
	ldr	r0, [r7]
	mov	r3, r4
	mov	r1, r6
	str	ip, [sp]
	bl	ReadFile
	cmp	r0, #0
	beq	.L1
	ldr	r3, .L11+12
	ldr	r2, .L11+16
	ldr	r3, [r3]
	ldr	r2, [r2]
	orr	r3, r3, r2
	str	r3, [r5]
	add	sp, sp, #12
	@ sp needed
	pop	{r4, r5, r6, r7, pc}
.L10:
	mov	r1, r6
	ldr	r0, [r7]
	bl	GetFileSize
	ldr	r3, .L11+20
	str	r0, [r4]
	ldr	r0, [r3]
	add	sp, sp, #12
	@ sp needed
	pop	{r4, r5, r6, r7, pc}
.L12:
	.align	2
.L11:
	.word	.LC0
	.word	ERROR_INSUFFICIENT_BUFFER
	.word	FALSE
	.word	X509_ASN_ENCODING
	.word	PKCS_7_ASN_ENCODING
	.word	TRUE
	.size	WINTRUST_GetSignedMsgFromCatFile, .-WINTRUST_GetSignedMsgFromCatFile
	.comm	X509_ASN_ENCODING,4,4
	.comm	TRUE,4,4
	.comm	PKCS_7_ASN_ENCODING,4,4
	.comm	FALSE,4,4
	.comm	ERROR_INSUFFICIENT_BUFFER,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
