	.file	"264025.c"
	.intel_syntax noprefix
	.text
	.globl	btea
	.type	btea, @function
btea:
.LFB0:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	mov	QWORD PTR -40[rbp], rdi
	mov	DWORD PTR -44[rbp], esi
	mov	QWORD PTR -56[rbp], rdx
	cmp	DWORD PTR -44[rbp], 1
	jle	.L2
	mov	eax, 52
	cdq
	idiv	DWORD PTR -44[rbp]
	add	eax, 6
	mov	DWORD PTR -8[rbp], eax
	mov	DWORD PTR -16[rbp], 0
	mov	eax, DWORD PTR -44[rbp]
	cdqe
	sal	rax, 2
	lea	rdx, -4[rax]
	mov	rax, QWORD PTR -40[rbp]
	add	rax, rdx
	mov	eax, DWORD PTR [rax]
	mov	DWORD PTR -20[rbp], eax
.L5:
	sub	DWORD PTR -16[rbp], 1640531527
	mov	eax, DWORD PTR -16[rbp]
	shr	eax, 2
	and	eax, 3
	mov	DWORD PTR -4[rbp], eax
	mov	DWORD PTR -12[rbp], 0
	jmp	.L3
.L4:
	mov	eax, DWORD PTR -12[rbp]
	add	eax, 1
	mov	eax, eax
	lea	rdx, 0[0+rax*4]
	mov	rax, QWORD PTR -40[rbp]
	add	rax, rdx
	mov	eax, DWORD PTR [rax]
	mov	DWORD PTR -24[rbp], eax
	mov	eax, DWORD PTR -12[rbp]
	lea	rdx, 0[0+rax*4]
	mov	rax, QWORD PTR -40[rbp]
	add	rax, rdx
	mov	edx, DWORD PTR [rax]
	mov	eax, DWORD PTR -20[rbp]
	shr	eax, 5
	mov	ecx, eax
	mov	eax, DWORD PTR -24[rbp]
	sal	eax, 2
	xor	ecx, eax
	mov	eax, DWORD PTR -24[rbp]
	shr	eax, 3
	mov	esi, eax
	mov	eax, DWORD PTR -20[rbp]
	sal	eax, 4
	xor	eax, esi
	lea	esi, [rcx+rax]
	mov	eax, DWORD PTR -16[rbp]
	xor	eax, DWORD PTR -24[rbp]
	mov	ecx, eax
	mov	eax, DWORD PTR -12[rbp]
	and	eax, 3
	xor	eax, DWORD PTR -4[rbp]
	mov	eax, eax
	lea	rdi, 0[0+rax*4]
	mov	rax, QWORD PTR -56[rbp]
	add	rax, rdi
	mov	eax, DWORD PTR [rax]
	xor	eax, DWORD PTR -20[rbp]
	add	eax, ecx
	xor	esi, eax
	mov	ecx, esi
	mov	eax, DWORD PTR -12[rbp]
	lea	rsi, 0[0+rax*4]
	mov	rax, QWORD PTR -40[rbp]
	add	rax, rsi
	add	edx, ecx
	mov	DWORD PTR [rax], edx
	mov	eax, DWORD PTR [rax]
	mov	DWORD PTR -20[rbp], eax
	add	DWORD PTR -12[rbp], 1
.L3:
	mov	eax, DWORD PTR -44[rbp]
	sub	eax, 1
	cmp	DWORD PTR -12[rbp], eax
	jb	.L4
	mov	rax, QWORD PTR -40[rbp]
	mov	eax, DWORD PTR [rax]
	mov	DWORD PTR -24[rbp], eax
	mov	eax, DWORD PTR -44[rbp]
	cdqe
	sal	rax, 2
	lea	rdx, -4[rax]
	mov	rax, QWORD PTR -40[rbp]
	add	rax, rdx
	mov	edx, DWORD PTR [rax]
	mov	eax, DWORD PTR -20[rbp]
	shr	eax, 5
	mov	ecx, eax
	mov	eax, DWORD PTR -24[rbp]
	sal	eax, 2
	xor	ecx, eax
	mov	eax, DWORD PTR -24[rbp]
	shr	eax, 3
	mov	esi, eax
	mov	eax, DWORD PTR -20[rbp]
	sal	eax, 4
	xor	eax, esi
	lea	esi, [rcx+rax]
	mov	eax, DWORD PTR -16[rbp]
	xor	eax, DWORD PTR -24[rbp]
	mov	ecx, eax
	mov	eax, DWORD PTR -12[rbp]
	and	eax, 3
	xor	eax, DWORD PTR -4[rbp]
	mov	eax, eax
	lea	rdi, 0[0+rax*4]
	mov	rax, QWORD PTR -56[rbp]
	add	rax, rdi
	mov	eax, DWORD PTR [rax]
	xor	eax, DWORD PTR -20[rbp]
	add	eax, ecx
	xor	esi, eax
	mov	ecx, esi
	mov	eax, DWORD PTR -44[rbp]
	cdqe
	sal	rax, 2
	lea	rsi, -4[rax]
	mov	rax, QWORD PTR -40[rbp]
	add	rax, rsi
	add	edx, ecx
	mov	DWORD PTR [rax], edx
	mov	eax, DWORD PTR [rax]
	mov	DWORD PTR -20[rbp], eax
	sub	DWORD PTR -8[rbp], 1
	cmp	DWORD PTR -8[rbp], 0
	jne	.L5
	jmp	.L10
.L2:
	cmp	DWORD PTR -44[rbp], -1
	jge	.L10
	neg	DWORD PTR -44[rbp]
	mov	eax, 52
	cdq
	idiv	DWORD PTR -44[rbp]
	add	eax, 6
	mov	DWORD PTR -8[rbp], eax
	mov	eax, DWORD PTR -8[rbp]
	imul	eax, eax, -1640531527
	mov	DWORD PTR -16[rbp], eax
	mov	rax, QWORD PTR -40[rbp]
	mov	eax, DWORD PTR [rax]
	mov	DWORD PTR -24[rbp], eax
.L9:
	mov	eax, DWORD PTR -16[rbp]
	shr	eax, 2
	and	eax, 3
	mov	DWORD PTR -4[rbp], eax
	mov	eax, DWORD PTR -44[rbp]
	sub	eax, 1
	mov	DWORD PTR -12[rbp], eax
	jmp	.L7
.L8:
	mov	eax, DWORD PTR -12[rbp]
	sub	eax, 1
	mov	eax, eax
	lea	rdx, 0[0+rax*4]
	mov	rax, QWORD PTR -40[rbp]
	add	rax, rdx
	mov	eax, DWORD PTR [rax]
	mov	DWORD PTR -20[rbp], eax
	mov	eax, DWORD PTR -12[rbp]
	lea	rdx, 0[0+rax*4]
	mov	rax, QWORD PTR -40[rbp]
	add	rax, rdx
	mov	edx, DWORD PTR [rax]
	mov	eax, DWORD PTR -20[rbp]
	shr	eax, 5
	mov	ecx, eax
	mov	eax, DWORD PTR -24[rbp]
	sal	eax, 2
	xor	ecx, eax
	mov	eax, DWORD PTR -24[rbp]
	shr	eax, 3
	mov	esi, eax
	mov	eax, DWORD PTR -20[rbp]
	sal	eax, 4
	xor	eax, esi
	lea	esi, [rcx+rax]
	mov	eax, DWORD PTR -16[rbp]
	xor	eax, DWORD PTR -24[rbp]
	mov	ecx, eax
	mov	eax, DWORD PTR -12[rbp]
	and	eax, 3
	xor	eax, DWORD PTR -4[rbp]
	mov	eax, eax
	lea	rdi, 0[0+rax*4]
	mov	rax, QWORD PTR -56[rbp]
	add	rax, rdi
	mov	eax, DWORD PTR [rax]
	xor	eax, DWORD PTR -20[rbp]
	add	eax, ecx
	xor	esi, eax
	mov	ecx, esi
	mov	eax, DWORD PTR -12[rbp]
	lea	rsi, 0[0+rax*4]
	mov	rax, QWORD PTR -40[rbp]
	add	rax, rsi
	sub	edx, ecx
	mov	DWORD PTR [rax], edx
	mov	eax, DWORD PTR [rax]
	mov	DWORD PTR -24[rbp], eax
	sub	DWORD PTR -12[rbp], 1
.L7:
	cmp	DWORD PTR -12[rbp], 0
	jne	.L8
	mov	eax, DWORD PTR -44[rbp]
	cdqe
	sal	rax, 2
	lea	rdx, -4[rax]
	mov	rax, QWORD PTR -40[rbp]
	add	rax, rdx
	mov	eax, DWORD PTR [rax]
	mov	DWORD PTR -20[rbp], eax
	mov	rax, QWORD PTR -40[rbp]
	mov	edx, DWORD PTR [rax]
	mov	eax, DWORD PTR -20[rbp]
	shr	eax, 5
	mov	ecx, eax
	mov	eax, DWORD PTR -24[rbp]
	sal	eax, 2
	xor	ecx, eax
	mov	eax, DWORD PTR -24[rbp]
	shr	eax, 3
	mov	esi, eax
	mov	eax, DWORD PTR -20[rbp]
	sal	eax, 4
	xor	eax, esi
	lea	esi, [rcx+rax]
	mov	eax, DWORD PTR -16[rbp]
	xor	eax, DWORD PTR -24[rbp]
	mov	ecx, eax
	mov	eax, DWORD PTR -12[rbp]
	and	eax, 3
	xor	eax, DWORD PTR -4[rbp]
	mov	eax, eax
	lea	rdi, 0[0+rax*4]
	mov	rax, QWORD PTR -56[rbp]
	add	rax, rdi
	mov	eax, DWORD PTR [rax]
	xor	eax, DWORD PTR -20[rbp]
	add	eax, ecx
	xor	eax, esi
	sub	edx, eax
	mov	rax, QWORD PTR -40[rbp]
	mov	DWORD PTR [rax], edx
	mov	rax, QWORD PTR -40[rbp]
	mov	eax, DWORD PTR [rax]
	mov	DWORD PTR -24[rbp], eax
	add	DWORD PTR -16[rbp], 1640531527
	sub	DWORD PTR -8[rbp], 1
	cmp	DWORD PTR -8[rbp], 0
	jne	.L9
.L10:
	nop
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE0:
	.size	btea, .-btea
	.ident	"GCC: (Ubuntu 10.5.0-1ubuntu1~20.04) 10.5.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, 6
	.eabi_attribute 34, 0
	.eabi_attribute 18, 4
	.file	"264025.c"
	.text
	.global	__aeabi_idiv
	.align	2
	.global	btea
	.syntax unified
	.arm
	.fpu softvfp
	.type	btea, %function
btea:
	@ args = 0, pretend = 0, frame = 40
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #40
	str	r0, [fp, #-32]
	str	r1, [fp, #-36]
	str	r2, [fp, #-40]
	ldr	r3, [fp, #-36]
	cmp	r3, #1
	ble	.L2
	ldr	r1, [fp, #-36]
	mov	r0, #52
	bl	__aeabi_idiv
	mov	r3, r0
	add	r3, r3, #6
	str	r3, [fp, #-12]
	mov	r3, #0
	str	r3, [fp, #-20]
	ldr	r3, [fp, #-36]
	sub	r3, r3, #-1073741823
	lsl	r3, r3, #2
	ldr	r2, [fp, #-32]
	add	r3, r2, r3
	ldr	r3, [r3]
	str	r3, [fp, #-24]
.L5:
	ldr	r2, [fp, #-20]
	ldr	r3, .L11
	add	r3, r2, r3
	str	r3, [fp, #-20]
	ldr	r3, [fp, #-20]
	lsr	r3, r3, #2
	and	r3, r3, #3
	str	r3, [fp, #-8]
	mov	r3, #0
	str	r3, [fp, #-16]
	b	.L3
.L4:
	ldr	r3, [fp, #-16]
	add	r3, r3, #1
	lsl	r3, r3, #2
	ldr	r2, [fp, #-32]
	add	r3, r2, r3
	ldr	r3, [r3]
	str	r3, [fp, #-28]
	ldr	r3, [fp, #-16]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-32]
	add	r3, r2, r3
	ldr	r1, [r3]
	ldr	r3, [fp, #-24]
	lsr	r2, r3, #5
	ldr	r3, [fp, #-28]
	lsl	r3, r3, #2
	eor	r2, r2, r3
	ldr	r3, [fp, #-28]
	lsr	r0, r3, #3
	ldr	r3, [fp, #-24]
	lsl	r3, r3, #4
	eor	r3, r3, r0
	add	r2, r2, r3
	ldr	r0, [fp, #-20]
	ldr	r3, [fp, #-28]
	eor	r0, r0, r3
	ldr	r3, [fp, #-16]
	and	ip, r3, #3
	ldr	r3, [fp, #-8]
	eor	r3, r3, ip
	lsl	r3, r3, #2
	ldr	ip, [fp, #-40]
	add	r3, ip, r3
	ldr	ip, [r3]
	ldr	r3, [fp, #-24]
	eor	r3, r3, ip
	add	r3, r0, r3
	eor	r2, r2, r3
	ldr	r3, [fp, #-16]
	lsl	r3, r3, #2
	ldr	r0, [fp, #-32]
	add	r3, r0, r3
	add	r2, r1, r2
	str	r2, [r3]
	ldr	r3, [r3]
	str	r3, [fp, #-24]
	ldr	r3, [fp, #-16]
	add	r3, r3, #1
	str	r3, [fp, #-16]
.L3:
	ldr	r3, [fp, #-36]
	sub	r3, r3, #1
	ldr	r2, [fp, #-16]
	cmp	r2, r3
	bcc	.L4
	ldr	r3, [fp, #-32]
	ldr	r3, [r3]
	str	r3, [fp, #-28]
	ldr	r3, [fp, #-36]
	sub	r3, r3, #-1073741823
	lsl	r3, r3, #2
	ldr	r2, [fp, #-32]
	add	r3, r2, r3
	ldr	r1, [r3]
	ldr	r3, [fp, #-24]
	lsr	r2, r3, #5
	ldr	r3, [fp, #-28]
	lsl	r3, r3, #2
	eor	r2, r2, r3
	ldr	r3, [fp, #-28]
	lsr	r0, r3, #3
	ldr	r3, [fp, #-24]
	lsl	r3, r3, #4
	eor	r3, r3, r0
	add	r2, r2, r3
	ldr	r0, [fp, #-20]
	ldr	r3, [fp, #-28]
	eor	r0, r0, r3
	ldr	r3, [fp, #-16]
	and	ip, r3, #3
	ldr	r3, [fp, #-8]
	eor	r3, r3, ip
	lsl	r3, r3, #2
	ldr	ip, [fp, #-40]
	add	r3, ip, r3
	ldr	ip, [r3]
	ldr	r3, [fp, #-24]
	eor	r3, r3, ip
	add	r3, r0, r3
	eor	r2, r2, r3
	ldr	r3, [fp, #-36]
	sub	r3, r3, #-1073741823
	lsl	r3, r3, #2
	ldr	r0, [fp, #-32]
	add	r3, r0, r3
	add	r2, r1, r2
	str	r2, [r3]
	ldr	r3, [r3]
	str	r3, [fp, #-24]
	ldr	r3, [fp, #-12]
	sub	r3, r3, #1
	str	r3, [fp, #-12]
	ldr	r3, [fp, #-12]
	cmp	r3, #0
	bne	.L5
	b	.L10
.L2:
	ldr	r3, [fp, #-36]
	cmn	r3, #1
	bge	.L10
	ldr	r3, [fp, #-36]
	rsb	r3, r3, #0
	str	r3, [fp, #-36]
	ldr	r1, [fp, #-36]
	mov	r0, #52
	bl	__aeabi_idiv
	mov	r3, r0
	add	r3, r3, #6
	str	r3, [fp, #-12]
	ldr	r3, [fp, #-12]
	ldr	r2, .L11
	mul	r3, r2, r3
	str	r3, [fp, #-20]
	ldr	r3, [fp, #-32]
	ldr	r3, [r3]
	str	r3, [fp, #-28]
.L9:
	ldr	r3, [fp, #-20]
	lsr	r3, r3, #2
	and	r3, r3, #3
	str	r3, [fp, #-8]
	ldr	r3, [fp, #-36]
	sub	r3, r3, #1
	str	r3, [fp, #-16]
	b	.L7
.L8:
	ldr	r3, [fp, #-16]
	sub	r3, r3, #-1073741823
	lsl	r3, r3, #2
	ldr	r2, [fp, #-32]
	add	r3, r2, r3
	ldr	r3, [r3]
	str	r3, [fp, #-24]
	ldr	r3, [fp, #-16]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-32]
	add	r3, r2, r3
	ldr	r1, [r3]
	ldr	r3, [fp, #-24]
	lsr	r2, r3, #5
	ldr	r3, [fp, #-28]
	lsl	r3, r3, #2
	eor	r2, r2, r3
	ldr	r3, [fp, #-28]
	lsr	r0, r3, #3
	ldr	r3, [fp, #-24]
	lsl	r3, r3, #4
	eor	r3, r3, r0
	add	r2, r2, r3
	ldr	r0, [fp, #-20]
	ldr	r3, [fp, #-28]
	eor	r0, r0, r3
	ldr	r3, [fp, #-16]
	and	ip, r3, #3
	ldr	r3, [fp, #-8]
	eor	r3, r3, ip
	lsl	r3, r3, #2
	ldr	ip, [fp, #-40]
	add	r3, ip, r3
	ldr	ip, [r3]
	ldr	r3, [fp, #-24]
	eor	r3, r3, ip
	add	r3, r0, r3
	eor	r2, r2, r3
	ldr	r3, [fp, #-16]
	lsl	r3, r3, #2
	ldr	r0, [fp, #-32]
	add	r3, r0, r3
	sub	r2, r1, r2
	str	r2, [r3]
	ldr	r3, [r3]
	str	r3, [fp, #-28]
	ldr	r3, [fp, #-16]
	sub	r3, r3, #1
	str	r3, [fp, #-16]
.L7:
	ldr	r3, [fp, #-16]
	cmp	r3, #0
	bne	.L8
	ldr	r3, [fp, #-36]
	sub	r3, r3, #-1073741823
	lsl	r3, r3, #2
	ldr	r2, [fp, #-32]
	add	r3, r2, r3
	ldr	r3, [r3]
	str	r3, [fp, #-24]
	ldr	r3, [fp, #-32]
	ldr	r2, [r3]
	ldr	r3, [fp, #-24]
	lsr	r1, r3, #5
	ldr	r3, [fp, #-28]
	lsl	r3, r3, #2
	eor	r1, r1, r3
	ldr	r3, [fp, #-28]
	lsr	r0, r3, #3
	ldr	r3, [fp, #-24]
	lsl	r3, r3, #4
	eor	r3, r3, r0
	add	r1, r1, r3
	ldr	r0, [fp, #-20]
	ldr	r3, [fp, #-28]
	eor	r0, r0, r3
	ldr	r3, [fp, #-16]
	and	ip, r3, #3
	ldr	r3, [fp, #-8]
	eor	r3, r3, ip
	lsl	r3, r3, #2
	ldr	ip, [fp, #-40]
	add	r3, ip, r3
	ldr	ip, [r3]
	ldr	r3, [fp, #-24]
	eor	r3, r3, ip
	add	r3, r0, r3
	eor	r3, r3, r1
	sub	r2, r2, r3
	ldr	r3, [fp, #-32]
	str	r2, [r3]
	ldr	r3, [fp, #-32]
	ldr	r3, [r3]
	str	r3, [fp, #-28]
	ldr	r2, [fp, #-20]
	ldr	r3, .L11+4
	add	r3, r2, r3
	str	r3, [fp, #-20]
	ldr	r3, [fp, #-12]
	sub	r3, r3, #1
	str	r3, [fp, #-12]
	ldr	r3, [fp, #-12]
	cmp	r3, #0
	bne	.L9
.L10:
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L12:
	.align	2
.L11:
	.word	-1640531527
	.word	1640531527
	.size	btea, .-btea
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
