	.file	"extr_getpublickey.c_getpublicandprivatekey.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"r"
.LC1:
	.string	"\t "
.LC2:
	.string	"Bad record in %s -- %s"
.LC3:
	.string	" \t#\n"
	.section	.rodata.str1.8,"aMS",@progbits,1
	.align 8
.LC4:
	.string	"Bad record in %s val problem - %s"
	.text
	.p2align 4
	.globl	getpublicandprivatekey
	.type	getpublicandprivatekey, @function
getpublicandprivatekey:
.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, 1080
	.cfi_def_cfa_offset 1136
	mov	QWORD PTR [rsp], rdi
	mov	rdi, QWORD PTR PKFILE[rip]
	mov	QWORD PTR 8[rsp], rsi
	lea	rsi, .LC0[rip]
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 1064[rsp], rax
	xor	eax, eax
	call	fopen@PLT
	test	rax, rax
	je	.L12
	mov	r13, rax
	lea	r14, 32[rsp]
	lea	rbp, .LC3[rip]
	.p2align 4,,10
	.p2align 3
.L5:
	mov	rdx, r13
	mov	esi, 1024
	mov	rdi, r14
	call	fgets@PLT
	mov	QWORD PTR 24[rsp], rax
	test	rax, rax
	je	.L20
	movzx	eax, BYTE PTR [rax]
	and	eax, -9
	cmp	al, 35
	je	.L5
	lea	rbx, 24[rsp]
	lea	rsi, .LC1[rip]
	mov	rdi, rbx
	call	strsep@PLT
	mov	r12, rax
	test	rax, rax
	jne	.L6
	jmp	.L21
	.p2align 4,,10
	.p2align 3
.L23:
	cmp	BYTE PTR [rax], 0
	jne	.L22
.L6:
	mov	rsi, rbp
	mov	rdi, rbx
	call	strsep@PLT
	mov	r15, rax
	test	rax, rax
	jne	.L23
	mov	rdx, QWORD PTR PKFILE[rip]
	mov	edi, DWORD PTR stderr[rip]
	mov	rcx, r14
	xor	eax, eax
	lea	rsi, .LC4[rip]
	call	fprintf@PLT
	jmp	.L5
	.p2align 4,,10
	.p2align 3
.L22:
	mov	rsi, QWORD PTR [rsp]
	mov	rdi, r12
	call	strcmp@PLT
	test	rax, rax
	jne	.L5
	mov	rdi, QWORD PTR 8[rsp]
	mov	rsi, r15
	call	strcpy@PLT
	mov	rdi, r13
	call	fclose@PLT
	mov	eax, 1
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L21:
	mov	rdx, QWORD PTR PKFILE[rip]
	mov	edi, DWORD PTR stderr[rip]
	mov	rcx, r14
	xor	eax, eax
	lea	rsi, .LC2[rip]
	call	fprintf@PLT
	jmp	.L5
	.p2align 4,,10
	.p2align 3
.L20:
	mov	rdi, r13
	call	fclose@PLT
	xor	eax, eax
.L1:
	mov	rcx, QWORD PTR 1064[rsp]
	xor	rcx, QWORD PTR fs:40
	jne	.L24
	add	rsp, 1080
	.cfi_remember_state
	.cfi_def_cfa_offset 56
	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
.L12:
	.cfi_restore_state
	xor	eax, eax
	jmp	.L1
.L24:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	getpublicandprivatekey, .-getpublicandprivatekey
	.comm	stderr,4,4
	.comm	PKFILE,8,8
	.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_getpublickey.c_getpublicandprivatekey.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"r\000"
	.align	2
.LC1:
	.ascii	"\011 \000"
	.align	2
.LC2:
	.ascii	"Bad record in %s -- %s\000"
	.align	2
.LC3:
	.ascii	" \011#\012\000"
	.align	2
.LC4:
	.ascii	"Bad record in %s val problem - %s\000"
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC5:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	getpublicandprivatekey
	.syntax unified
	.arm
	.fpu softvfp
	.type	getpublicandprivatekey, %function
getpublicandprivatekey:
	@ args = 0, pretend = 0, frame = 1040
	@ frame_needed = 0, uses_anonymous_args = 0
	mov	r3, r1
	push	{r4, r5, r6, r7, r8, r9, r10, fp, lr}
	sub	sp, sp, #1040
	sub	sp, sp, #4
	ldr	r9, .L28
	str	r3, [sp, #4]
	ldr	r3, .L28+4
	mov	r7, r0
	ldr	r1, .L28+8
	ldr	r0, [r9]
	ldr	r3, [r3]
	str	r3, [sp, #1036]
	mov	r3,#0
	bl	fopen
	subs	r6, r0, #0
	moveq	r0, r6
	beq	.L1
	ldr	r8, .L28+12
	ldr	r4, .L28+16
	ldr	fp, .L28+20
.L5:
	mov	r2, r6
	mov	r1, #1024
	add	r0, sp, #12
	bl	fgets
	cmp	r0, #0
	str	r0, [sp, #8]
	beq	.L23
	ldrb	r3, [r0]	@ zero_extendqisi2
	and	r3, r3, #247
	cmp	r3, #35
	beq	.L5
	mov	r1, r8
	add	r0, sp, #8
	bl	strsep
	subs	r5, r0, #0
	bne	.L6
	b	.L24
.L26:
	ldrb	r3, [r0]	@ zero_extendqisi2
	cmp	r3, #0
	bne	.L25
.L6:
	mov	r1, r4
	add	r0, sp, #8
	bl	strsep
	cmp	r0, #0
	bne	.L26
	ldr	r0, .L28+24
	ldr	r2, [r9]
	ldr	r1, .L28+28
	add	r3, sp, #12
	ldr	r0, [r0]
	bl	fprintf
	b	.L5
.L25:
	mov	r10, r0
	mov	r1, r7
	mov	r0, r5
	bl	strcmp
	cmp	r0, #0
	bne	.L5
	mov	r1, r10
	ldr	r0, [sp, #4]
	bl	strcpy
	mov	r0, r6
	bl	fclose
	mov	r0, #1
.L1:
	ldr	r3, .L28+4
	ldr	r2, [r3]
	ldr	r3, [sp, #1036]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L27
	add	sp, sp, #1040
	add	sp, sp, #4
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, r10, fp, pc}
.L24:
	ldr	r0, .L28+24
	mov	r1, fp
	ldr	r2, [r9]
	add	r3, sp, #12
	ldr	r0, [r0]
	bl	fprintf
	b	.L5
.L23:
	mov	r5, r0
	mov	r0, r6
	bl	fclose
	mov	r0, r5
	b	.L1
.L27:
	bl	__stack_chk_fail
.L29:
	.align	2
.L28:
	.word	PKFILE
	.word	.LC5
	.word	.LC0
	.word	.LC1
	.word	.LC3
	.word	.LC2
	.word	stderr
	.word	.LC4
	.size	getpublicandprivatekey, .-getpublicandprivatekey
	.comm	stderr,4,4
	.comm	PKFILE,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
