	.file	"extr_crypto-arcfour.c_ARCFOUR_subdecrypt.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"hmac failed"
.LC1:
	.string	"malloc failed"
	.text
	.p2align 4
	.type	ARCFOUR_subdecrypt, @function
ARCFOUR_subdecrypt:
.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, r8d
	push	r12
	.cfi_def_cfa_offset 40
	.cfi_offset 12, -40
	push	rbp
	.cfi_def_cfa_offset 48
	.cfi_offset 6, -48
	mov	rbp, rdx
	push	rbx
	.cfi_def_cfa_offset 56
	.cfi_offset 3, -56
	mov	rbx, rsi
	sub	rsp, 232
	.cfi_def_cfa_offset 288
	mov	DWORD PTR 12[rsp], edi
	mov	edi, DWORD PTR CKSUMTYPE_RSA_MD5[rip]
	lea	r14, 144[rsp]
	mov	QWORD PTR 16[rsp], rcx
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 216[rsp], rax
	xor	eax, eax
	call	_krb5_find_checksum@PLT
	mov	QWORD PTR 72[rsp], r14
	mov	r9, rbx
	xor	r8d, r8d
	mov	DWORD PTR 140[rsp], r13d
	lea	rdx, 140[rsp]
	mov	r12, rax
	xor	edi, edi
	mov	DWORD PTR 64[rsp], 16
	sub	rsp, 8
	.cfi_def_cfa_offset 296
	mov	ecx, 4
	mov	rsi, r12
	lea	rax, 72[rsp]
	push	rax
	.cfi_def_cfa_offset 304
	call	_krb5_internal_hmac@PLT
	pop	r8
	.cfi_def_cfa_offset 296
	pop	r9
	.cfi_def_cfa_offset 288
	test	rax, rax
	jne	.L22
.L2:
	lea	r13, 160[rsp]
	mov	edx, 16
	mov	rsi, r14
	mov	rdi, r13
	lea	rbx, 56[rsp]
	call	memcpy@PLT
	movdqa	xmm0, XMMWORD PTR 64[rsp]
	mov	rsi, r12
	xor	edi, edi
	lea	rax, 112[rsp]
	mov	r9, rbx
	xor	r8d, r8d
	mov	ecx, 16
	mov	QWORD PTR 24[rsp], rax
	mov	rdx, rbp
	mov	QWORD PTR 56[rsp], rax
	lea	rax, 176[rsp]
	sub	rsp, 8
	.cfi_def_cfa_offset 296
	movaps	XMMWORD PTR 120[rsp], xmm0
	mov	DWORD PTR 88[rsp], 16
	mov	QWORD PTR 40[rsp], rax
	mov	QWORD PTR 96[rsp], rax
	lea	rax, 88[rsp]
	push	rax
	.cfi_def_cfa_offset 304
	call	_krb5_internal_hmac@PLT
	pop	rsi
	.cfi_def_cfa_offset 296
	pop	rdi
	.cfi_def_cfa_offset 288
	test	rax, rax
	jne	.L23
	xor	eax, eax
	call	EVP_CIPHER_CTX_new@PLT
	mov	r15, rax
	test	rax, rax
	je	.L24
.L4:
	mov	rcx, QWORD PTR 88[rsp]
	xor	eax, eax
	mov	QWORD PTR 40[rsp], rcx
	call	EVP_rc4@PLT
	mov	rcx, QWORD PTR 40[rsp]
	xor	r9d, r9d
	xor	r8d, r8d
	mov	esi, eax
	xor	edx, edx
	mov	rdi, r15
	call	EVP_CipherInit_ex@PLT
	mov	rcx, QWORD PTR 16[rsp]
	lea	rdx, 16[rbp]
	mov	rdi, r15
	mov	rsi, rdx
	mov	QWORD PTR 16[rsp], rdx
	sub	rcx, 16
	mov	QWORD PTR 40[rsp], rcx
	call	EVP_Cipher@PLT
	mov	rdi, r15
	call	EVP_CIPHER_CTX_free@PLT
	mov	rax, QWORD PTR 24[rsp]
	mov	r9, rbx
	xor	r8d, r8d
	mov	DWORD PTR 112[rsp], 16
	mov	rsi, r12
	xor	edi, edi
	mov	QWORD PTR 56[rsp], rax
	lea	rax, 192[rsp]
	sub	rsp, 8
	.cfi_def_cfa_offset 296
	mov	QWORD PTR 128[rsp], r13
	mov	DWORD PTR 104[rsp], 16
	mov	QWORD PTR 112[rsp], rax
	lea	rax, 104[rsp]
	push	rax
	.cfi_def_cfa_offset 304
	mov	rcx, QWORD PTR 56[rsp]
	mov	rdx, QWORD PTR 32[rsp]
	call	_krb5_internal_hmac@PLT
	pop	rdx
	.cfi_def_cfa_offset 296
	pop	rcx
	.cfi_def_cfa_offset 288
	test	rax, rax
	jne	.L25
.L5:
	xor	esi, esi
	mov	edx, 16
	mov	rdi, r14
	call	memset@PLT
	xor	esi, esi
	mov	edx, 16
	mov	rdi, r13
	call	memset@PLT
	mov	rdi, QWORD PTR 32[rsp]
	xor	esi, esi
	mov	edx, 16
	call	memset@PLT
	mov	rdi, QWORD PTR 104[rsp]
	mov	edx, 16
	mov	rsi, rbp
	call	ct_memcmp@PLT
	test	rax, rax
	jne	.L26
.L1:
	mov	rbx, QWORD PTR 216[rsp]
	xor	rbx, QWORD PTR fs:40
	jne	.L27
	add	rsp, 232
	.cfi_remember_state
	.cfi_def_cfa_offset 56
	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
.L22:
	.cfi_restore_state
	mov	edi, DWORD PTR 12[rsp]
	lea	rsi, .LC0[rip]
	call	krb5_abortx@PLT
	jmp	.L2
	.p2align 4,,10
	.p2align 3
.L26:
	mov	edi, DWORD PTR 12[rsp]
	call	krb5_clear_error_message@PLT
	mov	rax, QWORD PTR KRB5KRB_AP_ERR_BAD_INTEGRITY[rip]
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L25:
	mov	edi, DWORD PTR 12[rsp]
	lea	rsi, .LC0[rip]
	call	krb5_abortx@PLT
	jmp	.L5
	.p2align 4,,10
	.p2align 3
.L23:
	mov	edi, DWORD PTR 12[rsp]
	lea	rsi, .LC0[rip]
	call	krb5_abortx@PLT
	xor	eax, eax
	call	EVP_CIPHER_CTX_new@PLT
	mov	r15, rax
	test	rax, rax
	jne	.L4
.L24:
	mov	edi, DWORD PTR 12[rsp]
	lea	rsi, .LC1[rip]
	call	krb5_abortx@PLT
	jmp	.L4
.L27:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	ARCFOUR_subdecrypt, .-ARCFOUR_subdecrypt
	.comm	KRB5KRB_AP_ERR_BAD_INTEGRITY,8,8
	.comm	CKSUMTYPE_RSA_MD5,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_crypto-arcfour.c_ARCFOUR_subdecrypt.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"hmac failed\000"
	.align	2
.LC1:
	.ascii	"malloc failed\000"
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC2:
	.word	__stack_chk_guard
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	ARCFOUR_subdecrypt, %function
ARCFOUR_subdecrypt:
	@ args = 8, pretend = 0, frame = 120
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, r10, fp, lr}
	ldr	ip, .L28
	sub	sp, sp, #140
	mov	r6, r3
	ldr	r3, .L28+4
	str	r0, [sp, #20]
	ldr	r0, [ip]
	mov	r4, r1
	mov	r8, r2
	ldr	r3, [r3]
	str	r3, [sp, #132]
	mov	r3,#0
	ldr	r10, [sp, #176]
	bl	_krb5_find_checksum
	mov	r3, #0
	mov	ip, #16
	add	r7, sp, #32
	mov	r1, r0
	str	r3, [sp]
	mov	r9, r0
	str	r4, [sp, #4]
	mov	r0, r3
	str	r7, [sp, #8]
	mov	r3, #4
	add	r5, sp, #68
	add	r2, sp, #64
	str	r10, [sp, #64]
	str	ip, [sp, #32]
	str	r5, [sp, #36]
	bl	_krb5_internal_hmac
	cmp	r0, #0
	bne	.L22
.L2:
	ldm	r5, {r0, r1, r2, r3}
	mov	ip, #16
	mov	lr, #0
	add	r4, sp, #84
	stm	r4, {r0, r1, r2, r3}
	ldm	r7, {r0, r1}
	add	r2, sp, #40
	add	r3, sp, #56
	stm	r3, {r0, r1}
	str	r2, [sp, #8]
	add	r2, sp, #28
	mov	r3, ip
	mov	r0, lr
	str	lr, [sp]
	str	r2, [sp, #4]
	add	lr, sp, #56
	str	ip, [sp, #40]
	mov	r2, r8
	add	ip, sp, #100
	mov	r1, r9
	str	lr, [sp, #28]
	str	ip, [sp, #44]
	bl	_krb5_internal_hmac
	cmp	r0, #0
	bne	.L23
	bl	EVP_CIPHER_CTX_new
	subs	r7, r0, #0
	beq	.L24
.L4:
	bl	EVP_rc4
	mov	r10, #0
	mov	r1, r0
	sub	r6, r6, #16
	add	fp, r8, #16
	mov	r2, r10
	ldr	r3, [sp, #44]
	mov	r0, r7
	str	r10, [sp, #4]
	str	r10, [sp]
	bl	EVP_CipherInit_ex
	mov	r3, r6
	mov	r2, fp
	mov	r1, fp
	mov	r0, r7
	bl	EVP_Cipher
	mov	r0, r7
	bl	EVP_CIPHER_CTX_free
	mov	ip, #16
	add	lr, sp, #48
	add	r1, sp, #28
	mov	r3, r6
	str	r1, [sp, #4]
	str	lr, [sp, #8]
	mov	r2, fp
	add	lr, sp, #116
	mov	r0, r10
	mov	r1, r9
	str	r10, [sp]
	add	r6, sp, #56
	str	r6, [sp, #28]
	str	r4, [sp, #60]
	str	ip, [sp, #56]
	str	ip, [sp, #48]
	str	lr, [sp, #52]
	bl	_krb5_internal_hmac
	cmp	r0, r10
	bne	.L25
.L5:
	mov	r3, #0
	mov	r1, r8
	str	r3, [sp, #84]
	mov	r2, #16
	ldr	r0, [sp, #52]
	str	r3, [r4, #4]
	str	r3, [r4, #8]
	str	r3, [r4, #12]
	str	r3, [sp, #68]
	str	r3, [sp, #100]
	str	r3, [r5, #4]
	str	r3, [r5, #8]
	str	r3, [r5, #12]
	str	r3, [sp, #104]
	str	r3, [sp, #108]
	str	r3, [sp, #112]
	bl	ct_memcmp
	cmp	r0, #0
	bne	.L26
.L1:
	ldr	r3, .L28+4
	ldr	r2, [r3]
	ldr	r3, [sp, #132]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L27
	add	sp, sp, #140
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, r10, fp, pc}
.L22:
	ldr	r1, .L28+8
	ldr	r0, [sp, #20]
	bl	krb5_abortx
	b	.L2
.L26:
	ldr	r0, [sp, #20]
	bl	krb5_clear_error_message
	ldr	r3, .L28+12
	ldr	r0, [r3]
	b	.L1
.L25:
	ldr	r1, .L28+8
	ldr	r0, [sp, #20]
	bl	krb5_abortx
	b	.L5
.L23:
	ldr	r1, .L28+8
	ldr	r0, [sp, #20]
	bl	krb5_abortx
	bl	EVP_CIPHER_CTX_new
	subs	r7, r0, #0
	bne	.L4
.L24:
	ldr	r1, .L28+16
	ldr	r0, [sp, #20]
	bl	krb5_abortx
	b	.L4
.L27:
	bl	__stack_chk_fail
.L29:
	.align	2
.L28:
	.word	CKSUMTYPE_RSA_MD5
	.word	.LC2
	.word	.LC0
	.word	KRB5KRB_AP_ERR_BAD_INTEGRITY
	.word	.LC1
	.size	ARCFOUR_subdecrypt, .-ARCFOUR_subdecrypt
	.comm	KRB5KRB_AP_ERR_BAD_INTEGRITY,4,4
	.comm	CKSUMTYPE_RSA_MD5,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
