	.file	"extr_ec2_smpl.c_ec_GF2m_simple_group_copy.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.globl	ec_GF2m_simple_group_copy
	.type	ec_GF2m_simple_group_copy, @function
ec_GF2m_simple_group_copy:
.LFB0:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsi
	push	rbx
	.cfi_def_cfa_offset 24
	.cfi_offset 3, -24
	mov	rbx, rdi
	sub	rsp, 8
	.cfi_def_cfa_offset 32
	mov	esi, DWORD PTR 16[rsi]
	mov	edi, DWORD PTR 16[rdi]
	call	BN_copy@PLT
	test	eax, eax
	jne	.L2
.L4:
	xor	eax, eax
.L1:
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	pop	rbx
	.cfi_def_cfa_offset 16
	pop	rbp
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L2:
	.cfi_restore_state
	mov	esi, DWORD PTR 12[rbp]
	mov	edi, DWORD PTR 12[rbx]
	call	BN_copy@PLT
	test	eax, eax
	je	.L4
	mov	esi, DWORD PTR 8[rbp]
	mov	edi, DWORD PTR 8[rbx]
	call	BN_copy@PLT
	test	eax, eax
	je	.L4
	mov	rdx, QWORD PTR 0[rbp]
	mov	rax, QWORD PTR [rbx]
	mov	esi, DWORD PTR [rdx]
	mov	DWORD PTR [rax], esi
	mov	ecx, DWORD PTR 4[rdx]
	mov	DWORD PTR 4[rax], ecx
	mov	ecx, DWORD PTR 8[rdx]
	mov	DWORD PTR 8[rax], ecx
	mov	ecx, DWORD PTR 12[rdx]
	mov	DWORD PTR 12[rax], ecx
	mov	ecx, DWORD PTR 16[rdx]
	mov	DWORD PTR 16[rax], ecx
	mov	ecx, DWORD PTR BN_BITS2[rip]
	mov	edx, DWORD PTR 20[rdx]
	mov	DWORD PTR 20[rax], edx
	lea	eax, -1[rsi+rcx]
	mov	edi, DWORD PTR 12[rbx]
	cdq
	idiv	ecx
	mov	esi, eax
	call	bn_wexpand@PLT
	test	rax, rax
	je	.L4
	mov	rax, QWORD PTR [rbx]
	mov	ecx, DWORD PTR BN_BITS2[rip]
	mov	edi, DWORD PTR 8[rbx]
	mov	edx, DWORD PTR [rax]
	add	edx, ecx
	mov	eax, edx
	sub	eax, 1
	cdq
	idiv	ecx
	mov	esi, eax
	call	bn_wexpand@PLT
	test	rax, rax
	je	.L4
	mov	edi, DWORD PTR 12[rbx]
	call	bn_set_all_zero@PLT
	mov	edi, DWORD PTR 8[rbx]
	call	bn_set_all_zero@PLT
	mov	eax, 1
	jmp	.L1
	.cfi_endproc
.LFE0:
	.size	ec_GF2m_simple_group_copy, .-ec_GF2m_simple_group_copy
	.comm	BN_BITS2,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_ec2_smpl.c_ec_GF2m_simple_group_copy.c"
	.text
	.global	__aeabi_idiv
	.align	2
	.global	ec_GF2m_simple_group_copy
	.syntax unified
	.arm
	.fpu softvfp
	.type	ec_GF2m_simple_group_copy, %function
ec_GF2m_simple_group_copy:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, lr}
	mov	r4, r0
	mov	r5, r1
	ldr	r0, [r0, #12]
	ldr	r1, [r1, #12]
	bl	BN_copy
	cmp	r0, #0
	bne	.L2
.L4:
	mov	r0, #0
	pop	{r4, r5, r6, pc}
.L2:
	ldr	r1, [r5, #8]
	ldr	r0, [r4, #8]
	bl	BN_copy
	cmp	r0, #0
	beq	.L4
	ldr	r1, [r5, #4]
	ldr	r0, [r4, #4]
	bl	BN_copy
	cmp	r0, #0
	beq	.L4
	ldr	r2, [r5]
	ldr	r3, [r4]
	ldr	r0, [r2]
	ldr	r5, .L19
	str	r0, [r3]
	ldr	r1, [r2, #4]
	str	r1, [r3, #4]
	ldr	r1, [r2, #8]
	str	r1, [r3, #8]
	ldr	r1, [r2, #12]
	str	r1, [r3, #12]
	ldr	r1, [r2, #16]
	str	r1, [r3, #16]
	ldr	r1, [r5]
	ldr	r2, [r2, #20]
	add	r0, r0, r1
	str	r2, [r3, #20]
	sub	r0, r0, #1
	bl	__aeabi_idiv
	mov	r1, r0
	ldr	r0, [r4, #8]
	bl	bn_wexpand
	cmp	r0, #0
	beq	.L4
	ldr	r3, [r4]
	ldr	r1, [r5]
	ldr	r0, [r3]
	add	r0, r1, r0
	sub	r0, r0, #1
	bl	__aeabi_idiv
	mov	r1, r0
	ldr	r0, [r4, #4]
	bl	bn_wexpand
	cmp	r0, #0
	beq	.L4
	ldr	r0, [r4, #8]
	bl	bn_set_all_zero
	ldr	r0, [r4, #4]
	bl	bn_set_all_zero
	mov	r0, #1
	pop	{r4, r5, r6, pc}
.L20:
	.align	2
.L19:
	.word	BN_BITS2
	.size	ec_GF2m_simple_group_copy, .-ec_GF2m_simple_group_copy
	.comm	BN_BITS2,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
