	.file	"extr_get_mic.c_mic_des3.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"\001\001"
	.section	.rodata
.LC1:
	.string	"\004"
	.string	""
	.section	.rodata.str1.1
.LC2:
	.string	"\377\377\377\377"
	.text
	.p2align 4
	.type	mic_des3, @function
mic_des3:
.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
	mov	r14, rsi
	push	r13
	.cfi_def_cfa_offset 32
	.cfi_offset 13, -32
	push	r12
	.cfi_def_cfa_offset 40
	.cfi_offset 12, -40
	mov	r12, r8
	push	rbp
	.cfi_def_cfa_offset 48
	.cfi_offset 6, -48
	mov	ebp, edx
	push	rbx
	.cfi_def_cfa_offset 56
	.cfi_offset 3, -56
	mov	rbx, r9
	sub	rsp, 152
	.cfi_def_cfa_offset 208
	mov	ecx, DWORD PTR GSS_KRB5_MECHANISM[rip]
	mov	QWORD PTR 8[rsp], rdi
	lea	rdx, 72[rsp]
	lea	rsi, 64[rsp]
	mov	rax, QWORD PTR 208[rsp]
	mov	edi, 36
	mov	QWORD PTR 16[rsp], rax
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 136[rsp], rax
	xor	eax, eax
	call	_gsskrb5_encap_length@PLT
	mov	rdi, QWORD PTR 72[rsp]
	mov	QWORD PTR [rbx], rdi
	call	malloc@PLT
	mov	QWORD PTR 8[rbx], rax
	test	rax, rax
	je	.L16
	mov	ecx, DWORD PTR GSS_KRB5_MECHANISM[rip]
	mov	rsi, QWORD PTR 64[rsp]
	mov	rdi, rax
	lea	rdx, .LC0[rip]
	call	_gsskrb5_make_header@PLT
	mov	edx, 2
	lea	rsi, .LC1[rip]
	mov	r13, rax
	mov	rdi, rax
	call	memcpy@PLT
	lea	rdi, 2[r13]
	mov	edx, 4
	lea	rsi, .LC2[rip]
	call	memcpy@PLT
	mov	eax, DWORD PTR [r12]
	lea	edi, 8[rax]
	call	malloc@PLT
	mov	r15, rax
	test	rax, rax
	je	.L18
	lea	rsi, -2[r13]
	mov	edx, 8
	mov	rdi, rax
	call	memcpy@PLT
	mov	rsi, QWORD PTR 8[r12]
	mov	edx, DWORD PTR [r12]
	lea	rdi, 8[r15]
	call	memcpy@PLT
	lea	rax, 60[rsp]
	xor	edx, edx
	mov	edi, ebp
	mov	rsi, QWORD PTR 16[rsp]
	mov	rcx, rax
	mov	QWORD PTR 32[rsp], rax
	call	krb5_crypto_init@PLT
	test	rax, rax
	jne	.L19
	sub	rsp, 8
	.cfi_def_cfa_offset 216
	mov	rax, QWORD PTR [r12]
	mov	edx, DWORD PTR KRB5_KU_USAGE_SIGN[rip]
	xor	ecx, ecx
	lea	r12, 88[rsp]
	mov	r8, r15
	mov	edi, ebp
	push	r12
	.cfi_def_cfa_offset 224
	mov	esi, DWORD PTR 76[rsp]
	lea	r9d, 8[rax]
	call	krb5_create_checksum@PLT
	mov	rdi, r15
	mov	QWORD PTR 40[rsp], rax
	call	free@PLT
	mov	esi, DWORD PTR 76[rsp]
	mov	edi, ebp
	call	krb5_crypto_destroy@PLT
	pop	rcx
	.cfi_def_cfa_offset 216
	pop	rsi
	.cfi_def_cfa_offset 208
	cmp	QWORD PTR 24[rsp], 0
	jne	.L20
	lea	r8, 14[r13]
	mov	edx, DWORD PTR 88[rsp]
	mov	rsi, QWORD PTR 80[rsp]
	mov	rdi, r8
	mov	QWORD PTR 24[rsp], r8
	call	memcpy@PLT
	lea	rax, 4[r14]
	mov	rdi, rax
	mov	QWORD PTR 40[rsp], rax
	call	HEIMDAL_MUTEX_lock@PLT
	mov	esi, DWORD PTR 8[r14]
	lea	rdx, 56[rsp]
	mov	edi, ebp
	call	krb5_auth_con_getlocalseqnumber@PLT
	mov	eax, DWORD PTR 56[rsp]
	lea	rdi, 124[rsp]
	mov	edx, 4
	mov	DWORD PTR 120[rsp], eax
	mov	eax, DWORD PTR [r14]
	and	eax, DWORD PTR LOCAL[rip]
	cmp	eax, 1
	sbb	esi, esi
	movzx	esi, sil
	call	memset@PLT
	mov	rcx, QWORD PTR 32[rsp]
	mov	edx, DWORD PTR ETYPE_DES3_CBC_NONE[rip]
	mov	edi, ebp
	mov	rsi, QWORD PTR 16[rsp]
	call	krb5_crypto_init@PLT
	mov	r8, QWORD PTR 24[rsp]
	test	rax, rax
	mov	r15, rax
	jne	.L15
	mov	eax, DWORD PTR [r14]
	lea	r15, 128[rsp]
	mov	edx, 8
	test	DWORD PTR COMPAT_OLD_DES3[rip], eax
	je	.L9
	xor	esi, esi
	mov	rdi, r15
	call	memset@PLT
.L10:
	lea	r9, 96[rsp]
	lea	rcx, 120[rsp]
	sub	rsp, 8
	.cfi_def_cfa_offset 216
	mov	edi, ebp
	push	r15
	.cfi_def_cfa_offset 224
	mov	edx, DWORD PTR KRB5_KU_USAGE_SEQ[rip]
	mov	r8d, 8
	mov	esi, DWORD PTR 76[rsp]
	mov	QWORD PTR 32[rsp], r9
	call	krb5_encrypt_ivec@PLT
	mov	esi, DWORD PTR 76[rsp]
	mov	edi, ebp
	mov	r15, rax
	call	krb5_crypto_destroy@PLT
	test	r15, r15
	pop	rax
	.cfi_def_cfa_offset 216
	pop	rdx
	.cfi_def_cfa_offset 208
	mov	r9, QWORD PTR 16[rsp]
	jne	.L15
	xor	edi, edi
	cmp	DWORD PTR 96[rsp], 8
	mov	QWORD PTR 16[rsp], r9
	sete	dil
	call	assert@PLT
	mov	edx, DWORD PTR 96[rsp]
	mov	rsi, QWORD PTR 104[rsp]
	lea	rdi, 6[r13]
	call	memcpy@PLT
	mov	r9, QWORD PTR 16[rsp]
	mov	rdi, r9
	call	krb5_data_free@PLT
	mov	eax, DWORD PTR 56[rsp]
	mov	esi, DWORD PTR 8[r14]
	mov	edi, ebp
	lea	edx, 1[rax]
	mov	DWORD PTR 56[rsp], edx
	call	krb5_auth_con_setlocalseqnumber@PLT
	mov	rdi, QWORD PTR 40[rsp]
	call	HEIMDAL_MUTEX_unlock@PLT
	mov	rdi, r12
	call	free_Checksum@PLT
	mov	rax, QWORD PTR 8[rsp]
	mov	QWORD PTR [rax], 0
	mov	rax, QWORD PTR GSS_S_COMPLETE[rip]
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L18:
	mov	rdi, QWORD PTR 8[rbx]
	call	free@PLT
	mov	QWORD PTR 8[rbx], 0
.L16:
	mov	rax, QWORD PTR ENOMEM[rip]
	mov	rcx, QWORD PTR 8[rsp]
	mov	QWORD PTR [rbx], 0
	mov	QWORD PTR [rcx], rax
	mov	rax, QWORD PTR GSS_S_FAILURE[rip]
.L1:
	mov	rcx, QWORD PTR 136[rsp]
	xor	rcx, QWORD PTR fs:40
	jne	.L21
	add	rsp, 152
	.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
.L19:
	.cfi_restore_state
	mov	rdi, QWORD PTR 8[rbx]
	mov	QWORD PTR 16[rsp], rax
	call	free@PLT
	mov	QWORD PTR 8[rbx], 0
	mov	rdi, r15
	mov	QWORD PTR [rbx], 0
	call	free@PLT
	mov	rax, QWORD PTR 8[rsp]
	mov	rdx, QWORD PTR 16[rsp]
	mov	QWORD PTR [rax], rdx
	mov	rax, QWORD PTR GSS_S_FAILURE[rip]
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L15:
	mov	rdi, QWORD PTR 8[rbx]
	call	free@PLT
	mov	rax, QWORD PTR 8[rsp]
	mov	QWORD PTR 8[rbx], 0
	mov	QWORD PTR [rbx], 0
	mov	QWORD PTR [rax], r15
	mov	rax, QWORD PTR GSS_S_FAILURE[rip]
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L20:
	mov	rdi, QWORD PTR 8[rbx]
	call	free@PLT
	mov	QWORD PTR 8[rbx], 0
	mov	rax, QWORD PTR 8[rsp]
	mov	QWORD PTR [rbx], 0
	mov	rbx, QWORD PTR 24[rsp]
	mov	QWORD PTR [rax], rbx
	mov	rax, QWORD PTR GSS_S_FAILURE[rip]
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L9:
	mov	rsi, r8
	mov	rdi, r15
	call	memcpy@PLT
	jmp	.L10
.L21:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	mic_des3, .-mic_des3
	.comm	LOCAL,4,4
	.comm	KRB5_KU_USAGE_SIGN,4,4
	.comm	KRB5_KU_USAGE_SEQ,4,4
	.comm	GSS_S_FAILURE,8,8
	.comm	GSS_S_COMPLETE,8,8
	.comm	GSS_KRB5_MECHANISM,4,4
	.comm	ETYPE_DES3_CBC_NONE,4,4
	.comm	ENOMEM,8,8
	.comm	COMPAT_OLD_DES3,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_get_mic.c_mic_des3.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"\001\001\000"
	.align	2
.LC2:
	.ascii	"\377\377\377\377\000"
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC3:
	.word	__stack_chk_guard
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	mic_des3, %function
mic_des3:
	@ args = 12, pretend = 0, frame = 64
	@ frame_needed = 0, uses_anonymous_args = 0
	mov	ip, r0
	push	{r4, r5, r6, r7, r8, r9, r10, fp, lr}
	ldr	r5, .L22
	sub	sp, sp, #84
	str	ip, [sp, #16]
	ldr	ip, .L22+4
	ldr	r3, [r5]
	mov	r9, r1
	mov	r4, r2
	add	r1, sp, #32
	add	r2, sp, #36
	mov	r0, #36
	ldr	r8, [sp, #124]
	ldr	ip, [ip]
	str	ip, [sp, #76]
	mov	ip,#0
	ldr	r10, [sp, #120]
	ldr	fp, [sp, #128]
	bl	_gsskrb5_encap_length
	ldr	r0, [sp, #36]
	str	r0, [r8]
	bl	malloc
	cmp	r0, #0
	str	r0, [r8, #4]
	beq	.L15
	ldr	r3, [r5]
	ldr	r2, .L22+8
	ldr	r1, [sp, #32]
	bl	_gsskrb5_make_header
	mov	r6, r0
	mov	r2, #2
	ldr	r1, .L22+12
	bl	memcpy
	mov	r2, #4
	ldr	r1, .L22+16
	add	r0, r6, #2
	bl	memcpy
	ldr	r7, [r10]
	add	r0, r7, #8
	bl	malloc
	subs	r5, r0, #0
	beq	.L16
	mov	r2, #8
	sub	r1, r6, #2
	bl	memcpy
	mov	r2, r7
	ldr	r1, [r10, #4]
	add	r0, r5, #8
	bl	memcpy
	mov	r2, #0
	mov	r1, fp
	mov	r0, r4
	add	r3, sp, #40
	bl	krb5_crypto_init
	subs	r7, r0, #0
	bne	.L17
	ldr	r3, [r10]
	ldr	r2, .L22+20
	add	r3, r3, #8
	str	r3, [sp, #4]
	str	r5, [sp]
	add	r3, sp, #44
	ldr	r2, [r2]
	ldr	r1, [sp, #40]
	str	r3, [sp, #8]
	mov	r0, r4
	mov	r3, r7
	bl	krb5_create_checksum
	mov	r10, r0
	mov	r0, r5
	bl	free
	mov	r0, r4
	ldr	r1, [sp, #40]
	bl	krb5_crypto_destroy
	cmp	r10, #0
	bne	.L18
	add	r5, r6, #14
	add	r3, r9, #4
	ldr	r2, [sp, #48]
	ldr	r1, [sp, #44]
	mov	r0, r5
	str	r3, [sp, #20]
	bl	memcpy
	add	r0, r9, #4
	bl	HEIMDAL_MUTEX_lock
	ldr	r1, [r9, #8]
	add	r2, sp, #28
	mov	r0, r4
	bl	krb5_auth_con_getlocalseqnumber
	ldr	r2, .L22+24
	ldr	r0, [r9]
	ldr	r1, [r2]
	ldr	r2, .L22+28
	tst	r0, r1
	moveq	r10, #255
	and	ip, r10, #255
	ldr	lr, [sp, #28]
	add	ip, ip, ip, lsl #8
	mov	r1, fp
	add	ip, ip, ip, lsl #16
	mov	r0, r4
	ldr	r2, [r2]
	add	r3, sp, #40
	str	ip, [sp, #64]
	str	lr, [sp, #60]
	bl	krb5_crypto_init
	subs	fp, r0, #0
	bne	.L19
	ldr	r3, .L22+32
	ldr	r2, [r9]
	ldr	r3, [r3]
	tst	r2, r3
	add	r3, sp, #68
	strne	fp, [sp, #68]
	strne	fp, [r3, #4]
	bne	.L10
	mov	r0, r3
	mov	r1, r5
	mov	r2, #8
	bl	memcpy
	mov	r3, r0
.L10:
	mov	r1, #8
	ldr	r2, .L22+36
	str	r3, [sp, #8]
	str	r1, [sp]
	add	r7, sp, #52
	ldr	r2, [r2]
	ldr	r1, [sp, #40]
	add	r3, sp, #60
	mov	r0, r4
	str	r7, [sp, #4]
	bl	krb5_encrypt_ivec
	mov	r5, r0
	ldr	r1, [sp, #40]
	mov	r0, r4
	bl	krb5_crypto_destroy
	cmp	r5, #0
	bne	.L20
	ldr	r0, [sp, #52]
	sub	r0, r0, #8
	clz	r0, r0
	lsr	r0, r0, #5
	bl	assert
	ldr	r2, [sp, #52]
	ldr	r1, [sp, #56]
	add	r0, r6, #6
	bl	memcpy
	mov	r0, r7
	bl	krb5_data_free
	ldr	r2, [sp, #28]
	ldr	r1, [r9, #8]
	add	r2, r2, #1
	mov	r0, r4
	str	r2, [sp, #28]
	bl	krb5_auth_con_setlocalseqnumber
	ldr	r0, [sp, #20]
	bl	HEIMDAL_MUTEX_unlock
	add	r0, sp, #44
	bl	free_Checksum
	ldr	r2, [sp, #16]
	ldr	r3, .L22+40
	str	r5, [r2]
	ldr	r0, [r3]
.L1:
	ldr	r3, .L22+4
	ldr	r2, [r3]
	ldr	r3, [sp, #76]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L21
	add	sp, sp, #84
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, r10, fp, pc}
.L18:
	ldr	r0, [r8, #4]
	bl	free
	ldr	r3, [sp, #16]
	ldr	r2, .L22+44
	str	r7, [r8, #4]
	str	r7, [r8]
	str	r10, [r3]
	ldr	r0, [r2]
	b	.L1
.L17:
	ldr	r0, [r8, #4]
	bl	free
	mov	r3, #0
	mov	r0, r5
	str	r3, [r8, #4]
	str	r3, [r8]
	bl	free
	ldr	r2, [sp, #16]
	ldr	r3, .L22+44
	str	r7, [r2]
	ldr	r0, [r3]
	b	.L1
.L20:
	ldr	r0, [r8, #4]
	bl	free
	mov	r3, #0
	str	r3, [r8, #4]
	str	r3, [r8]
	ldr	r3, [sp, #16]
	ldr	r2, .L22+44
	str	r5, [r3]
	ldr	r0, [r2]
	b	.L1
.L19:
	ldr	r0, [r8, #4]
	bl	free
	ldr	r2, [sp, #16]
	ldr	r3, .L22+44
	str	r7, [r8]
	str	r7, [r8, #4]
	str	fp, [r2]
	ldr	r0, [r3]
	b	.L1
.L15:
	ldr	r1, .L22+48
	ldr	r3, [sp, #16]
	ldr	r1, [r1]
	ldr	r2, .L22+44
	str	r0, [r8]
	str	r1, [r3]
	ldr	r0, [r2]
	b	.L1
.L21:
	bl	__stack_chk_fail
.L16:
	ldr	r0, [r8, #4]
	bl	free
	ldr	r2, .L22+48
	ldr	r1, [sp, #16]
	ldr	r2, [r2]
	ldr	r3, .L22+44
	str	r5, [r8]
	str	r5, [r8, #4]
	str	r2, [r1]
	ldr	r0, [r3]
	b	.L1
.L23:
	.align	2
.L22:
	.word	GSS_KRB5_MECHANISM
	.word	.LC3
	.word	.LC0
	.word	.LANCHOR0
	.word	.LC2
	.word	KRB5_KU_USAGE_SIGN
	.word	LOCAL
	.word	ETYPE_DES3_CBC_NONE
	.word	COMPAT_OLD_DES3
	.word	KRB5_KU_USAGE_SEQ
	.word	GSS_S_COMPLETE
	.word	GSS_S_FAILURE
	.word	ENOMEM
	.size	mic_des3, .-mic_des3
	.comm	LOCAL,4,4
	.comm	KRB5_KU_USAGE_SIGN,4,4
	.comm	KRB5_KU_USAGE_SEQ,4,4
	.comm	GSS_S_FAILURE,4,4
	.comm	GSS_S_COMPLETE,4,4
	.comm	GSS_KRB5_MECHANISM,4,4
	.comm	ETYPE_DES3_CBC_NONE,4,4
	.comm	ENOMEM,4,4
	.comm	COMPAT_OLD_DES3,4,4
	.section	.rodata
	.align	2
	.set	.LANCHOR0,. + 0
.LC1:
	.ascii	"\004\000\000"
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
