	.file	"extr_ccp-dev-v3.c_ccp_perform_rsa.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	ccp_perform_rsa, @function
ccp_perform_rsa:
.LFB0:
	.cfi_startproc
	endbr64
	push	r12
	.cfi_def_cfa_offset 16
	.cfi_offset 12, -16
	lea	r12, 12[rdi]
	push	rbp
	.cfi_def_cfa_offset 24
	.cfi_offset 6, -24
	mov	rbp, rdi
	push	rbx
	.cfi_def_cfa_offset 32
	.cfi_offset 3, -32
	sub	rsp, 32
	.cfi_def_cfa_offset 64
	mov	ecx, DWORD PTR REQ1_ENGINE_SHIFT[rip]
	mov	edx, DWORD PTR 16[rdi]
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 24[rsp], rax
	xor	eax, eax
	mov	eax, DWORD PTR CCP_ENGINE_RSA[rip]
	sal	eax, cl
	mov	ecx, DWORD PTR REQ1_RSA_MOD_SIZE_SHIFT[rip]
	or	eax, DWORD PTR REQ1_EOM[rip]
	sal	edx, cl
	mov	ecx, DWORD PTR REQ1_KEY_KSB_SHIFT[rip]
	or	eax, edx
	mov	edx, DWORD PTR [rdi]
	sal	edx, cl
	or	eax, edx
	mov	DWORD PTR [rsp], eax
	mov	eax, DWORD PTR 20[rdi]
	mov	rdi, r12
	sub	eax, 1
	mov	DWORD PTR 4[rsp], eax
	call	ccp_addr_lo@PLT
	mov	ecx, DWORD PTR REQ4_KSB_SHIFT[rip]
	mov	ebx, DWORD PTR 4[rbp]
	mov	rdi, r12
	mov	DWORD PTR 8[rsp], eax
	mov	eax, DWORD PTR CCP_MEMTYPE_SYSTEM[rip]
	lea	r12, 8[rbp]
	sal	ebx, cl
	mov	ecx, DWORD PTR REQ4_MEMTYPE_SHIFT[rip]
	sal	eax, cl
	or	ebx, eax
	call	ccp_addr_hi@PLT
	mov	rdi, r12
	or	ebx, eax
	mov	DWORD PTR 12[rsp], ebx
	call	ccp_addr_lo@PLT
	mov	ecx, DWORD PTR REQ6_MEMTYPE_SHIFT[rip]
	mov	ebx, DWORD PTR CCP_MEMTYPE_SYSTEM[rip]
	mov	rdi, r12
	mov	DWORD PTR 16[rsp], eax
	mov	r12, rsp
	sal	ebx, cl
	call	ccp_addr_hi@PLT
	mov	rdi, r12
	or	ebx, eax
	mov	DWORD PTR 20[rsp], ebx
	call	ARRAY_SIZE@PLT
	mov	rsi, r12
	mov	rdi, rbp
	mov	edx, eax
	call	ccp_do_cmd@PLT
	mov	rsi, QWORD PTR 24[rsp]
	xor	rsi, QWORD PTR fs:40
	jne	.L5
	add	rsp, 32
	.cfi_remember_state
	.cfi_def_cfa_offset 32
	pop	rbx
	.cfi_def_cfa_offset 24
	pop	rbp
	.cfi_def_cfa_offset 16
	pop	r12
	.cfi_def_cfa_offset 8
	ret
.L5:
	.cfi_restore_state
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	ccp_perform_rsa, .-ccp_perform_rsa
	.comm	REQ6_MEMTYPE_SHIFT,4,4
	.comm	REQ4_MEMTYPE_SHIFT,4,4
	.comm	REQ4_KSB_SHIFT,4,4
	.comm	REQ1_RSA_MOD_SIZE_SHIFT,4,4
	.comm	REQ1_KEY_KSB_SHIFT,4,4
	.comm	REQ1_EOM,4,4
	.comm	REQ1_ENGINE_SHIFT,4,4
	.comm	CCP_MEMTYPE_SYSTEM,4,4
	.comm	CCP_ENGINE_RSA,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_ccp-dev-v3.c_ccp_perform_rsa.c"
	.text
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC0:
	.word	__stack_chk_guard
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	ccp_perform_rsa, %function
ccp_perform_rsa:
	@ args = 0, pretend = 0, frame = 32
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, lr}
	mov	r4, r0
	ldr	r1, .L6
	ldr	r2, .L6+4
	ldr	r3, .L6+8
	ldr	ip, .L6+12
	ldr	r0, [r1]
	ldr	r3, [r3]
	ldr	r1, [r2]
	ldr	r2, .L6+16
	ldr	lr, [r4, #16]
	ldr	ip, [ip]
	orr	r3, r3, r0, lsl r1
	ldr	r1, [r2]
	ldr	r0, [r4]
	orr	r3, r3, lr, lsl ip
	ldr	r2, [r4, #20]
	orr	r3, r3, r0, lsl r1
	add	r6, r4, #12
	ldr	r1, .L6+20
	sub	sp, sp, #36
	sub	r2, r2, #1
	mov	r0, r6
	ldr	r1, [r1]
	str	r1, [sp, #28]
	mov	r1,#0
	str	r3, [sp, #4]
	str	r2, [sp, #8]
	bl	ccp_addr_lo
	mov	r1, r0
	ldr	r7, .L6+24
	ldr	r2, .L6+28
	ldr	r5, [r7]
	ldr	r2, [r2]
	ldr	r3, .L6+32
	lsl	r5, r5, r2
	ldr	r3, [r3]
	ldr	r2, [r4, #4]
	mov	r0, r6
	str	r1, [sp, #12]
	orr	r5, r5, r2, lsl r3
	bl	ccp_addr_hi
	add	r6, r4, #8
	orr	r5, r5, r0
	mov	r0, r6
	str	r5, [sp, #16]
	bl	ccp_addr_lo
	mov	r2, r0
	ldr	r3, .L6+36
	ldr	r5, [r7]
	ldr	r3, [r3]
	mov	r0, r6
	lsl	r5, r5, r3
	str	r2, [sp, #20]
	bl	ccp_addr_hi
	orr	r5, r5, r0
	add	r0, sp, #4
	str	r5, [sp, #24]
	bl	ARRAY_SIZE
	add	r1, sp, #4
	mov	r2, r0
	mov	r0, r4
	bl	ccp_do_cmd
	ldr	r3, .L6+20
	ldr	r2, [r3]
	ldr	r3, [sp, #28]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L5
	add	sp, sp, #36
	@ sp needed
	pop	{r4, r5, r6, r7, pc}
.L5:
	bl	__stack_chk_fail
.L7:
	.align	2
.L6:
	.word	CCP_ENGINE_RSA
	.word	REQ1_ENGINE_SHIFT
	.word	REQ1_EOM
	.word	REQ1_RSA_MOD_SIZE_SHIFT
	.word	REQ1_KEY_KSB_SHIFT
	.word	.LC0
	.word	CCP_MEMTYPE_SYSTEM
	.word	REQ4_MEMTYPE_SHIFT
	.word	REQ4_KSB_SHIFT
	.word	REQ6_MEMTYPE_SHIFT
	.size	ccp_perform_rsa, .-ccp_perform_rsa
	.comm	REQ6_MEMTYPE_SHIFT,4,4
	.comm	REQ4_MEMTYPE_SHIFT,4,4
	.comm	REQ4_KSB_SHIFT,4,4
	.comm	REQ1_RSA_MOD_SIZE_SHIFT,4,4
	.comm	REQ1_KEY_KSB_SHIFT,4,4
	.comm	REQ1_EOM,4,4
	.comm	REQ1_ENGINE_SHIFT,4,4
	.comm	CCP_MEMTYPE_SYSTEM,4,4
	.comm	CCP_ENGINE_RSA,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
