	.file	"extr_pkcs8_parser.c_pkcs8_parse.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	pkcs8_parse, @function
pkcs8_parse:
.LFB0:
	.cfi_startproc
	endbr64
	push	r14
	.cfi_def_cfa_offset 16
	.cfi_offset 14, -16
	mov	edx, 24
	push	r13
	.cfi_def_cfa_offset 24
	.cfi_offset 13, -24
	mov	r13, rsi
	xor	esi, esi
	push	r12
	.cfi_def_cfa_offset 32
	.cfi_offset 12, -32
	mov	r12, rdi
	push	rbp
	.cfi_def_cfa_offset 40
	.cfi_offset 6, -40
	sub	rsp, 40
	.cfi_def_cfa_offset 80
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 24[rsp], rax
	xor	eax, eax
	mov	r14, rsp
	mov	rdi, r14
	call	memset@PLT
	mov	esi, DWORD PTR GFP_KERNEL[rip]
	mov	edi, 12
	mov	rbp, QWORD PTR ENOMEM[rip]
	call	kzalloc@PLT
	neg	rbp
	mov	QWORD PTR 8[rsp], rax
	test	rax, rax
	je	.L3
	mov	rcx, r13
	mov	rdx, r12
	mov	rsi, r14
	mov	QWORD PTR [rsp], r12
	lea	rdi, pkcs8_decoder[rip]
	call	asn1_ber_decoder@PLT
	mov	rbp, rax
	test	rax, rax
	js	.L4
	mov	edx, DWORD PTR GFP_KERNEL[rip]
	mov	esi, DWORD PTR 16[rsp]
	mov	edi, DWORD PTR 20[rsp]
	mov	rbp, QWORD PTR ENOMEM[rip]
	mov	r12, QWORD PTR 8[rsp]
	call	kmemdup@PLT
	neg	rbp
	mov	DWORD PTR 8[r12], eax
	test	eax, eax
	je	.L4
	mov	eax, DWORD PTR 16[rsp]
	mov	DWORD PTR [r12], 1
	mov	DWORD PTR 4[r12], eax
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L4:
	mov	rdi, QWORD PTR 8[rsp]
	call	kfree@PLT
.L3:
	mov	rdi, rbp
	call	ERR_PTR@PLT
	mov	r12, rax
.L1:
	mov	rax, QWORD PTR 24[rsp]
	xor	rax, QWORD PTR fs:40
	jne	.L10
	add	rsp, 40
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	mov	rax, r12
	pop	rbp
	.cfi_def_cfa_offset 32
	pop	r12
	.cfi_def_cfa_offset 24
	pop	r13
	.cfi_def_cfa_offset 16
	pop	r14
	.cfi_def_cfa_offset 8
	ret
.L10:
	.cfi_restore_state
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	pkcs8_parse, .-pkcs8_parse
	.comm	pkcs8_decoder,4,4
	.comm	GFP_KERNEL,4,4
	.comm	ENOMEM,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_pkcs8_parser.c_pkcs8_parse.c"
	.text
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC0:
	.word	__stack_chk_guard
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	pkcs8_parse, %function
pkcs8_parse:
	@ args = 0, pretend = 0, frame = 24
	@ frame_needed = 0, uses_anonymous_args = 0
	mov	ip, #0
	push	{r4, r5, r6, r7, r8, lr}
	ldr	r6, .L11
	ldr	r3, .L11+4
	ldr	r5, .L11+8
	sub	sp, sp, #24
	mov	r7, r0
	mov	r8, r1
	mov	r0, #12
	ldr	r1, [r6]
	ldr	r3, [r3]
	str	r3, [sp, #20]
	mov	r3,#0
	ldr	r4, [r5]
	str	ip, [sp, #4]
	str	ip, [sp, #8]
	str	ip, [sp, #12]
	str	ip, [sp, #16]
	bl	kzalloc
	cmp	r0, #0
	str	r0, [sp, #8]
	rsbeq	r4, r4, #0
	beq	.L3
	mov	r3, r8
	mov	r2, r7
	ldr	r0, .L11+12
	add	r1, sp, #4
	str	r7, [sp, #4]
	bl	asn1_ber_decoder
	subs	r4, r0, #0
	blt	.L4
	ldr	r2, [r6]
	ldr	r1, [sp, #12]
	ldr	r0, [sp, #16]
	ldr	r4, [r5]
	ldr	r5, [sp, #8]
	bl	kmemdup
	cmp	r0, #0
	str	r0, [r5, #8]
	rsbeq	r4, r4, #0
	movne	r2, #1
	ldrne	r3, [sp, #12]
	stmne	r5, {r2, r3}
	bne	.L1
.L4:
	ldr	r0, [sp, #8]
	bl	kfree
.L3:
	mov	r0, r4
	bl	ERR_PTR
	mov	r5, r0
.L1:
	ldr	r3, .L11+4
	ldr	r2, [r3]
	ldr	r3, [sp, #20]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L10
	mov	r0, r5
	add	sp, sp, #24
	@ sp needed
	pop	{r4, r5, r6, r7, r8, pc}
.L10:
	bl	__stack_chk_fail
.L12:
	.align	2
.L11:
	.word	GFP_KERNEL
	.word	.LC0
	.word	ENOMEM
	.word	pkcs8_decoder
	.size	pkcs8_parse, .-pkcs8_parse
	.comm	pkcs8_decoder,4,4
	.comm	GFP_KERNEL,4,4
	.comm	ENOMEM,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
