	.file	"extr_ec_asn1.c_i2o_ECPublicKey.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.globl	i2o_ECPublicKey
	.type	i2o_ECPublicKey, @function
i2o_ECPublicKey:
.LFB0:
	.cfi_startproc
	endbr64
	push	r12
	.cfi_def_cfa_offset 16
	.cfi_offset 12, -16
	push	rbp
	.cfi_def_cfa_offset 24
	.cfi_offset 6, -24
	push	rbx
	.cfi_def_cfa_offset 32
	.cfi_offset 3, -32
	test	rdi, rdi
	je	.L16
	mov	rbx, rdi
	mov	r12, rsi
	mov	esi, DWORD PTR 4[rdi]
	mov	edi, DWORD PTR 8[rdi]
	mov	edx, DWORD PTR [rbx]
	xor	r9d, r9d
	xor	r8d, r8d
	xor	ecx, ecx
	call	EC_POINT_point2oct@PLT
	mov	rbp, rax
	test	r12, r12
	je	.L11
	test	rax, rax
	je	.L11
	mov	rcx, QWORD PTR [r12]
	test	rcx, rcx
	je	.L17
	mov	esi, DWORD PTR 4[rbx]
	mov	edi, DWORD PTR 8[rbx]
	xor	r9d, r9d
	mov	r8, rax
	mov	edx, DWORD PTR [rbx]
	call	EC_POINT_point2oct@PLT
	test	rax, rax
	je	.L18
	add	QWORD PTR [r12], rbp
.L11:
	mov	eax, ebp
.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
.L17:
	.cfi_restore_state
	mov	rdi, rax
	call	OPENSSL_malloc@PLT
	mov	QWORD PTR [r12], rax
	mov	rcx, rax
	test	rax, rax
	je	.L19
	mov	esi, DWORD PTR 4[rbx]
	mov	edi, DWORD PTR 8[rbx]
	xor	r9d, r9d
	mov	r8, rbp
	mov	edx, DWORD PTR [rbx]
	call	EC_POINT_point2oct@PLT
	test	rax, rax
	jne	.L11
	mov	esi, DWORD PTR ERR_R_EC_LIB[rip]
	mov	edi, DWORD PTR EC_F_I2O_ECPUBLICKEY[rip]
	call	ECerr@PLT
	mov	rdi, QWORD PTR [r12]
	call	OPENSSL_free@PLT
	mov	QWORD PTR [r12], 0
	xor	eax, eax
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L16:
	mov	esi, DWORD PTR ERR_R_PASSED_NULL_PARAMETER[rip]
	mov	edi, DWORD PTR EC_F_I2O_ECPUBLICKEY[rip]
	call	ECerr@PLT
	pop	rbx
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	xor	eax, eax
	pop	rbp
	.cfi_def_cfa_offset 16
	pop	r12
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L18:
	.cfi_restore_state
	mov	esi, DWORD PTR ERR_R_EC_LIB[rip]
	mov	edi, DWORD PTR EC_F_I2O_ECPUBLICKEY[rip]
	call	ECerr@PLT
	xor	eax, eax
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L19:
	mov	esi, DWORD PTR ERR_R_MALLOC_FAILURE[rip]
	mov	edi, DWORD PTR EC_F_I2O_ECPUBLICKEY[rip]
	call	ECerr@PLT
	xor	eax, eax
	jmp	.L1
	.cfi_endproc
.LFE0:
	.size	i2o_ECPublicKey, .-i2o_ECPublicKey
	.comm	ERR_R_PASSED_NULL_PARAMETER,4,4
	.comm	ERR_R_MALLOC_FAILURE,4,4
	.comm	ERR_R_EC_LIB,4,4
	.comm	EC_F_I2O_ECPUBLICKEY,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_ec_asn1.c_i2o_ECPublicKey.c"
	.text
	.align	2
	.global	i2o_ECPublicKey
	.syntax unified
	.arm
	.fpu softvfp
	.type	i2o_ECPublicKey, %function
i2o_ECPublicKey:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, lr}
	subs	r4, r0, #0
	ldreq	r2, .L18
	sub	sp, sp, #20
	beq	.L13
	mov	r3, #0
	ldr	r2, [r4]
	str	r3, [sp, #4]
	str	r3, [sp]
	mov	r6, r1
	ldr	r0, [r4, #8]
	ldr	r1, [r4, #4]
	bl	EC_POINT_point2oct
	clz	r2, r0
	cmp	r6, #0
	lsr	r2, r2, #5
	moveq	r2, #1
	cmp	r2, #0
	mov	r5, r0
	bne	.L10
	ldr	r7, [r6]
	cmp	r7, #0
	beq	.L15
	str	r2, [sp, #4]
	str	r0, [sp]
	ldr	r2, [r4]
	ldr	r1, [r4, #4]
	ldr	r0, [r4, #8]
	mov	r3, r7
	bl	EC_POINT_point2oct
	subs	r4, r0, #0
	beq	.L16
	ldr	r3, [r6]
	add	r3, r3, r5
	str	r3, [r6]
.L10:
	mov	r0, r5
.L1:
	add	sp, sp, #20
	@ sp needed
	pop	{r4, r5, r6, r7, pc}
.L16:
	ldr	r2, .L18+4
.L13:
	ldr	r3, .L18+8
	ldr	r1, [r2]
	ldr	r0, [r3]
	bl	ECerr
	mov	r0, r4
	add	sp, sp, #20
	@ sp needed
	pop	{r4, r5, r6, r7, pc}
.L15:
	bl	OPENSSL_malloc
	cmp	r0, #0
	mov	r3, r0
	str	r0, [r6]
	beq	.L17
	stm	sp, {r5, r7}
	ldr	r2, [r4]
	ldr	r1, [r4, #4]
	ldr	r0, [r4, #8]
	bl	EC_POINT_point2oct
	subs	r4, r0, #0
	bne	.L10
	ldr	r2, .L18+4
	ldr	r3, .L18+8
	ldr	r1, [r2]
	ldr	r0, [r3]
	bl	ECerr
	ldr	r0, [r6]
	bl	OPENSSL_free
	mov	r0, r4
	str	r4, [r6]
	b	.L1
.L17:
	ldr	r2, .L18+8
	ldr	r1, .L18+12
	str	r0, [sp, #12]
	ldr	r1, [r1]
	ldr	r0, [r2]
	bl	ECerr
	ldr	r3, [sp, #12]
	mov	r0, r3
	b	.L1
.L19:
	.align	2
.L18:
	.word	ERR_R_PASSED_NULL_PARAMETER
	.word	ERR_R_EC_LIB
	.word	EC_F_I2O_ECPUBLICKEY
	.word	ERR_R_MALLOC_FAILURE
	.size	i2o_ECPublicKey, .-i2o_ECPublicKey
	.comm	ERR_R_PASSED_NULL_PARAMETER,4,4
	.comm	ERR_R_MALLOC_FAILURE,4,4
	.comm	ERR_R_EC_LIB,4,4
	.comm	EC_F_I2O_ECPUBLICKEY,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
