	.file	"883975.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, 4096
	or	QWORD PTR [rsp], 0
	sub	rsp, 4096
	or	QWORD PTR [rsp], 0
	sub	rsp, 1856
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	DWORD PTR -10040[rbp], 0
	mov	QWORD PTR -10016[rbp], 0
	mov	QWORD PTR -10008[rbp], 0
	lea	rax, -10000[rbp]
	mov	edx, 9984
	mov	esi, 0
	mov	rdi, rax
	call	memset@PLT
	mov	DWORD PTR -10036[rbp], 1
	jmp	.L2
.L6:
	mov	DWORD PTR -10032[rbp], 1000
	jmp	.L3
.L5:
	mov	eax, DWORD PTR -10036[rbp]
	imul	eax, DWORD PTR -10032[rbp]
	mov	DWORD PTR -10020[rbp], eax
	mov	edx, DWORD PTR -10020[rbp]
	mov	ecx, DWORD PTR -10032[rbp]
	mov	eax, DWORD PTR -10036[rbp]
	mov	esi, ecx
	mov	edi, eax
	call	is_pandigital
	test	eax, eax
	je	.L4
	mov	eax, DWORD PTR -10020[rbp]
	cdqe
	movzx	eax, BYTE PTR -10016[rbp+rax]
	test	al, al
	jne	.L4
	mov	eax, DWORD PTR -10020[rbp]
	add	DWORD PTR -10040[rbp], eax
	mov	eax, DWORD PTR -10020[rbp]
	cdqe
	mov	BYTE PTR -10016[rbp+rax], 1
.L4:
	add	DWORD PTR -10032[rbp], 1
.L3:
	cmp	DWORD PTR -10032[rbp], 9999
	jle	.L5
	add	DWORD PTR -10036[rbp], 1
.L2:
	cmp	DWORD PTR -10036[rbp], 9
	jle	.L6
	mov	DWORD PTR -10028[rbp], 10
	jmp	.L7
.L11:
	mov	DWORD PTR -10024[rbp], 100
	jmp	.L8
.L10:
	mov	eax, DWORD PTR -10028[rbp]
	imul	eax, DWORD PTR -10024[rbp]
	mov	DWORD PTR -10020[rbp], eax
	mov	edx, DWORD PTR -10020[rbp]
	mov	ecx, DWORD PTR -10024[rbp]
	mov	eax, DWORD PTR -10028[rbp]
	mov	esi, ecx
	mov	edi, eax
	call	is_pandigital
	test	eax, eax
	je	.L9
	mov	eax, DWORD PTR -10020[rbp]
	cdqe
	movzx	eax, BYTE PTR -10016[rbp+rax]
	test	al, al
	jne	.L9
	mov	eax, DWORD PTR -10020[rbp]
	add	DWORD PTR -10040[rbp], eax
	mov	eax, DWORD PTR -10020[rbp]
	cdqe
	mov	BYTE PTR -10016[rbp+rax], 1
.L9:
	add	DWORD PTR -10024[rbp], 1
.L8:
	cmp	DWORD PTR -10024[rbp], 999
	jle	.L10
	add	DWORD PTR -10028[rbp], 1
.L7:
	cmp	DWORD PTR -10028[rbp], 99
	jle	.L11
	mov	eax, DWORD PTR -10040[rbp]
	mov	esi, eax
	lea	rdi, .LC0[rip]
	mov	eax, 0
	call	printf@PLT
	mov	eax, 0
	mov	rcx, QWORD PTR -8[rbp]
	sub	rcx, QWORD PTR fs:40
	je	.L13
	call	__stack_chk_fail@PLT
.L13:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE0:
	.size	main, .-main
	.globl	is_pandigital
	.type	is_pandigital, @function
is_pandigital:
.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, 80
	mov	DWORD PTR -68[rbp], edi
	mov	DWORD PTR -72[rbp], esi
	mov	DWORD PTR -76[rbp], edx
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	QWORD PTR -48[rbp], 0
	mov	QWORD PTR -40[rbp], 0
	mov	QWORD PTR -32[rbp], 0
	mov	QWORD PTR -24[rbp], 0
	mov	QWORD PTR -16[rbp], 0
	jmp	.L15
.L16:
	mov	ecx, DWORD PTR -68[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
	movsx	rax, edx
	mov	eax, DWORD PTR -48[rbp+rax*4]
	lea	ecx, 1[rax]
	movsx	rax, edx
	mov	DWORD PTR -48[rbp+rax*4], ecx
	mov	eax, DWORD PTR -68[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 -68[rbp], eax
.L15:
	cmp	DWORD PTR -68[rbp], 0
	jg	.L16
	jmp	.L17
.L18:
	mov	ecx, DWORD PTR -72[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
	movsx	rax, edx
	mov	eax, DWORD PTR -48[rbp+rax*4]
	lea	ecx, 1[rax]
	movsx	rax, edx
	mov	DWORD PTR -48[rbp+rax*4], ecx
	mov	eax, DWORD PTR -72[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 -72[rbp], eax
.L17:
	cmp	DWORD PTR -72[rbp], 0
	jg	.L18
	jmp	.L19
.L20:
	mov	ecx, DWORD PTR -76[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
	movsx	rax, edx
	mov	eax, DWORD PTR -48[rbp+rax*4]
	lea	ecx, 1[rax]
	movsx	rax, edx
	mov	DWORD PTR -48[rbp+rax*4], ecx
	mov	eax, DWORD PTR -76[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 -76[rbp], eax
.L19:
	cmp	DWORD PTR -76[rbp], 0
	jg	.L20
	mov	DWORD PTR -52[rbp], 1
	jmp	.L21
.L24:
	mov	eax, DWORD PTR -52[rbp]
	cdqe
	mov	eax, DWORD PTR -48[rbp+rax*4]
	cmp	eax, 1
	je	.L22
	mov	eax, 0
	jmp	.L25
.L22:
	add	DWORD PTR -52[rbp], 1
.L21:
	cmp	DWORD PTR -52[rbp], 9
	jle	.L24
	mov	eax, DWORD PTR -48[rbp]
	test	eax, eax
	sete	al
	movzx	eax, al
.L25:
	mov	rdi, QWORD PTR -8[rbp]
	sub	rdi, QWORD PTR fs:40
	je	.L26
	call	__stack_chk_fail@PLT
.L26:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE1:
	.size	is_pandigital, .-is_pandigital
	.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	"883975.c"
	.text
	.section	.rodata
	.align	2
.LC0:
	.ascii	"%u\012\000"
	.align	2
.LC1:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 10032
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #9984
	sub	sp, sp, #48
	ldr	r3, .L14
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	sub	r3, fp, #8192
	sub	r3, r3, #4
	mov	r2, r3
	mov	r3, #0
	str	r3, [r2, #-1836]
	sub	r3, fp, #8192
	sub	r3, r3, #4
	mov	r2, #0
	str	r2, [r3, #-1812]
	sub	r3, r3, #1808
	ldr	r2, .L14+4
	mov	r1, #0
	mov	r0, r3
	bl	memset
	sub	r3, fp, #8192
	sub	r3, r3, #4
	mov	r2, r3
	mov	r3, #1
	str	r3, [r2, #-1832]
	b	.L2
.L6:
	sub	r3, fp, #8192
	sub	r3, r3, #4
	mov	r2, r3
	mov	r3, #1000
	str	r3, [r2, #-1828]
	b	.L3
.L5:
	sub	r3, fp, #8192
	sub	r3, r3, #4
	mov	r1, r3
	sub	r3, fp, #8192
	sub	r3, r3, #4
	sub	r2, fp, #8192
	sub	r2, r2, #4
	ldr	r3, [r3, #-1832]
	ldr	r2, [r2, #-1828]
	mul	r3, r2, r3
	str	r3, [r1, #-1816]
	sub	r3, fp, #8192
	sub	r3, r3, #4
	mov	r2, r3
	sub	r3, fp, #8192
	sub	r3, r3, #4
	mov	r1, r3
	sub	r3, fp, #8192
	sub	r3, r3, #4
	ldr	r2, [r2, #-1816]
	ldr	r1, [r1, #-1828]
	ldr	r0, [r3, #-1832]
	bl	is_pandigital
	mov	r3, r0
	cmp	r3, #0
	beq	.L4
	sub	r3, fp, #8192
	sub	r3, r3, #4
	mov	r2, r3
	sub	r3, fp, #8192
	sub	r3, r3, #4
	ldr	r3, [r3, #-1816]
	add	r3, r2, r3
	sub	r3, r3, #1808
	sub	r3, r3, #4
	ldrsb	r3, [r3]
	cmp	r3, #0
	bne	.L4
	sub	r3, fp, #8192
	sub	r3, r3, #4
	mov	r1, r3
	sub	r3, fp, #8192
	sub	r3, r3, #4
	mov	r2, r3
	sub	r3, fp, #8192
	sub	r3, r3, #4
	ldr	r2, [r2, #-1836]
	ldr	r3, [r3, #-1816]
	add	r3, r2, r3
	str	r3, [r1, #-1836]
	sub	r3, fp, #8192
	sub	r3, r3, #4
	mov	r2, r3
	sub	r3, fp, #8192
	sub	r3, r3, #4
	ldr	r3, [r3, #-1816]
	add	r3, r2, r3
	sub	r3, r3, #1808
	sub	r3, r3, #4
	mov	r2, #1
	strb	r2, [r3]
.L4:
	sub	r3, fp, #8192
	sub	r3, r3, #4
	mov	r2, r3
	sub	r3, fp, #8192
	sub	r3, r3, #4
	ldr	r3, [r3, #-1828]
	add	r3, r3, #1
	str	r3, [r2, #-1828]
.L3:
	sub	r3, fp, #8192
	sub	r3, r3, #4
	ldr	r3, [r3, #-1828]
	ldr	r2, .L14+8
	cmp	r3, r2
	ble	.L5
	sub	r3, fp, #8192
	sub	r3, r3, #4
	mov	r2, r3
	sub	r3, fp, #8192
	sub	r3, r3, #4
	ldr	r3, [r3, #-1832]
	add	r3, r3, #1
	str	r3, [r2, #-1832]
.L2:
	sub	r3, fp, #8192
	sub	r3, r3, #4
	ldr	r3, [r3, #-1832]
	cmp	r3, #9
	ble	.L6
	sub	r3, fp, #8192
	sub	r3, r3, #4
	mov	r2, r3
	mov	r3, #10
	str	r3, [r2, #-1824]
	b	.L7
.L11:
	sub	r3, fp, #8192
	sub	r3, r3, #4
	mov	r2, r3
	mov	r3, #100
	str	r3, [r2, #-1820]
	b	.L8
.L10:
	sub	r3, fp, #8192
	sub	r3, r3, #4
	mov	r1, r3
	sub	r3, fp, #8192
	sub	r3, r3, #4
	sub	r2, fp, #8192
	sub	r2, r2, #4
	ldr	r3, [r3, #-1824]
	ldr	r2, [r2, #-1820]
	mul	r3, r2, r3
	str	r3, [r1, #-1816]
	sub	r3, fp, #8192
	sub	r3, r3, #4
	mov	r2, r3
	sub	r3, fp, #8192
	sub	r3, r3, #4
	mov	r1, r3
	sub	r3, fp, #8192
	sub	r3, r3, #4
	ldr	r2, [r2, #-1816]
	ldr	r1, [r1, #-1820]
	ldr	r0, [r3, #-1824]
	bl	is_pandigital
	mov	r3, r0
	cmp	r3, #0
	beq	.L9
	sub	r3, fp, #8192
	sub	r3, r3, #4
	mov	r2, r3
	sub	r3, fp, #8192
	sub	r3, r3, #4
	ldr	r3, [r3, #-1816]
	add	r3, r2, r3
	sub	r3, r3, #1808
	sub	r3, r3, #4
	ldrsb	r3, [r3]
	cmp	r3, #0
	bne	.L9
	sub	r3, fp, #8192
	sub	r3, r3, #4
	mov	r1, r3
	sub	r3, fp, #8192
	sub	r3, r3, #4
	mov	r2, r3
	sub	r3, fp, #8192
	sub	r3, r3, #4
	ldr	r2, [r2, #-1836]
	ldr	r3, [r3, #-1816]
	add	r3, r2, r3
	str	r3, [r1, #-1836]
	sub	r3, fp, #8192
	sub	r3, r3, #4
	mov	r2, r3
	sub	r3, fp, #8192
	sub	r3, r3, #4
	ldr	r3, [r3, #-1816]
	add	r3, r2, r3
	sub	r3, r3, #1808
	sub	r3, r3, #4
	mov	r2, #1
	strb	r2, [r3]
.L9:
	sub	r3, fp, #8192
	sub	r3, r3, #4
	mov	r2, r3
	sub	r3, fp, #8192
	sub	r3, r3, #4
	ldr	r3, [r3, #-1820]
	add	r3, r3, #1
	str	r3, [r2, #-1820]
.L8:
	sub	r3, fp, #8192
	sub	r3, r3, #4
	ldr	r3, [r3, #-1820]
	cmp	r3, #1000
	blt	.L10
	sub	r3, fp, #8192
	sub	r3, r3, #4
	mov	r2, r3
	sub	r3, fp, #8192
	sub	r3, r3, #4
	ldr	r3, [r3, #-1824]
	add	r3, r3, #1
	str	r3, [r2, #-1824]
.L7:
	sub	r3, fp, #8192
	sub	r3, r3, #4
	ldr	r3, [r3, #-1824]
	cmp	r3, #99
	ble	.L11
	sub	r3, fp, #8192
	sub	r3, r3, #4
	ldr	r1, [r3, #-1836]
	ldr	r0, .L14+12
	bl	printf
	mov	r3, #0
	ldr	r2, .L14
	ldr	r1, [r2]
	ldr	r2, [fp, #-8]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L13
	bl	__stack_chk_fail
.L13:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L15:
	.align	2
.L14:
	.word	.LC1
	.word	9996
	.word	9999
	.word	.LC0
	.size	main, .-main
	.section	.rodata
	.align	2
.LC2:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	is_pandigital
	.syntax unified
	.arm
	.fpu softvfp
	.type	is_pandigital, %function
is_pandigital:
	@ args = 0, pretend = 0, frame = 64
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #64
	str	r0, [fp, #-56]
	str	r1, [fp, #-60]
	str	r2, [fp, #-64]
	ldr	r3, .L29
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	sub	r3, fp, #48
	mov	r2, #40
	mov	r1, #0
	mov	r0, r3
	bl	memset
	b	.L17
.L18:
	ldr	r1, [fp, #-56]
	ldr	r3, .L29+4
	smull	r2, r3, r1, r3
	asr	r2, r3, #2
	asr	r3, r1, #31
	sub	r2, r2, r3
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #1
	sub	r2, r1, r3
	lsl	r3, r2, #2
	sub	r1, fp, #4
	add	r3, r1, r3
	ldr	r3, [r3, #-44]
	add	r1, r3, #1
	lsl	r3, r2, #2
	sub	r2, fp, #4
	add	r3, r2, r3
	str	r1, [r3, #-44]
	ldr	r3, [fp, #-56]
	ldr	r2, .L29+4
	smull	r1, r2, r3, r2
	asr	r2, r2, #2
	asr	r3, r3, #31
	sub	r3, r2, r3
	str	r3, [fp, #-56]
.L17:
	ldr	r3, [fp, #-56]
	cmp	r3, #0
	bgt	.L18
	b	.L19
.L20:
	ldr	r1, [fp, #-60]
	ldr	r3, .L29+4
	smull	r2, r3, r1, r3
	asr	r2, r3, #2
	asr	r3, r1, #31
	sub	r2, r2, r3
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #1
	sub	r2, r1, r3
	lsl	r3, r2, #2
	sub	r1, fp, #4
	add	r3, r1, r3
	ldr	r3, [r3, #-44]
	add	r1, r3, #1
	lsl	r3, r2, #2
	sub	r2, fp, #4
	add	r3, r2, r3
	str	r1, [r3, #-44]
	ldr	r3, [fp, #-60]
	ldr	r2, .L29+4
	smull	r1, r2, r3, r2
	asr	r2, r2, #2
	asr	r3, r3, #31
	sub	r3, r2, r3
	str	r3, [fp, #-60]
.L19:
	ldr	r3, [fp, #-60]
	cmp	r3, #0
	bgt	.L20
	b	.L21
.L22:
	ldr	r1, [fp, #-64]
	ldr	r3, .L29+4
	smull	r2, r3, r1, r3
	asr	r2, r3, #2
	asr	r3, r1, #31
	sub	r2, r2, r3
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #1
	sub	r2, r1, r3
	lsl	r3, r2, #2
	sub	r1, fp, #4
	add	r3, r1, r3
	ldr	r3, [r3, #-44]
	add	r1, r3, #1
	lsl	r3, r2, #2
	sub	r2, fp, #4
	add	r3, r2, r3
	str	r1, [r3, #-44]
	ldr	r3, [fp, #-64]
	ldr	r2, .L29+4
	smull	r1, r2, r3, r2
	asr	r2, r2, #2
	asr	r3, r3, #31
	sub	r3, r2, r3
	str	r3, [fp, #-64]
.L21:
	ldr	r3, [fp, #-64]
	cmp	r3, #0
	bgt	.L22
	mov	r3, #1
	str	r3, [fp, #-52]
	b	.L23
.L26:
	ldr	r3, [fp, #-52]
	lsl	r3, r3, #2
	sub	r2, fp, #4
	add	r3, r2, r3
	ldr	r3, [r3, #-44]
	cmp	r3, #1
	beq	.L24
	mov	r3, #0
	b	.L27
.L24:
	ldr	r3, [fp, #-52]
	add	r3, r3, #1
	str	r3, [fp, #-52]
.L23:
	ldr	r3, [fp, #-52]
	cmp	r3, #9
	ble	.L26
	ldr	r3, [fp, #-48]
	cmp	r3, #0
	moveq	r3, #1
	movne	r3, #0
	and	r3, r3, #255
.L27:
	ldr	r2, .L29
	ldr	r1, [r2]
	ldr	r2, [fp, #-8]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L28
	bl	__stack_chk_fail
.L28:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L30:
	.align	2
.L29:
	.word	.LC2
	.word	1717986919
	.size	is_pandigital, .-is_pandigital
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
