	.file	"extr_bn_mont.c_BN_MONT_CTX_copy.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.globl	BN_MONT_CTX_copy
	.type	BN_MONT_CTX_copy, @function
BN_MONT_CTX_copy:
.LFB0:
	.cfi_startproc
	endbr64
	push	r12
	.cfi_def_cfa_offset 16
	.cfi_offset 12, -16
	mov	r12, rdi
	push	rbx
	.cfi_def_cfa_offset 24
	.cfi_offset 3, -24
	sub	rsp, 8
	.cfi_def_cfa_offset 32
	cmp	rdi, rsi
	je	.L1
	mov	rbx, rsi
	lea	rdi, 20[rdi]
	lea	rsi, 20[rsi]
	call	BN_copy@PLT
	test	eax, eax
	je	.L4
	lea	rsi, 16[rbx]
	lea	rdi, 16[r12]
	call	BN_copy@PLT
	test	eax, eax
	je	.L4
	lea	rsi, 12[rbx]
	lea	rdi, 12[r12]
	call	BN_copy@PLT
	test	eax, eax
	je	.L4
	mov	eax, DWORD PTR 8[rbx]
	mov	rdx, QWORD PTR [rbx]
	mov	DWORD PTR 8[r12], eax
	mov	rax, QWORD PTR [r12]
	mov	ecx, DWORD PTR [rdx]
	mov	DWORD PTR [rax], ecx
	mov	edx, DWORD PTR 4[rdx]
	mov	DWORD PTR 4[rax], edx
.L1:
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	mov	rax, r12
	pop	rbx
	.cfi_def_cfa_offset 16
	pop	r12
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L4:
	.cfi_restore_state
	xor	r12d, r12d
	add	rsp, 8
	.cfi_def_cfa_offset 24
	mov	rax, r12
	pop	rbx
	.cfi_def_cfa_offset 16
	pop	r12
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE0:
	.size	BN_MONT_CTX_copy, .-BN_MONT_CTX_copy
	.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_bn_mont.c_BN_MONT_CTX_copy.c"
	.text
	.align	2
	.global	BN_MONT_CTX_copy
	.syntax unified
	.arm
	.fpu softvfp
	.type	BN_MONT_CTX_copy, %function
BN_MONT_CTX_copy:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	cmp	r0, r1
	push	{r4, r5, r6, lr}
	mov	r4, r0
	popeq	{r4, r5, r6, pc}
	mov	r5, r1
	add	r0, r0, #16
	add	r1, r1, #16
	bl	BN_copy
	cmp	r0, #0
	beq	.L4
	add	r1, r5, #12
	add	r0, r4, #12
	bl	BN_copy
	cmp	r0, #0
	beq	.L4
	add	r1, r5, #8
	add	r0, r4, #8
	bl	BN_copy
	cmp	r0, #0
	beq	.L4
	ldm	r5, {r2, r3}
	str	r3, [r4, #4]
	ldr	r1, [r2]
	ldr	r3, [r4]
	mov	r0, r4
	str	r1, [r3]
	ldr	r2, [r2, #4]
	str	r2, [r3, #4]
	pop	{r4, r5, r6, pc}
.L4:
	mov	r0, #0
	pop	{r4, r5, r6, pc}
	.size	BN_MONT_CTX_copy, .-BN_MONT_CTX_copy
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
