	.file	"extr_smver.c_main.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"r"
.LC1:
	.string	"cacert.pem"
.LC2:
	.string	"smout.txt"
.LC3:
	.string	"w"
.LC4:
	.string	"smver.txt"
.LC5:
	.string	"Verification Failure\n"
.LC6:
	.string	"Verification Successful\n"
.LC7:
	.string	"Error Verifying Data\n"
	.section	.text.startup,"ax",@progbits
	.p2align 4
	.globl	main
	.type	main, @function
main:
.LFB0:
	.cfi_startproc
	endbr64
	push	r15
	.cfi_def_cfa_offset 16
	.cfi_offset 15, -16
	push	r14
	.cfi_def_cfa_offset 24
	.cfi_offset 14, -24
	push	r13
	.cfi_def_cfa_offset 32
	.cfi_offset 13, -32
	push	r12
	.cfi_def_cfa_offset 40
	.cfi_offset 12, -40
	push	rbp
	.cfi_def_cfa_offset 48
	.cfi_offset 6, -48
	push	rbx
	.cfi_def_cfa_offset 56
	.cfi_offset 3, -56
	sub	rsp, 24
	.cfi_def_cfa_offset 80
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 8[rsp], rax
	xor	eax, eax
	mov	QWORD PTR [rsp], 0
	call	OpenSSL_add_all_algorithms@PLT
	xor	eax, eax
	call	ERR_load_crypto_strings@PLT
	xor	eax, eax
	call	X509_STORE_new@PLT
	lea	rsi, .LC0[rip]
	lea	rdi, .LC1[rip]
	mov	r13, rax
	call	BIO_new_file@PLT
	mov	rbp, rax
	test	rax, rax
	je	.L2
	xor	ecx, ecx
	xor	edx, edx
	xor	esi, esi
	mov	rdi, rax
	call	PEM_read_bio_X509@PLT
	mov	r12, rax
	test	rax, rax
	je	.L2
	mov	rsi, rax
	mov	rdi, r13
	call	X509_STORE_add_cert@PLT
	test	eax, eax
	je	.L7
	lea	rsi, .LC0[rip]
	lea	rdi, .LC2[rip]
	call	BIO_new_file@PLT
	mov	r14, rax
	test	rax, rax
	je	.L8
	mov	rsi, rsp
	mov	rdi, rax
	call	SMIME_read_PKCS7@PLT
	mov	r15, rax
	test	rax, rax
	je	.L9
	lea	rsi, .LC3[rip]
	lea	rdi, .LC4[rip]
	call	BIO_new_file@PLT
	mov	rbx, rax
	test	rax, rax
	je	.L3
	mov	rcx, QWORD PTR [rsp]
	xor	r9d, r9d
	xor	esi, esi
	mov	r8, rax
	mov	rdx, r13
	mov	rdi, r15
	call	PKCS7_verify@PLT
	test	eax, eax
	je	.L21
	mov	edi, DWORD PTR stderr[rip]
	lea	rsi, .LC6[rip]
	xor	r13d, r13d
	call	fprintf@PLT
	.p2align 4,,10
	.p2align 3
.L5:
	mov	rdi, r15
	call	PKCS7_free@PLT
	mov	rdi, r12
	call	X509_free@PLT
	mov	rdi, r14
	call	BIO_free@PLT
	mov	rdi, rbx
	call	BIO_free@PLT
	mov	rdi, rbp
	call	BIO_free@PLT
	mov	rax, QWORD PTR 8[rsp]
	xor	rax, QWORD PTR fs:40
	jne	.L22
	add	rsp, 24
	.cfi_remember_state
	.cfi_def_cfa_offset 56
	mov	eax, r13d
	pop	rbx
	.cfi_def_cfa_offset 48
	pop	rbp
	.cfi_def_cfa_offset 40
	pop	r12
	.cfi_def_cfa_offset 32
	pop	r13
	.cfi_def_cfa_offset 24
	pop	r14
	.cfi_def_cfa_offset 16
	pop	r15
	.cfi_def_cfa_offset 8
	ret
.L2:
	.cfi_restore_state
	xor	r15d, r15d
	xor	r12d, r12d
	xor	ebx, ebx
	xor	r14d, r14d
.L3:
	mov	edi, DWORD PTR stderr[rip]
	lea	rsi, .LC7[rip]
	mov	r13d, 1
	call	fprintf@PLT
	mov	edi, DWORD PTR stderr[rip]
	call	ERR_print_errors_fp@PLT
	jmp	.L5
.L7:
	xor	r15d, r15d
	xor	ebx, ebx
	xor	r14d, r14d
	jmp	.L3
.L8:
	xor	r15d, r15d
	xor	ebx, ebx
	jmp	.L3
.L9:
	xor	ebx, ebx
	jmp	.L3
.L21:
	mov	edi, DWORD PTR stderr[rip]
	lea	rsi, .LC5[rip]
	call	fprintf@PLT
	jmp	.L3
.L22:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	main, .-main
	.comm	stderr,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_smver.c_main.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"r\000"
	.align	2
.LC1:
	.ascii	"cacert.pem\000"
	.align	2
.LC2:
	.ascii	"smout.txt\000"
	.align	2
.LC3:
	.ascii	"w\000"
	.align	2
.LC4:
	.ascii	"smver.txt\000"
	.align	2
.LC5:
	.ascii	"Verification Failure\012\000"
	.align	2
.LC6:
	.ascii	"Verification Successful\012\000"
	.align	2
.LC7:
	.ascii	"Error Verifying Data\012\000"
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC8:
	.word	__stack_chk_guard
	.section	.text.startup,"ax",%progbits
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, r10, lr}
	mov	r5, #0
	ldr	r3, .L24
	sub	sp, sp, #16
	ldr	r3, [r3]
	str	r3, [sp, #12]
	mov	r3,#0
	str	r5, [sp, #8]
	bl	OpenSSL_add_all_algorithms
	bl	ERR_load_crypto_strings
	bl	X509_STORE_new
	ldr	r1, .L24+4
	mov	r9, r0
	ldr	r0, .L24+8
	bl	BIO_new_file
	subs	r7, r0, #0
	beq	.L2
	mov	r3, r5
	mov	r2, r5
	mov	r1, r5
	bl	PEM_read_bio_X509
	subs	r8, r0, #0
	beq	.L2
	mov	r1, r8
	mov	r0, r9
	bl	X509_STORE_add_cert
	subs	r4, r0, #0
	beq	.L7
	ldr	r1, .L24+4
	ldr	r0, .L24+12
	bl	BIO_new_file
	subs	r10, r0, #0
	beq	.L8
	add	r1, sp, #8
	bl	SMIME_read_PKCS7
	subs	r4, r0, #0
	beq	.L9
	ldr	r1, .L24+16
	ldr	r0, .L24+20
	bl	BIO_new_file
	subs	r6, r0, #0
	beq	.L20
	mov	r2, r9
	mov	r1, r5
	mov	r0, r4
	ldr	r3, [sp, #8]
	str	r5, [sp, #4]
	str	r6, [sp]
	bl	PKCS7_verify
	cmp	r0, #0
	beq	.L22
	ldr	r3, .L24+24
	ldr	r1, .L24+28
	ldr	r0, [r3]
	bl	fprintf
.L5:
	mov	r0, r4
	bl	PKCS7_free
	mov	r0, r8
	bl	X509_free
	mov	r0, r10
	bl	BIO_free
	mov	r0, r6
	bl	BIO_free
	mov	r0, r7
	bl	BIO_free
	ldr	r3, .L24
	ldr	r2, [r3]
	ldr	r3, [sp, #12]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L23
	mov	r0, r5
	add	sp, sp, #16
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, r10, pc}
.L2:
	mov	r4, #0
	mov	r8, r4
	mov	r6, r4
	mov	r10, r4
	ldr	r5, .L24+24
.L3:
	ldr	r1, .L24+32
	ldr	r0, [r5]
	bl	fprintf
	ldr	r0, [r5]
	bl	ERR_print_errors_fp
	mov	r5, #1
	b	.L5
.L7:
	mov	r6, r4
	mov	r10, r4
	ldr	r5, .L24+24
	b	.L3
.L8:
	mov	r4, r10
	mov	r6, r10
	ldr	r5, .L24+24
	b	.L3
.L9:
	mov	r6, r4
.L20:
	ldr	r5, .L24+24
	b	.L3
.L22:
	ldr	r5, .L24+24
	ldr	r1, .L24+36
	ldr	r0, [r5]
	bl	fprintf
	b	.L3
.L23:
	bl	__stack_chk_fail
.L25:
	.align	2
.L24:
	.word	.LC8
	.word	.LC0
	.word	.LC1
	.word	.LC2
	.word	.LC3
	.word	.LC4
	.word	stderr
	.word	.LC6
	.word	.LC7
	.word	.LC5
	.size	main, .-main
	.comm	stderr,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
