	.file	"extr_minicrypto-pem.c_ptls_pem_parse_private_key.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"PRIVATE KEY"
	.section	.rodata.str1.8,"aMS",@progbits,1
	.align 8
.LC1:
	.string	"\nFound PRIVATE KEY, length = %d bytes\n"
	.text
	.p2align 4
	.type	ptls_pem_parse_private_key, @function
ptls_pem_parse_private_key:
.LFB0:
	.cfi_startproc
	endbr64
	push	r12
	.cfi_def_cfa_offset 16
	.cfi_offset 12, -16
	mov	ecx, 1
	mov	r12, rdx
	mov	rdx, rsi
	push	rbp
	.cfi_def_cfa_offset 24
	.cfi_offset 6, -24
	mov	rbp, rsi
	lea	rsi, .LC0[rip]
	sub	rsp, 40
	.cfi_def_cfa_offset 64
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 24[rsp], rax
	xor	eax, eax
	lea	r8, 16[rsp]
	mov	QWORD PTR 16[rsp], 0
	call	ptls_load_pem_objects@PLT
	test	eax, eax
	jne	.L1
	cmp	QWORD PTR 16[rsp], 1
	mov	eax, DWORD PTR PTLS_ERROR_PEM_LABEL_NOT_FOUND[rip]
	je	.L9
.L1:
	mov	rcx, QWORD PTR 24[rsp]
	xor	rcx, QWORD PTR fs:40
	jne	.L10
	add	rsp, 40
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	pop	rbp
	.cfi_def_cfa_offset 16
	pop	r12
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L9:
	.cfi_restore_state
	mov	DWORD PTR 12[rsp], 0
	test	r12, r12
	je	.L5
	mov	edx, DWORD PTR 0[rbp]
	mov	edi, DWORD PTR [r12]
	lea	rsi, .LC1[rip]
	call	[QWORD PTR 8[r12]]
.L5:
	lea	rsi, 12[rsp]
	mov	rdx, r12
	mov	rdi, rbp
	call	ptls_minicrypto_asn1_decode_private_key@PLT
	mov	eax, DWORD PTR 12[rsp]
	jmp	.L1
.L10:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	ptls_pem_parse_private_key, .-ptls_pem_parse_private_key
	.comm	PTLS_ERROR_PEM_LABEL_NOT_FOUND,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_minicrypto-pem.c_ptls_pem_parse_private_key.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"PRIVATE KEY\000"
	.align	2
.LC1:
	.ascii	"\012Found PRIVATE KEY, length = %d bytes\012\000"
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC2:
	.word	__stack_chk_guard
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	ptls_pem_parse_private_key, %function
ptls_pem_parse_private_key:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, lr}
	mov	lr, #0
	sub	sp, sp, #24
	ldr	ip, .L10
	add	r3, sp, #12
	str	r3, [sp]
	mov	r4, r1
	mov	r5, r2
	mov	r3, #1
	mov	r2, r1
	ldr	r1, .L10+4
	ldr	ip, [ip]
	str	ip, [sp, #20]
	mov	ip,#0
	str	lr, [sp, #12]
	bl	ptls_load_pem_objects
	cmp	r0, #0
	bne	.L1
	ldr	r3, [sp, #12]
	cmp	r3, #1
	beq	.L3
	ldr	r3, .L10+8
	ldr	r0, [r3]
.L1:
	ldr	r3, .L10
	ldr	r2, [r3]
	ldr	r3, [sp, #20]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L9
	add	sp, sp, #24
	@ sp needed
	pop	{r4, r5, r6, pc}
.L3:
	cmp	r5, #0
	str	r0, [sp, #16]
	beq	.L5
	ldr	r3, [r5, #4]
	ldr	r2, [r4]
	ldr	r1, .L10+12
	ldr	r0, [r5]
	blx	r3
.L5:
	mov	r2, r5
	mov	r0, r4
	add	r1, sp, #16
	bl	ptls_minicrypto_asn1_decode_private_key
	ldr	r0, [sp, #16]
	b	.L1
.L9:
	bl	__stack_chk_fail
.L11:
	.align	2
.L10:
	.word	.LC2
	.word	.LC0
	.word	PTLS_ERROR_PEM_LABEL_NOT_FOUND
	.word	.LC1
	.size	ptls_pem_parse_private_key, .-ptls_pem_parse_private_key
	.comm	PTLS_ERROR_PEM_LABEL_NOT_FOUND,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
