	.file	"extr_ccp_hardware.c_ccp_sha_copy_result.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.8,"aMS",@progbits,1
	.align 8
.LC0:
	.string	"bogus sha version auth_mode %u\n"
	.text
	.p2align 4
	.type	ccp_sha_copy_result, @function
ccp_sha_copy_result:
.LFB0:
	.cfi_startproc
	endbr64
	push	r14
	.cfi_def_cfa_offset 16
	.cfi_offset 14, -16
	mov	r14d, edx
	push	r13
	.cfi_def_cfa_offset 24
	.cfi_offset 13, -24
	mov	r13, rdi
	mov	rdi, QWORD PTR SHA_definitions[rip]
	push	r12
	.cfi_def_cfa_offset 32
	.cfi_offset 12, -32
	mov	r12, rsi
	push	rbp
	.cfi_def_cfa_offset 40
	.cfi_offset 6, -40
	push	rbx
	.cfi_def_cfa_offset 48
	.cfi_offset 3, -48
	xor	ebx, ebx
	jmp	.L2
	.p2align 4,,10
	.p2align 3
.L4:
	cmp	DWORD PTR [rdi+rbp], r14d
	je	.L3
	add	rbx, 1
.L2:
	call	nitems@PLT
	mov	rbp, rbx
	mov	rdi, QWORD PTR SHA_definitions[rip]
	sal	rbp, 4
	cmp	rax, rbx
	ja	.L4
.L3:
	call	nitems@PLT
	cmp	rax, rbx
	je	.L16
.L5:
	add	rbp, QWORD PTR SHA_definitions[rip]
	mov	rdi, r12
	call	byteswap256@PLT
	mov	rax, QWORD PTR 8[rbp]
	mov	rdi, QWORD PTR LSB_ENTRY_SIZE[rip]
	cmp	QWORD PTR [rax], rdi
	jg	.L17
	mov	eax, DWORD PTR 0[rbp]
	cmp	eax, 130
	je	.L7
.L18:
	jg	.L8
	cmp	eax, 128
	je	.L9
	cmp	eax, 129
	jne	.L1
	mov	rax, QWORD PTR 8[rbp]
	mov	rdi, r13
	mov	rdx, QWORD PTR [rax]
	mov	rax, QWORD PTR LSB_ENTRY_SIZE[rip]
	mov	r8, rdx
	lea	rsi, [rax+rax*2]
	sub	r8, rax
	sub	rsi, rdx
	add	rsi, r12
	mov	rdx, r8
	call	memcpy@PLT
	mov	rax, QWORD PTR 8[rbp]
	mov	rdx, QWORD PTR LSB_ENTRY_SIZE[rip]
	mov	rsi, r12
	mov	rdi, QWORD PTR [rax]
	sub	r13, rdx
	add	rdi, r13
.L13:
	pop	rbx
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	pop	rbp
	.cfi_def_cfa_offset 32
	pop	r12
	.cfi_def_cfa_offset 24
	pop	r13
	.cfi_def_cfa_offset 16
	pop	r14
	.cfi_def_cfa_offset 8
	jmp	memcpy@PLT
	.p2align 4,,10
	.p2align 3
.L8:
	.cfi_restore_state
	cmp	eax, 132
	jne	.L1
	mov	rax, QWORD PTR 8[rbp]
	pop	rbx
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	lea	rsi, 12[r12]
	mov	rdi, r13
	pop	rbp
	.cfi_def_cfa_offset 32
	pop	r12
	.cfi_def_cfa_offset 24
	mov	rdx, QWORD PTR [rax]
	pop	r13
	.cfi_def_cfa_offset 16
	pop	r14
	.cfi_def_cfa_offset 8
	jmp	memcpy@PLT
	.p2align 4,,10
	.p2align 3
.L17:
	.cfi_restore_state
	add	rdi, r12
	call	byteswap256@PLT
	mov	eax, DWORD PTR 0[rbp]
	cmp	eax, 130
	jne	.L18
.L7:
	mov	rax, QWORD PTR 8[rbp]
	pop	rbx
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	mov	rsi, r12
	mov	rdi, r13
	pop	rbp
	.cfi_def_cfa_offset 32
	pop	r12
	.cfi_def_cfa_offset 24
	mov	rdx, QWORD PTR [rax]
	pop	r13
	.cfi_def_cfa_offset 16
	pop	r14
	.cfi_def_cfa_offset 8
	jmp	memcpy@PLT
	.p2align 4,,10
	.p2align 3
.L16:
	.cfi_restore_state
	mov	esi, r14d
	lea	rdi, .LC0[rip]
	call	panic@PLT
	jmp	.L5
	.p2align 4,,10
	.p2align 3
.L1:
	pop	rbx
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	pop	rbp
	.cfi_def_cfa_offset 32
	pop	r12
	.cfi_def_cfa_offset 24
	pop	r13
	.cfi_def_cfa_offset 16
	pop	r14
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L9:
	.cfi_restore_state
	mov	rdx, QWORD PTR LSB_ENTRY_SIZE[rip]
	mov	rdi, r13
	lea	rsi, [r12+rdx]
	call	memcpy@PLT
	mov	rdx, QWORD PTR LSB_ENTRY_SIZE[rip]
	mov	rsi, r12
	lea	rdi, 0[r13+rdx]
	jmp	.L13
	.cfi_endproc
.LFE0:
	.size	ccp_sha_copy_result, .-ccp_sha_copy_result
	.comm	XXX,4,4
	.comm	SHA_definitions,8,8
	.comm	LSB_ENTRY_SIZE,8,8
	.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_hardware.c_ccp_sha_copy_result.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"bogus sha version auth_mode %u\012\000"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	ccp_sha_copy_result, %function
ccp_sha_copy_result:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, r10, lr}
	ldr	r5, .L17
	mov	r8, r0
	mov	r7, r1
	mov	r6, r2
	mov	r4, #0
	ldr	r0, [r5]
	b	.L2
.L4:
	ldr	r3, [r0, r4, lsl #3]
	cmp	r3, r6
	beq	.L3
	add	r4, r4, #1
.L2:
	bl	nitems
	cmp	r0, r4
	lsl	r9, r4, #3
	ldr	r0, [r5]
	bhi	.L4
.L3:
	bl	nitems
	cmp	r0, r4
	beq	.L15
.L5:
	ldr	r4, [r5]
	mov	r0, r7
	add	r6, r4, r9
	bl	byteswap256
	ldr	r5, .L17+4
	ldr	r3, [r6, #4]
	ldr	r0, [r5]
	ldr	r3, [r3]
	cmp	r3, r0
	bgt	.L16
.L6:
	ldr	r3, [r4, r9]
	sub	r3, r3, #128
	cmp	r3, #4
	ldrls	pc, [pc, r3, asl #2]
	b	.L1
.L9:
	.word	.L12
	.word	.L11
	.word	.L10
	.word	.L1
	.word	.L8
.L8:
	ldr	r3, [r6, #4]
	mov	r0, r8
	add	r1, r7, #12
	ldr	r2, [r3]
	pop	{r4, r5, r6, r7, r8, r9, r10, lr}
	b	memcpy
.L10:
	ldr	r3, [r6, #4]
	mov	r1, r7
	mov	r0, r8
	pop	{r4, r5, r6, r7, r8, r9, r10, lr}
	ldr	r2, [r3]
	b	memcpy
.L11:
	ldr	r2, [r6, #4]
	ldr	r3, [r5]
	ldr	r2, [r2]
	add	r1, r3, r3, lsl #1
	sub	r1, r1, r2
	add	r1, r7, r1
	sub	r2, r2, r3
	mov	r0, r8
	bl	memcpy
	ldr	r3, [r6, #4]
	ldr	r2, [r5]
	ldr	r0, [r3]
	mov	r1, r7
	sub	r0, r0, r2
	add	r0, r8, r0
	pop	{r4, r5, r6, r7, r8, r9, r10, lr}
	b	memcpy
.L12:
	ldr	r2, [r5]
	mov	r0, r8
	add	r1, r7, r2
	bl	memcpy
	ldr	r2, [r5]
	mov	r1, r7
	add	r0, r8, r2
	pop	{r4, r5, r6, r7, r8, r9, r10, lr}
	b	memcpy
.L1:
	pop	{r4, r5, r6, r7, r8, r9, r10, pc}
.L16:
	add	r0, r7, r0
	bl	byteswap256
	b	.L6
.L15:
	mov	r1, r6
	ldr	r0, .L17+8
	bl	panic
	b	.L5
.L18:
	.align	2
.L17:
	.word	SHA_definitions
	.word	LSB_ENTRY_SIZE
	.word	.LC0
	.size	ccp_sha_copy_result, .-ccp_sha_copy_result
	.comm	XXX,4,4
	.comm	SHA_definitions,4,4
	.comm	LSB_ENTRY_SIZE,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
