	.file	"extr_crypto.c__hx509_generate_private_key_init.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"private key not an RSA key"
.LC1:
	.string	"out of memory"
	.text
	.p2align 4
	.globl	_hx509_generate_private_key_init
	.type	_hx509_generate_private_key_init, @function
_hx509_generate_private_key_init:
.LFB0:
	.cfi_startproc
	endbr64
	push	r12
	.cfi_def_cfa_offset 16
	.cfi_offset 12, -16
	mov	r12d, edi
	push	rbp
	.cfi_def_cfa_offset 24
	.cfi_offset 6, -24
	mov	rbp, rsi
	mov	esi, DWORD PTR ASN1_OID_ID_PKCS1_RSAENCRYPTION[rip]
	push	rbx
	.cfi_def_cfa_offset 32
	.cfi_offset 3, -32
	mov	rdi, rbp
	mov	rbx, rdx
	mov	QWORD PTR [rdx], 0
	call	der_heim_oid_cmp@PLT
	test	rax, rax
	jne	.L7
	mov	esi, 8
	mov	edi, 1
	call	calloc@PLT
	mov	QWORD PTR [rbx], rax
	test	rax, rax
	je	.L8
	mov	QWORD PTR [rax], rbp
	xor	eax, eax
.L1:
	pop	rbx
	.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
.L7:
	.cfi_restore_state
	mov	edx, DWORD PTR EINVAL[rip]
	mov	edi, r12d
	lea	rcx, .LC0[rip]
	xor	esi, esi
	call	hx509_set_error_string@PLT
	pop	rbx
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	mov	eax, DWORD PTR EINVAL[rip]
	pop	rbp
	.cfi_def_cfa_offset 16
	pop	r12
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L8:
	.cfi_restore_state
	mov	edx, DWORD PTR ENOMEM[rip]
	lea	rcx, .LC1[rip]
	xor	esi, esi
	mov	edi, r12d
	call	hx509_set_error_string@PLT
	mov	eax, DWORD PTR ENOMEM[rip]
	jmp	.L1
	.cfi_endproc
.LFE0:
	.size	_hx509_generate_private_key_init, .-_hx509_generate_private_key_init
	.comm	ENOMEM,4,4
	.comm	EINVAL,4,4
	.comm	ASN1_OID_ID_PKCS1_RSAENCRYPTION,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_crypto.c__hx509_generate_private_key_init.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"private key not an RSA key\000"
	.align	2
.LC1:
	.ascii	"out of memory\000"
	.text
	.align	2
	.global	_hx509_generate_private_key_init
	.syntax unified
	.arm
	.fpu softvfp
	.type	_hx509_generate_private_key_init, %function
_hx509_generate_private_key_init:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, lr}
	mov	r5, r2
	mov	r7, #0
	ldr	r2, .L9
	mov	r6, r1
	mov	r8, r0
	str	r7, [r5]
	mov	r0, r1
	ldr	r1, [r2]
	bl	der_heim_oid_cmp
	subs	r4, r0, #0
	bne	.L7
	mov	r1, #4
	mov	r0, #1
	bl	calloc
	cmp	r0, #0
	str	r0, [r5]
	strne	r6, [r0]
	beq	.L8
.L1:
	mov	r0, r4
	pop	{r4, r5, r6, r7, r8, pc}
.L7:
	ldr	r4, .L9+4
	mov	r1, r7
	ldr	r2, [r4]
	mov	r0, r8
	ldr	r3, .L9+8
	bl	hx509_set_error_string
	ldr	r4, [r4]
	mov	r0, r4
	pop	{r4, r5, r6, r7, r8, pc}
.L8:
	ldr	r5, .L9+12
	mov	r1, r4
	mov	r0, r8
	ldr	r2, [r5]
	ldr	r3, .L9+16
	bl	hx509_set_error_string
	ldr	r4, [r5]
	b	.L1
.L10:
	.align	2
.L9:
	.word	ASN1_OID_ID_PKCS1_RSAENCRYPTION
	.word	EINVAL
	.word	.LC0
	.word	ENOMEM
	.word	.LC1
	.size	_hx509_generate_private_key_init, .-_hx509_generate_private_key_init
	.comm	ENOMEM,4,4
	.comm	EINVAL,4,4
	.comm	ASN1_OID_ID_PKCS1_RSAENCRYPTION,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
