	.file	"extr_hifn7751.c_hifn_process.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	hifn_process, @function
hifn_process:
.LFB0:
	.cfi_startproc
	endbr64
	push	r15
	.cfi_def_cfa_offset 16
	.cfi_offset 15, -16
	push	r14
	.cfi_def_cfa_offset 24
	.cfi_offset 14, -24
	push	r13
	.cfi_def_cfa_offset 32
	.cfi_offset 13, -32
	mov	r13d, edx
	push	r12
	.cfi_def_cfa_offset 40
	.cfi_offset 12, -40
	push	rbp
	.cfi_def_cfa_offset 48
	.cfi_offset 6, -48
	mov	rbp, rsi
	push	rbx
	.cfi_def_cfa_offset 56
	.cfi_offset 3, -56
	sub	rsp, 24
	.cfi_def_cfa_offset 80
	call	device_get_softc@PLT
	test	rbp, rbp
	je	.L2
	cmp	QWORD PTR 32[rbp], 0
	je	.L2
	mov	edi, DWORD PTR 24[rbp]
	mov	rbx, rax
	call	crypto_get_driver_session@PLT
	mov	esi, DWORD PTR M_DEVBUF[rip]
	mov	edx, DWORD PTR M_NOWAIT[rip]
	mov	edi, 120
	or	edx, DWORD PTR M_ZERO[rip]
	mov	r15, rax
	call	malloc@PLT
	mov	r12, rax
	test	rax, rax
	je	.L58
	mov	edi, DWORD PTR 0[rbp]
	test	DWORD PTR CRYPTO_F_IMBUF[rip], edi
	je	.L7
	mov	r10, QWORD PTR 8[rbp]
	mov	QWORD PTR 112[rax], r10
	mov	QWORD PTR 104[rax], r10
.L8:
	mov	r14, QWORD PTR 16[rbp]
	test	r14, r14
	je	.L33
	mov	eax, DWORD PTR [r14]
	mov	r9, QWORD PTR 24[r14]
	lea	edx, -128[rax]
	test	r9, r9
	je	.L59
	cmp	edx, 3
	ja	.L16
	mov	eax, DWORD PTR [r9]
	lea	edx, -132[rax]
	cmp	edx, 3
	ja	.L33
	mov	edx, DWORD PTR 4[r9]
	test	DWORD PTR CRD_F_ENCRYPT[rip], edx
	jne	.L33
	mov	rcx, r9
	mov	edx, DWORD PTR HIFN_BASE_CMD_DECODE[rip]
	mov	r9, r14
	mov	r14, rcx
.L17:
	or	edx, DWORD PTR HIFN_BASE_CMD_CRYPT[rip]
	mov	QWORD PTR 80[r12], r14
	mov	DWORD PTR 48[r12], edx
	cmp	eax, 134
	je	.L18
	cmp	eax, 135
	je	.L19
	cmp	eax, 132
	je	.L20
	cmp	eax, 133
	jne	.L33
	mov	eax, DWORD PTR [r12]
	or	eax, DWORD PTR HIFN_CRYPT_CMD_ALG_RC4[rip]
.L22:
	mov	edx, DWORD PTR 12[r14]
	mov	ecx, DWORD PTR HIFN_CRYPT_CMD_ALG_MASK[rip]
	or	eax, DWORD PTR HIFN_CRYPT_CMD_NEW_KEY[rip]
	mov	DWORD PTR 64[r12], edx
	mov	edx, DWORD PTR 8[r14]
	and	ecx, eax
	mov	DWORD PTR [r12], eax
	sar	edx, 3
	cmp	ecx, DWORD PTR HIFN_CRYPT_CMD_ALG_AES[rip]
	mov	DWORD PTR 4[r12], edx
	je	.L60
.L30:
	test	r9, r9
	jne	.L61
.L34:
	mov	QWORD PTR 32[r12], rbp
	mov	ecx, r13d
	mov	rdx, rbp
	mov	rsi, r12
	mov	QWORD PTR 24[r12], r15
	mov	rdi, rbx
	mov	QWORD PTR 16[r12], rbx
	call	hifn_crypto@PLT
	mov	r13d, eax
	test	eax, eax
	je	.L1
	cmp	DWORD PTR ERESTART[rip], eax
	mov	esi, DWORD PTR M_DEVBUF[rip]
	jne	.L10
	mov	rdi, r12
	call	free@PLT
	mov	eax, DWORD PTR CRYPTO_SYMQ[rip]
	or	DWORD PTR [rbx], eax
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L2:
	add	DWORD PTR hifnstats[rip+4], 1
	mov	r13d, DWORD PTR EINVAL[rip]
.L1:
	add	rsp, 24
	.cfi_remember_state
	.cfi_def_cfa_offset 56
	mov	eax, r13d
	pop	rbx
	.cfi_def_cfa_offset 48
	pop	rbp
	.cfi_def_cfa_offset 40
	pop	r12
	.cfi_def_cfa_offset 32
	pop	r13
	.cfi_def_cfa_offset 24
	pop	r14
	.cfi_def_cfa_offset 16
	pop	r15
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L7:
	.cfi_restore_state
	test	DWORD PTR CRYPTO_F_IOV[rip], edi
	jne	.L62
.L33:
	mov	r13d, DWORD PTR EINVAL[rip]
	mov	esi, DWORD PTR M_DEVBUF[rip]
.L10:
	mov	rdi, r12
	call	free@PLT
	cmp	DWORD PTR EINVAL[rip], r13d
	je	.L63
.L40:
	add	DWORD PTR hifnstats[rip], 1
.L41:
	mov	DWORD PTR 4[rbp], r13d
	mov	rdi, rbp
	call	crypto_done@PLT
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L62:
	mov	r10, QWORD PTR 8[rbp]
	mov	QWORD PTR 96[rax], r10
	mov	QWORD PTR 88[rax], r10
	jmp	.L8
	.p2align 4,,10
	.p2align 3
.L58:
	add	DWORD PTR hifnstats[rip], 1
	mov	r13d, DWORD PTR ENOMEM[rip]
	cmp	DWORD PTR EINVAL[rip], r13d
	jne	.L40
.L63:
	add	DWORD PTR hifnstats[rip+4], 1
	jmp	.L41
	.p2align 4,,10
	.p2align 3
.L16:
	lea	edx, -132[rax]
	cmp	edx, 3
	ja	.L33
	mov	ecx, DWORD PTR [r9]
	lea	edx, -128[rcx]
	cmp	edx, 3
	ja	.L33
	mov	edx, DWORD PTR 4[r14]
	test	DWORD PTR CRD_F_ENCRYPT[rip], edx
	je	.L33
	mov	edx, DWORD PTR 48[r12]
	jmp	.L17
	.p2align 4,,10
	.p2align 3
.L59:
	cmp	edx, 3
	ja	.L64
.L13:
	mov	edx, DWORD PTR HIFN_BASE_CMD_MAC[rip]
	mov	QWORD PTR 56[r12], r14
	or	DWORD PTR 48[r12], edx
	cmp	eax, 130
	je	.L35
	jg	.L36
	cmp	eax, 128
	je	.L37
	cmp	eax, 129
	jne	.L34
	mov	eax, DWORD PTR HIFN_MAC_CMD_ALG_SHA1[rip]
	or	eax, DWORD PTR HIFN_MAC_CMD_RESULT[rip]
	or	eax, DWORD PTR HIFN_MAC_CMD_MODE_HASH[rip]
	or	eax, DWORD PTR HIFN_MAC_CMD_POS_IPSEC[rip]
	or	DWORD PTR 8[r12], eax
	jmp	.L34
	.p2align 4,,10
	.p2align 3
.L36:
	cmp	eax, 131
	jne	.L34
	mov	eax, DWORD PTR HIFN_MAC_CMD_ALG_MD5[rip]
	or	eax, DWORD PTR HIFN_MAC_CMD_RESULT[rip]
	or	eax, DWORD PTR HIFN_MAC_CMD_MODE_HASH[rip]
	or	eax, DWORD PTR HIFN_MAC_CMD_POS_IPSEC[rip]
	or	DWORD PTR 8[r12], eax
	jmp	.L34
	.p2align 4,,10
	.p2align 3
.L60:
	cmp	edx, 24
	je	.L31
	cmp	edx, 32
	je	.L32
	cmp	edx, 16
	jne	.L33
	or	eax, DWORD PTR HIFN_CRYPT_CMD_KSZ_128[rip]
	mov	DWORD PTR [r12], eax
	jmp	.L30
	.p2align 4,,10
	.p2align 3
.L37:
	mov	eax, DWORD PTR HIFN_MAC_CMD_ALG_SHA1[rip]
.L56:
	or	eax, DWORD PTR HIFN_MAC_CMD_RESULT[rip]
	or	eax, DWORD PTR HIFN_MAC_CMD_MODE_HMAC[rip]
	or	eax, DWORD PTR HIFN_MAC_CMD_POS_IPSEC[rip]
	or	eax, DWORD PTR HIFN_MAC_CMD_TRUNC[rip]
	or	eax, DWORD PTR 8[r12]
	or	eax, DWORD PTR HIFN_MAC_CMD_NEW_KEY[rip]
	mov	edx, DWORD PTR 8[r14]
	mov	rsi, QWORD PTR 40[r12]
	mov	DWORD PTR 8[r12], eax
	mov	edi, DWORD PTR 12[r14]
	sar	edx, 3
	call	bcopy@PLT
	mov	edi, DWORD PTR 8[r14]
	mov	rsi, QWORD PTR HIFN_MAC_KEY_LENGTH[rip]
	sar	edi, 3
	movsx	rdi, edi
	sub	rsi, rdi
	add	rdi, QWORD PTR 40[r12]
	call	bzero@PLT
	jmp	.L34
	.p2align 4,,10
	.p2align 3
.L35:
	mov	eax, DWORD PTR HIFN_MAC_CMD_ALG_MD5[rip]
	jmp	.L56
	.p2align 4,,10
	.p2align 3
.L61:
	mov	eax, DWORD PTR [r9]
	mov	r14, r9
	jmp	.L13
	.p2align 4,,10
	.p2align 3
.L18:
	mov	eax, DWORD PTR HIFN_CRYPT_CMD_ALG_AES[rip]
	or	eax, DWORD PTR HIFN_CRYPT_CMD_MODE_CBC[rip]
	or	eax, DWORD PTR HIFN_CRYPT_CMD_NEW_IV[rip]
	or	DWORD PTR [r12], eax
	mov	ecx, DWORD PTR HIFN_AES_IV_LENGTH[rip]
.L24:
	mov	eax, DWORD PTR 4[r14]
	mov	edx, DWORD PTR CRD_F_IV_EXPLICIT[rip]
	mov	rsi, QWORD PTR 72[r12]
	and	edx, eax
	test	DWORD PTR CRD_F_ENCRYPT[rip], eax
	je	.L25
	mov	QWORD PTR 8[rsp], r9
	test	edx, edx
	je	.L26
	mov	edi, DWORD PTR 20[r14]
	mov	edx, ecx
	mov	DWORD PTR [rsp], ecx
	call	bcopy@PLT
	mov	ecx, DWORD PTR [rsp]
	mov	r9, QWORD PTR 8[rsp]
.L27:
	mov	eax, DWORD PTR 4[r14]
	test	DWORD PTR CRD_F_IV_PRESENT[rip], eax
	je	.L28
	mov	eax, DWORD PTR [r12]
	jmp	.L22
	.p2align 4,,10
	.p2align 3
.L25:
	mov	QWORD PTR [rsp], r9
	test	edx, edx
	je	.L29
	mov	edi, DWORD PTR 20[r14]
	mov	edx, ecx
	call	bcopy@PLT
	mov	eax, DWORD PTR [r12]
	mov	r9, QWORD PTR [rsp]
	jmp	.L22
	.p2align 4,,10
	.p2align 3
.L20:
	mov	eax, DWORD PTR HIFN_CRYPT_CMD_ALG_DES[rip]
	or	eax, DWORD PTR HIFN_CRYPT_CMD_MODE_CBC[rip]
	or	eax, DWORD PTR HIFN_CRYPT_CMD_NEW_IV[rip]
	or	DWORD PTR [r12], eax
.L23:
	mov	ecx, DWORD PTR HIFN_IV_LENGTH[rip]
	jmp	.L24
	.p2align 4,,10
	.p2align 3
.L19:
	mov	eax, DWORD PTR HIFN_CRYPT_CMD_ALG_3DES[rip]
	or	eax, DWORD PTR HIFN_CRYPT_CMD_MODE_CBC[rip]
	or	eax, DWORD PTR HIFN_CRYPT_CMD_NEW_IV[rip]
	or	DWORD PTR [r12], eax
	jmp	.L23
	.p2align 4,,10
	.p2align 3
.L64:
	lea	edx, -132[rax]
	cmp	edx, 3
	ja	.L33
	mov	edx, DWORD PTR 48[r12]
	mov	ecx, DWORD PTR 4[r14]
	test	DWORD PTR CRD_F_ENCRYPT[rip], ecx
	jne	.L17
	or	edx, DWORD PTR HIFN_BASE_CMD_DECODE[rip]
	jmp	.L17
	.p2align 4,,10
	.p2align 3
.L29:
	mov	edx, DWORD PTR 16[r14]
	mov	r8, rsi
	mov	rsi, r10
	call	crypto_copydata@PLT
	mov	eax, DWORD PTR [r12]
	mov	r9, QWORD PTR [rsp]
	jmp	.L22
	.p2align 4,,10
	.p2align 3
.L26:
	mov	edi, DWORD PTR [r15]
	mov	edx, ecx
	mov	DWORD PTR [rsp], ecx
	call	bcopy@PLT
	mov	r9, QWORD PTR 8[rsp]
	mov	ecx, DWORD PTR [rsp]
	jmp	.L27
.L28:
	mov	edx, DWORD PTR 16[r14]
	mov	rsi, QWORD PTR 8[rbp]
	mov	QWORD PTR [rsp], r9
	mov	r8, QWORD PTR 72[r12]
	mov	edi, DWORD PTR 0[rbp]
	call	crypto_copyback@PLT
	mov	eax, DWORD PTR [r12]
	mov	r9, QWORD PTR [rsp]
	jmp	.L22
.L32:
	or	eax, DWORD PTR HIFN_CRYPT_CMD_KSZ_256[rip]
	mov	DWORD PTR [r12], eax
	jmp	.L30
.L31:
	or	eax, DWORD PTR HIFN_CRYPT_CMD_KSZ_192[rip]
	mov	DWORD PTR [r12], eax
	jmp	.L30
	.cfi_endproc
.LFE0:
	.size	hifn_process, .-hifn_process
	.comm	hifnstats,8,8
	.comm	hifn_debug,8,8
	.comm	M_ZERO,4,4
	.comm	M_NOWAIT,4,4
	.comm	M_DEVBUF,4,4
	.comm	HIFN_MAC_KEY_LENGTH,8,8
	.comm	HIFN_MAC_CMD_TRUNC,4,4
	.comm	HIFN_MAC_CMD_RESULT,4,4
	.comm	HIFN_MAC_CMD_POS_IPSEC,4,4
	.comm	HIFN_MAC_CMD_NEW_KEY,4,4
	.comm	HIFN_MAC_CMD_MODE_HMAC,4,4
	.comm	HIFN_MAC_CMD_MODE_HASH,4,4
	.comm	HIFN_MAC_CMD_ALG_SHA1,4,4
	.comm	HIFN_MAC_CMD_ALG_MD5,4,4
	.comm	HIFN_IV_LENGTH,4,4
	.comm	HIFN_CRYPT_CMD_NEW_KEY,4,4
	.comm	HIFN_CRYPT_CMD_NEW_IV,4,4
	.comm	HIFN_CRYPT_CMD_MODE_CBC,4,4
	.comm	HIFN_CRYPT_CMD_KSZ_256,4,4
	.comm	HIFN_CRYPT_CMD_KSZ_192,4,4
	.comm	HIFN_CRYPT_CMD_KSZ_128,4,4
	.comm	HIFN_CRYPT_CMD_ALG_RC4,4,4
	.comm	HIFN_CRYPT_CMD_ALG_MASK,4,4
	.comm	HIFN_CRYPT_CMD_ALG_DES,4,4
	.comm	HIFN_CRYPT_CMD_ALG_AES,4,4
	.comm	HIFN_CRYPT_CMD_ALG_3DES,4,4
	.comm	HIFN_BASE_CMD_MAC,4,4
	.comm	HIFN_BASE_CMD_DECODE,4,4
	.comm	HIFN_BASE_CMD_CRYPT,4,4
	.comm	HIFN_AES_IV_LENGTH,4,4
	.comm	ERESTART,4,4
	.comm	ENOMEM,4,4
	.comm	EINVAL,4,4
	.comm	CRYPTO_SYMQ,4,4
	.comm	CRYPTO_F_IOV,4,4
	.comm	CRYPTO_F_IMBUF,4,4
	.comm	CRD_F_KEY_EXPLICIT,4,4
	.comm	CRD_F_IV_PRESENT,4,4
	.comm	CRD_F_IV_EXPLICIT,4,4
	.comm	CRD_F_ENCRYPT,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_hifn7751.c_hifn_process.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	hifn_process, %function
hifn_process:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, r10, fp, lr}
	mov	r4, r1
	sub	sp, sp, #20
	mov	r7, r2
	bl	device_get_softc
	cmp	r4, #0
	beq	.L2
	ldr	r3, [r4, #20]
	cmp	r3, #0
	beq	.L2
	mov	r6, r0
	ldr	r0, [r4, #16]
	bl	crypto_get_driver_session
	ldr	r1, .L70
	ldr	r2, .L70+4
	ldr	r1, [r1]
	ldr	r2, [r2]
	ldr	r9, .L70+8
	orr	r2, r1, r2
	mov	fp, r0
	ldr	r1, [r9]
	mov	r0, #64
	bl	malloc
	subs	r5, r0, #0
	beq	.L65
	ldr	r3, .L70+12
	ldr	r0, [r4]
	ldr	r3, [r3]
	tst	r0, r3
	beq	.L7
	ldr	r1, [r4, #8]
	str	r1, [r5, #60]
	str	r1, [r5, #56]
.L8:
	ldr	r8, [r4, #12]
	cmp	r8, #0
	beq	.L33
	ldr	r10, [r8, #24]
	ldr	r3, [r8]
	cmp	r10, #0
	sub	r2, r3, #128
	beq	.L66
	cmp	r2, #3
	bhi	.L16
	ldr	r3, [r10]
	sub	r2, r3, #132
	cmp	r2, #3
	bhi	.L33
	ldr	r2, .L70+16
	ldr	lr, [r10, #4]
	ldr	ip, [r2]
	tst	lr, ip
	bne	.L33
	mov	lr, r10
	mov	r10, r8
	mov	r8, lr
	ldr	ip, .L70+20
	ldr	ip, [ip]
	str	ip, [sp, #8]
.L17:
	ldr	lr, .L70+24
	ldr	ip, [sp, #8]
	ldr	lr, [lr]
	sub	r3, r3, #133
	orr	ip, lr, ip
	str	r8, [r5, #44]
	str	ip, [r5, #28]
	cmp	r3, #2
	ldrls	pc, [pc, r3, asl #2]
	b	.L18
.L20:
	.word	.L22
	.word	.L21
	.word	.L19
.L2:
	ldr	r2, .L70+28
	ldr	r1, .L70+32
	ldr	r3, [r2, #4]
	ldr	r7, [r1]
	add	r3, r3, #1
	str	r3, [r2, #4]
.L1:
	mov	r0, r7
	add	sp, sp, #20
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, r10, fp, pc}
.L7:
	ldr	r3, .L70+36
	ldr	r3, [r3]
	tst	r0, r3
	bne	.L67
.L33:
	ldr	r6, .L70+32
	ldr	r1, [r9]
	ldr	r7, [r6]
.L10:
	mov	r0, r5
	bl	free
	ldr	r3, .L70+28
.L6:
	ldr	r2, [r6]
	mov	r0, r4
	cmp	r2, r7
	ldreq	r2, [r3, #4]
	ldrne	r2, [r3]
	addeq	r2, r2, #1
	streq	r2, [r3, #4]
	addne	r2, r2, #1
	str	r7, [r4, #4]
	strne	r2, [r3]
	bl	crypto_done
	mov	r0, r7
	add	sp, sp, #20
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, r10, fp, pc}
.L67:
	ldr	r1, [r4, #8]
	str	r1, [r5, #52]
	str	r1, [r5, #48]
	b	.L8
.L65:
	ldr	r3, .L70+28
	ldr	r1, .L70+40
	ldr	r2, [r3]
	ldr	r7, [r1]
	add	r2, r2, #1
	ldr	r6, .L70+32
	str	r2, [r3]
	b	.L6
.L16:
	sub	r2, r3, #132
	cmp	r2, #3
	bhi	.L33
	ldr	r2, [r10]
	sub	r2, r2, #128
	cmp	r2, #3
	bhi	.L33
	ldr	r2, .L70+16
	ldr	lr, [r8, #4]
	ldr	ip, [r2]
	tst	lr, ip
	beq	.L33
	ldr	ip, [r5, #28]
	str	ip, [sp, #8]
	b	.L17
.L66:
	cmp	r2, #3
	bhi	.L68
.L13:
	ldr	r1, .L70+44
	ldr	r3, [r5, #28]
	ldr	r1, [r1]
	str	r8, [r5, #32]
	orr	r3, r3, r1
	str	r3, [r5, #28]
	cmp	r2, #3
	ldrls	pc, [pc, r2, asl #2]
	b	.L34
.L36:
	.word	.L39
	.word	.L38
	.word	.L37
	.word	.L35
.L37:
	ldr	r3, .L70+48
.L62:
	ldr	r2, .L70+52
	ldr	r1, .L70+56
	ldr	r3, [r3]
	ldr	r2, [r2]
	ldr	r1, [r1]
	orr	r3, r3, r2
	ldr	r2, .L70+60
	orr	r3, r3, r1
	ldr	r1, .L70+64
	ldr	r2, [r2]
	ldr	r1, [r1]
	orr	r3, r3, r2
	orr	r3, r3, r1
	ldr	r1, .L70+68
	ldr	r2, [r5, #8]
	ldr	r1, [r1]
	orr	r3, r3, r2
	ldr	r2, [r8, #8]
	orr	r3, r1, r3
	asr	r2, r2, #3
	ldr	r1, [r5, #24]
	str	r3, [r5, #8]
	ldr	r0, [r8, #12]
	bl	bcopy
	ldr	r2, .L70+72
	ldr	r3, [r8, #8]
	ldr	r1, [r2]
	ldr	r0, [r5, #24]
	sub	r1, r1, r3, asr #3
	add	r0, r0, r3, asr #3
	bl	bzero
.L34:
	mov	r3, r7
	mov	r2, r4
	mov	r1, r5
	mov	r0, r6
	str	r4, [r5, #20]
	str	fp, [r5, #16]
	str	r6, [r5, #12]
	bl	hifn_crypto
	subs	r7, r0, #0
	beq	.L1
	ldr	r3, .L70+76
	ldr	r1, [r9]
	ldr	r3, [r3]
	cmp	r3, r7
	beq	.L58
	ldr	r6, .L70+32
	b	.L10
.L21:
	ldr	r3, .L70+80
	ldr	ip, .L70+84
	ldr	lr, .L70+88
	ldr	ip, [ip]
	str	r3, [sp, #8]
	ldr	r3, [r3]
	ldr	lr, [lr]
	orr	r3, r3, ip
	orr	r3, r3, lr
	ldr	ip, [r5]
	ldr	lr, .L70+92
	orr	r3, ip, r3
	ldr	ip, [lr]
	str	r3, [r5]
	str	ip, [sp, #12]
.L44:
	ldr	ip, .L70+96
	ldr	r3, [r8, #4]
	ldr	r2, [r2]
	ldr	ip, [ip]
	tst	r3, r2
	and	r3, r3, ip
	ldr	ip, [r5, #40]
	beq	.L25
	cmp	r3, #0
	ldr	r2, [sp, #12]
	ldrne	r0, [r8, #20]
	ldreq	r0, [fp]
	mov	r1, ip
	bl	bcopy
	ldr	r3, .L70+100
	ldr	r2, [r8, #4]
	ldr	r3, [r3]
	tst	r2, r3
	beq	.L28
.L60:
	ldr	r3, [r5]
.L23:
	ldr	r2, .L70+104
	ldr	r1, .L70+108
	ldr	r2, [r2]
	ldr	r0, [sp, #8]
	ldr	r1, [r1]
	orr	r3, r3, r2
	ldr	r0, [r0]
	ldr	r2, [r8, #8]
	ldr	ip, [r8, #12]
	and	r1, r1, r3
	asr	r2, r2, #3
	cmp	r1, r0
	str	r3, [r5]
	str	r2, [r5, #4]
	str	ip, [r5, #36]
	beq	.L69
.L30:
	cmp	r10, #0
	beq	.L34
	ldr	r3, [r10]
	mov	r8, r10
	sub	r2, r3, #128
	b	.L13
.L22:
	ldr	r2, .L70+112
	ldr	r3, [r5]
	ldr	r2, [r2]
	ldr	r1, .L70+80
	orr	r3, r3, r2
	str	r1, [sp, #8]
	b	.L23
.L19:
	ldr	r3, .L70+116
.L63:
	ldr	ip, .L70+84
	ldr	lr, .L70+88
	ldr	r3, [r3]
	ldr	ip, [ip]
	ldr	lr, [lr]
	orr	r3, r3, ip
	ldr	ip, [r5]
	orr	r3, r3, lr
	orr	r3, ip, r3
	str	r3, [r5]
	ldr	r3, .L70+120
	ldr	ip, .L70+80
	ldr	r3, [r3]
	str	ip, [sp, #8]
	str	r3, [sp, #12]
	b	.L44
.L35:
	ldr	r3, .L70+48
.L61:
	ldr	r2, .L70+52
	ldr	r3, [r3]
	ldr	r2, [r2]
	ldr	r1, .L70+124
	orr	r3, r3, r2
	ldr	r1, [r1]
	ldr	r2, .L70+60
	orr	r3, r3, r1
	ldr	r1, [r2]
	ldr	r2, [r5, #8]
	orr	r3, r3, r1
	orr	r3, r2, r3
	str	r3, [r5, #8]
	b	.L34
.L38:
	ldr	r3, .L70+128
	b	.L61
.L39:
	ldr	r3, .L70+128
	b	.L62
.L69:
	cmp	r2, #24
	beq	.L31
	cmp	r2, #32
	beq	.L32
	cmp	r2, #16
	bne	.L33
	ldr	r2, .L70+132
	ldr	r2, [r2]
	orr	r3, r2, r3
	str	r3, [r5]
	b	.L30
.L25:
	cmp	r3, #0
	beq	.L29
	mov	r1, ip
	ldr	r2, [sp, #12]
	ldr	r0, [r8, #20]
	bl	bcopy
	ldr	r3, [r5]
	b	.L23
.L68:
	sub	r2, r3, #132
	cmp	r2, #3
	bhi	.L33
	ldr	ip, [r5, #28]
	ldr	r2, .L70+16
	str	ip, [sp, #8]
	ldr	lr, [r2]
	ldr	ip, [r8, #4]
	tst	ip, lr
	bne	.L17
	ldr	lr, .L70+20
	ldr	ip, [sp, #8]
	ldr	lr, [lr]
	orr	ip, ip, lr
	str	ip, [sp, #8]
	b	.L17
.L58:
	mov	r0, r5
	bl	free
	ldr	r2, .L70+136
	ldr	r3, [r6]
	ldr	r2, [r2]
	orr	r3, r3, r2
	str	r3, [r6]
	b	.L1
.L29:
	ldr	r2, [r8, #16]
	ldr	r3, [sp, #12]
	str	ip, [sp]
	bl	crypto_copydata
	b	.L60
.L28:
	ldr	r1, [r5, #40]
	ldr	r2, [r8, #16]
	str	r1, [sp]
	ldr	r3, [sp, #12]
	ldr	r1, [r4, #8]
	ldr	r0, [r4]
	bl	crypto_copyback
	ldr	r3, [r5]
	b	.L23
.L32:
	ldr	r2, .L70+140
	ldr	r2, [r2]
	orr	r3, r2, r3
	str	r3, [r5]
	b	.L30
.L31:
	ldr	r2, .L70+144
	ldr	r2, [r2]
	orr	r3, r2, r3
	str	r3, [r5]
	b	.L30
.L18:
	ldr	r3, .L70+148
	b	.L63
.L71:
	.align	2
.L70:
	.word	M_NOWAIT
	.word	M_ZERO
	.word	M_DEVBUF
	.word	CRYPTO_F_IMBUF
	.word	CRD_F_ENCRYPT
	.word	HIFN_BASE_CMD_DECODE
	.word	HIFN_BASE_CMD_CRYPT
	.word	hifnstats
	.word	EINVAL
	.word	CRYPTO_F_IOV
	.word	ENOMEM
	.word	HIFN_BASE_CMD_MAC
	.word	HIFN_MAC_CMD_ALG_MD5
	.word	HIFN_MAC_CMD_RESULT
	.word	HIFN_MAC_CMD_MODE_HMAC
	.word	HIFN_MAC_CMD_POS_IPSEC
	.word	HIFN_MAC_CMD_TRUNC
	.word	HIFN_MAC_CMD_NEW_KEY
	.word	HIFN_MAC_KEY_LENGTH
	.word	ERESTART
	.word	HIFN_CRYPT_CMD_ALG_AES
	.word	HIFN_CRYPT_CMD_MODE_CBC
	.word	HIFN_CRYPT_CMD_NEW_IV
	.word	HIFN_AES_IV_LENGTH
	.word	CRD_F_IV_EXPLICIT
	.word	CRD_F_IV_PRESENT
	.word	HIFN_CRYPT_CMD_NEW_KEY
	.word	HIFN_CRYPT_CMD_ALG_MASK
	.word	HIFN_CRYPT_CMD_ALG_RC4
	.word	HIFN_CRYPT_CMD_ALG_3DES
	.word	HIFN_IV_LENGTH
	.word	HIFN_MAC_CMD_MODE_HASH
	.word	HIFN_MAC_CMD_ALG_SHA1
	.word	HIFN_CRYPT_CMD_KSZ_128
	.word	CRYPTO_SYMQ
	.word	HIFN_CRYPT_CMD_KSZ_256
	.word	HIFN_CRYPT_CMD_KSZ_192
	.word	HIFN_CRYPT_CMD_ALG_DES
	.size	hifn_process, .-hifn_process
	.comm	hifnstats,8,4
	.comm	hifn_debug,4,4
	.comm	M_ZERO,4,4
	.comm	M_NOWAIT,4,4
	.comm	M_DEVBUF,4,4
	.comm	HIFN_MAC_KEY_LENGTH,4,4
	.comm	HIFN_MAC_CMD_TRUNC,4,4
	.comm	HIFN_MAC_CMD_RESULT,4,4
	.comm	HIFN_MAC_CMD_POS_IPSEC,4,4
	.comm	HIFN_MAC_CMD_NEW_KEY,4,4
	.comm	HIFN_MAC_CMD_MODE_HMAC,4,4
	.comm	HIFN_MAC_CMD_MODE_HASH,4,4
	.comm	HIFN_MAC_CMD_ALG_SHA1,4,4
	.comm	HIFN_MAC_CMD_ALG_MD5,4,4
	.comm	HIFN_IV_LENGTH,4,4
	.comm	HIFN_CRYPT_CMD_NEW_KEY,4,4
	.comm	HIFN_CRYPT_CMD_NEW_IV,4,4
	.comm	HIFN_CRYPT_CMD_MODE_CBC,4,4
	.comm	HIFN_CRYPT_CMD_KSZ_256,4,4
	.comm	HIFN_CRYPT_CMD_KSZ_192,4,4
	.comm	HIFN_CRYPT_CMD_KSZ_128,4,4
	.comm	HIFN_CRYPT_CMD_ALG_RC4,4,4
	.comm	HIFN_CRYPT_CMD_ALG_MASK,4,4
	.comm	HIFN_CRYPT_CMD_ALG_DES,4,4
	.comm	HIFN_CRYPT_CMD_ALG_AES,4,4
	.comm	HIFN_CRYPT_CMD_ALG_3DES,4,4
	.comm	HIFN_BASE_CMD_MAC,4,4
	.comm	HIFN_BASE_CMD_DECODE,4,4
	.comm	HIFN_BASE_CMD_CRYPT,4,4
	.comm	HIFN_AES_IV_LENGTH,4,4
	.comm	ERESTART,4,4
	.comm	ENOMEM,4,4
	.comm	EINVAL,4,4
	.comm	CRYPTO_SYMQ,4,4
	.comm	CRYPTO_F_IOV,4,4
	.comm	CRYPTO_F_IMBUF,4,4
	.comm	CRD_F_KEY_EXPLICIT,4,4
	.comm	CRD_F_IV_PRESENT,4,4
	.comm	CRD_F_IV_EXPLICIT,4,4
	.comm	CRD_F_ENCRYPT,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
