	.file	"169416.c"
	.intel_syntax noprefix
	.text
	.section	.rodata
.LC0:
	.string	"%u\n"
	.text
	.globl	main
	.type	main, @function
main:
.LFB0:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 32
	mov	DWORD PTR -20[rbp], edi
	mov	QWORD PTR -32[rbp], rsi
	mov	DWORD PTR -4[rbp], 1
	jmp	.L2
.L3:
	add	DWORD PTR -4[rbp], 1
.L2:
	mov	eax, DWORD PTR -4[rbp]
	mov	esi, 6
	mov	edi, eax
	call	mult_permutation
	test	eax, eax
	je	.L3
	mov	eax, DWORD PTR -4[rbp]
	mov	esi, eax
	lea	rdi, .LC0[rip]
	mov	eax, 0
	call	printf@PLT
	mov	eax, 0
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE0:
	.size	main, .-main
	.globl	mult_permutation
	.type	mult_permutation, @function
mult_permutation:
.LFB1:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 32
	mov	DWORD PTR -20[rbp], edi
	mov	DWORD PTR -24[rbp], esi
	mov	DWORD PTR -8[rbp], 2
	jmp	.L6
.L9:
	mov	eax, DWORD PTR -20[rbp]
	imul	eax, DWORD PTR -8[rbp]
	mov	DWORD PTR -4[rbp], eax
	mov	edx, DWORD PTR -4[rbp]
	mov	eax, DWORD PTR -20[rbp]
	mov	esi, edx
	mov	edi, eax
	call	permuted
	test	eax, eax
	jne	.L7
	mov	eax, 0
	jmp	.L8
.L7:
	add	DWORD PTR -8[rbp], 1
.L6:
	mov	eax, DWORD PTR -8[rbp]
	cmp	eax, DWORD PTR -24[rbp]
	jle	.L9
	mov	eax, 1
.L8:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE1:
	.size	mult_permutation, .-mult_permutation
	.globl	permuted
	.type	permuted, @function
permuted:
.LFB2:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	mov	DWORD PTR -36[rbp], edi
	mov	DWORD PTR -40[rbp], esi
	mov	QWORD PTR -24[rbp], 0
	mov	QWORD PTR -16[rbp], 0
	mov	QWORD PTR -8[rbp], 0
	mov	DWORD PTR -28[rbp], 0
	jmp	.L11
.L13:
	mov	QWORD PTR -8[rbp], 1
	mov	ecx, DWORD PTR -36[rbp]
	movsx	rax, ecx
	imul	rax, rax, 1717986919
	shr	rax, 32
	sar	eax, 2
	mov	esi, ecx
	sar	esi, 31
	sub	eax, esi
	mov	edx, eax
	mov	eax, edx
	sal	eax, 2
	add	eax, edx
	add	eax, eax
	sub	ecx, eax
	mov	edx, ecx
	mov	ecx, edx
	sal	QWORD PTR -8[rbp], cl
	mov	rax, QWORD PTR -8[rbp]
	xor	QWORD PTR -24[rbp], rax
	mov	QWORD PTR -8[rbp], 1
	mov	ecx, DWORD PTR -40[rbp]
	movsx	rax, ecx
	imul	rax, rax, 1717986919
	shr	rax, 32
	sar	eax, 2
	mov	esi, ecx
	sar	esi, 31
	sub	eax, esi
	mov	edx, eax
	mov	eax, edx
	sal	eax, 2
	add	eax, edx
	add	eax, eax
	sub	ecx, eax
	mov	edx, ecx
	mov	ecx, edx
	sal	QWORD PTR -8[rbp], cl
	mov	rax, QWORD PTR -8[rbp]
	xor	QWORD PTR -16[rbp], rax
	mov	ecx, DWORD PTR -36[rbp]
	movsx	rax, ecx
	imul	rax, rax, 1717986919
	shr	rax, 32
	sar	eax, 2
	mov	esi, ecx
	sar	esi, 31
	sub	eax, esi
	mov	edx, eax
	mov	eax, edx
	sal	eax, 2
	add	eax, edx
	add	eax, eax
	sub	ecx, eax
	mov	edx, ecx
	add	DWORD PTR -28[rbp], edx
	mov	ecx, DWORD PTR -40[rbp]
	movsx	rax, ecx
	imul	rax, rax, 1717986919
	shr	rax, 32
	sar	eax, 2
	mov	esi, ecx
	sar	esi, 31
	sub	eax, esi
	mov	edx, eax
	mov	eax, edx
	sal	eax, 2
	add	eax, edx
	add	eax, eax
	sub	ecx, eax
	mov	edx, ecx
	sub	DWORD PTR -28[rbp], edx
	mov	eax, DWORD PTR -36[rbp]
	movsx	rdx, eax
	imul	rdx, rdx, 1717986919
	shr	rdx, 32
	sar	edx, 2
	sar	eax, 31
	mov	ecx, eax
	mov	eax, edx
	sub	eax, ecx
	mov	DWORD PTR -36[rbp], eax
	mov	eax, DWORD PTR -40[rbp]
	movsx	rdx, eax
	imul	rdx, rdx, 1717986919
	shr	rdx, 32
	sar	edx, 2
	sar	eax, 31
	mov	ecx, eax
	mov	eax, edx
	sub	eax, ecx
	mov	DWORD PTR -40[rbp], eax
.L11:
	cmp	DWORD PTR -36[rbp], 0
	je	.L12
	cmp	DWORD PTR -40[rbp], 0
	jne	.L13
.L12:
	mov	rax, QWORD PTR -24[rbp]
	cmp	rax, QWORD PTR -16[rbp]
	jne	.L14
	cmp	DWORD PTR -28[rbp], 0
	jne	.L14
	mov	eax, 1
	jmp	.L16
.L14:
	mov	eax, 0
.L16:
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE2:
	.size	permuted, .-permuted
	.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	"169416.c"
	.text
	.section	.rodata
	.align	2
.LC0:
	.ascii	"%u\012\000"
	.text
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #16
	str	r0, [fp, #-16]
	str	r1, [fp, #-20]
	mov	r3, #1
	str	r3, [fp, #-8]
	b	.L2
.L3:
	ldr	r3, [fp, #-8]
	add	r3, r3, #1
	str	r3, [fp, #-8]
.L2:
	mov	r1, #6
	ldr	r0, [fp, #-8]
	bl	mult_permutation
	mov	r3, r0
	cmp	r3, #0
	beq	.L3
	ldr	r1, [fp, #-8]
	ldr	r0, .L5
	bl	printf
	mov	r3, #0
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L6:
	.align	2
.L5:
	.word	.LC0
	.size	main, .-main
	.align	2
	.global	mult_permutation
	.syntax unified
	.arm
	.fpu softvfp
	.type	mult_permutation, %function
mult_permutation:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #16
	str	r0, [fp, #-16]
	str	r1, [fp, #-20]
	mov	r3, #2
	str	r3, [fp, #-12]
	b	.L8
.L11:
	ldr	r3, [fp, #-16]
	ldr	r2, [fp, #-12]
	mul	r3, r2, r3
	str	r3, [fp, #-8]
	ldr	r1, [fp, #-8]
	ldr	r0, [fp, #-16]
	bl	permuted
	mov	r3, r0
	cmp	r3, #0
	bne	.L9
	mov	r3, #0
	b	.L10
.L9:
	ldr	r3, [fp, #-12]
	add	r3, r3, #1
	str	r3, [fp, #-12]
.L8:
	ldr	r2, [fp, #-12]
	ldr	r3, [fp, #-20]
	cmp	r2, r3
	ble	.L11
	mov	r3, #1
.L10:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
	.size	mult_permutation, .-mult_permutation
	.align	2
	.global	permuted
	.syntax unified
	.arm
	.fpu softvfp
	.type	permuted, %function
permuted:
	@ args = 0, pretend = 0, frame = 48
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, r10, fp, lr}
	add	fp, sp, #32
	sub	sp, sp, #52
	str	r0, [fp, #-72]
	str	r1, [fp, #-76]
	mov	r0, #0
	mov	r1, #0
	str	r0, [fp, #-60]
	str	r1, [fp, #-56]
	mov	r0, #0
	mov	r1, #0
	str	r0, [fp, #-52]
	str	r1, [fp, #-48]
	mov	r0, #0
	mov	r1, #0
	str	r0, [fp, #-44]
	str	r1, [fp, #-40]
	mov	r1, #0
	str	r1, [fp, #-64]
	b	.L13
.L15:
	mov	r0, #1
	mov	r1, #0
	str	r0, [fp, #-44]
	str	r1, [fp, #-40]
	ldr	r0, [fp, #-72]
	ldr	r1, .L19
	smull	ip, r1, r0, r1
	asr	ip, r1, #2
	asr	r1, r0, #31
	sub	ip, ip, r1
	mov	r1, ip
	lsl	r1, r1, #2
	add	r1, r1, ip
	lsl	r1, r1, #1
	sub	ip, r0, r1
	sub	r1, fp, #44
	ldmia	r1, {r0-r1}
	sub	r10, ip, #32
	rsb	lr, ip, #32
	lsl	r3, r1, ip
	orr	r3, r3, r0, lsl r10
	orr	r3, r3, r0, lsr lr
	lsl	r2, r0, ip
	str	r2, [fp, #-44]
	str	r3, [fp, #-40]
	sub	r1, fp, #60
	ldmia	r1, {r0-r1}
	str	r0, [fp, #-84]
	str	r1, [fp, #-80]
	sub	r1, fp, #44
	ldmia	r1, {r0-r1}
	ldr	ip, [fp, #-84]
	eor	r6, ip, r0
	ldr	ip, [fp, #-80]
	eor	r7, ip, r1
	str	r6, [fp, #-60]
	str	r7, [fp, #-56]
	mov	r0, #1
	mov	r1, #0
	str	r0, [fp, #-44]
	str	r1, [fp, #-40]
	ldr	r0, [fp, #-76]
	ldr	r1, .L19
	smull	ip, r1, r0, r1
	asr	ip, r1, #2
	asr	r1, r0, #31
	sub	ip, ip, r1
	mov	r1, ip
	lsl	r1, r1, #2
	add	r1, r1, ip
	lsl	r1, r1, #1
	sub	ip, r0, r1
	sub	r1, fp, #44
	ldmia	r1, {r0-r1}
	sub	r10, ip, #32
	rsb	lr, ip, #32
	lsl	r5, r1, ip
	orr	r5, r5, r0, lsl r10
	orr	r5, r5, r0, lsr lr
	lsl	r4, r0, ip
	str	r4, [fp, #-44]
	str	r5, [fp, #-40]
	sub	r1, fp, #52
	ldmia	r1, {r0-r1}
	str	r0, [fp, #-84]
	str	r1, [fp, #-80]
	sub	r1, fp, #44
	ldmia	r1, {r0-r1}
	ldr	ip, [fp, #-84]
	eor	r8, ip, r0
	ldr	ip, [fp, #-80]
	eor	r9, ip, r1
	str	r8, [fp, #-52]
	str	r9, [fp, #-48]
	ldr	ip, [fp, #-72]
	ldr	r1, .L19
	smull	r0, r1, ip, r1
	asr	r0, r1, #2
	asr	r1, ip, #31
	sub	r0, r0, r1
	mov	r1, r0
	lsl	r1, r1, #2
	add	r1, r1, r0
	lsl	r1, r1, #1
	sub	r0, ip, r1
	ldr	r1, [fp, #-64]
	add	r1, r1, r0
	str	r1, [fp, #-64]
	ldr	ip, [fp, #-76]
	ldr	r1, .L19
	smull	r0, r1, ip, r1
	asr	r0, r1, #2
	asr	r1, ip, #31
	sub	r0, r0, r1
	mov	r1, r0
	lsl	r1, r1, #2
	add	r1, r1, r0
	lsl	r1, r1, #1
	sub	r0, ip, r1
	ldr	r1, [fp, #-64]
	sub	r1, r1, r0
	str	r1, [fp, #-64]
	ldr	r1, [fp, #-72]
	ldr	r0, .L19
	smull	ip, r0, r1, r0
	asr	r0, r0, #2
	asr	r1, r1, #31
	sub	r1, r0, r1
	str	r1, [fp, #-72]
	ldr	r1, [fp, #-76]
	ldr	r0, .L19
	smull	ip, r0, r1, r0
	asr	r0, r0, #2
	asr	r1, r1, #31
	sub	r1, r0, r1
	str	r1, [fp, #-76]
.L13:
	ldr	r1, [fp, #-72]
	cmp	r1, #0
	beq	.L14
	ldr	r1, [fp, #-76]
	cmp	r1, #0
	bne	.L15
.L14:
	sub	r1, fp, #60
	ldmia	r1, {r0-r1}
	sub	r3, fp, #52
	ldmia	r3, {r2-r3}
	cmp	r1, r3
	cmpeq	r0, r2
	bne	.L16
	ldr	r3, [fp, #-64]
	cmp	r3, #0
	bne	.L16
	mov	r3, #1
	b	.L18
.L16:
	mov	r3, #0
.L18:
	mov	r0, r3
	sub	sp, fp, #32
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, r10, fp, pc}
.L20:
	.align	2
.L19:
	.word	1717986919
	.size	permuted, .-permuted
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
