	.file	"extr_gss_krb5_keys.c_krb5_nfold.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	krb5_nfold, @function
krb5_nfold:
.LFB0:
	.cfi_startproc
	endbr64
	push	r15
	.cfi_def_cfa_offset 16
	.cfi_offset 15, -16
	sar	edx, 3
	mov	r15d, edi
	push	r14
	.cfi_def_cfa_offset 24
	.cfi_offset 14, -24
	push	r13
	.cfi_def_cfa_offset 32
	.cfi_offset 13, -32
	mov	r13, rsi
	mov	esi, edx
	push	r12
	.cfi_def_cfa_offset 40
	.cfi_offset 12, -40
	mov	r12, rcx
	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	ebx, edi
	sar	ebx, 3
	mov	edi, ebx
	sub	rsp, 8
	.cfi_def_cfa_offset 64
	call	lcm@PLT
	mov	edx, ebp
	xor	esi, esi
	mov	rdi, r12
	mov	r14, rax
	call	memset@PLT
	mov	r8d, r14d
	sub	r8d, 1
	js	.L1
	mov	edi, r15d
	lea	r10d, -1[rbx]
	xor	r9d, r9d
	and	edi, -8
	lea	r14d, -1[rdi]
	lea	r11d, 13[rdi]
	.p2align 4,,10
	.p2align 3
.L3:
	mov	eax, r8d
	mov	ecx, ebx
	cdq
	idiv	ebx
	imul	eax, r11d
	sub	ecx, edx
	add	eax, r14d
	lea	eax, [rax+rcx*8]
	cdq
	idiv	edi
	mov	eax, r10d
	mov	r15d, edx
	mov	ecx, edx
	sar	r15d, 3
	and	ecx, 7
	sub	eax, r15d
	add	ecx, 1
	cdq
	idiv	ebx
	mov	eax, ebx
	sub	eax, r15d
	movsx	rdx, edx
	mov	esi, DWORD PTR 0[r13+rdx*4]
	cdq
	idiv	ebx
	mov	eax, r8d
	sal	esi, 8
	sub	r8d, 1
	movsx	rdx, edx
	or	esi, DWORD PTR 0[r13+rdx*4]
	cdq
	idiv	ebp
	sar	esi, cl
	movzx	esi, sil
	add	r9d, esi
	movsx	rdx, edx
	lea	rax, [r12+rdx*4]
	add	r9d, DWORD PTR [rax]
	movzx	edx, r9b
	sar	r9d, 8
	mov	DWORD PTR [rax], edx
	cmp	r8d, -1
	jne	.L3
	test	r9d, r9d
	je	.L1
	sub	ebp, 1
	js	.L1
	movsx	rbp, ebp
	.p2align 4,,10
	.p2align 3
.L5:
	add	r9d, DWORD PTR [r12+rbp*4]
	movzx	eax, r9b
	sar	r9d, 8
	mov	DWORD PTR [r12+rbp*4], eax
	sub	rbp, 1
	test	ebp, ebp
	jns	.L5
.L1:
	add	rsp, 8
	.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
	.cfi_endproc
.LFE0:
	.size	krb5_nfold, .-krb5_nfold
	.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_gss_krb5_keys.c_krb5_nfold.c"
	.text
	.global	__aeabi_idivmod
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	krb5_nfold, %function
krb5_nfold:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, r10, fp, lr}
	mov	r9, r1
	asr	r8, r2, #3
	asr	r7, r0, #3
	sub	sp, sp, #20
	mov	r1, r8
	mov	r10, r0
	mov	r0, r7
	mov	fp, r3
	str	r9, [sp]
	bl	lcm
	mov	r9, r0
	mov	r2, r8
	mov	r0, fp
	mov	r1, #0
	bl	memset
	subs	r9, r9, #1
	bmi	.L1
	bic	r10, r10, #7
	sub	r3, r10, #1
	str	r3, [sp, #4]
	add	r3, r10, #13
	str	r3, [sp, #8]
	sub	r3, r7, #1
	str	r3, [sp, #12]
	mov	r3, fp
	mov	r4, #0
	mov	fp, r10
	mov	r10, r3
.L3:
	mov	r0, r9
	mov	r1, r7
	bl	__aeabi_idivmod
	ldmib	sp, {r2, r3}
	mla	r3, r0, r3, r2
	sub	r1, r7, r1
	add	r0, r3, r1, lsl #3
	mov	r1, fp
	bl	__aeabi_idivmod
	mov	r6, r1
	ldr	r3, [sp, #12]
	mov	r1, r7
	sub	r0, r3, r6, asr #3
	bl	__aeabi_idivmod
	ldr	r3, [sp]
	asr	r0, r6, #3
	ldr	r5, [r3, r1, lsl #2]
	sub	r0, r7, r0
	mov	r1, r7
	bl	__aeabi_idivmod
	ldr	r3, [sp]
	lsl	r5, r5, #8
	ldr	r1, [r3, r1, lsl #2]
	mov	r0, r9
	orr	r5, r5, r1
	mov	r1, r8
	bl	__aeabi_idivmod
	and	r6, r6, #7
	add	r6, r6, #1
	asr	r5, r5, r6
	ldr	r3, [r10, r1, lsl #2]
	and	r5, r5, #255
	add	r5, r5, r4
	add	r3, r5, r3
	sub	r9, r9, #1
	and	r0, r3, #255
	cmn	r9, #1
	str	r0, [r10, r1, lsl #2]
	asr	r4, r3, #8
	bne	.L3
	cmp	r4, #0
	mov	fp, r10
	beq	.L1
	cmp	r8, #0
	ble	.L1
	add	r8, r10, r8, lsl #2
.L5:
	ldr	r3, [r8, #-4]!
	add	r4, r4, r3
	and	r3, r4, #255
	cmp	fp, r8
	str	r3, [r8]
	asr	r4, r4, #8
	bne	.L5
.L1:
	add	sp, sp, #20
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, r10, fp, pc}
	.size	krb5_nfold, .-krb5_nfold
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
