	.file	"33510.c"
	.intel_syntax noprefix
	.text
	.globl	recipes
	.bss
	.align 32
	.type	recipes, @object
	.size	recipes, 2097152
recipes:
	.zero	2097152
	.section	.rodata
.LC0:
	.string	"Result: "
.LC1:
	.string	"%d"
	.text
	.globl	main
	.type	main, @function
main:
.LFB6:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 64
	mov	DWORD PTR -52[rbp], edi
	mov	QWORD PTR -64[rbp], rsi
	mov	rax, QWORD PTR -64[rbp]
	add	rax, 8
	mov	rax, QWORD PTR [rax]
	mov	rdi, rax
	call	atoi@PLT
	cdqe
	mov	QWORD PTR -8[rbp], rax
	mov	QWORD PTR -32[rbp], 0
	mov	QWORD PTR -24[rbp], 1
	lea	rdx, recipes[rip]
	mov	rax, QWORD PTR -32[rbp]
	add	rax, rdx
	mov	BYTE PTR [rax], 3
	lea	rdx, recipes[rip]
	mov	rax, QWORD PTR -24[rbp]
	add	rax, rdx
	mov	BYTE PTR [rax], 7
	mov	QWORD PTR -16[rbp], 2
.L7:
	lea	rdx, recipes[rip]
	mov	rax, QWORD PTR -32[rbp]
	add	rax, rdx
	movzx	eax, BYTE PTR [rax]
	mov	ecx, eax
	lea	rdx, recipes[rip]
	mov	rax, QWORD PTR -24[rbp]
	add	rax, rdx
	movzx	eax, BYTE PTR [rax]
	add	eax, ecx
	mov	BYTE PTR -37[rbp], al
	cmp	BYTE PTR -37[rbp], 9
	jle	.L2
	mov	rax, QWORD PTR -16[rbp]
	lea	rdx, 1[rax]
	mov	QWORD PTR -16[rbp], rdx
	movzx	edx, BYTE PTR -37[rbp]
	movsx	cx, dl
	imul	ecx, ecx, 103
	shr	cx, 8
	sar	cl, 2
	sar	dl, 7
	sub	ecx, edx
	lea	rdx, recipes[rip]
	mov	BYTE PTR [rax+rdx], cl
.L2:
	mov	rsi, QWORD PTR -16[rbp]
	lea	rax, 1[rsi]
	mov	QWORD PTR -16[rbp], rax
	movzx	edx, BYTE PTR -37[rbp]
	movsx	ax, dl
	imul	eax, eax, 103
	shr	ax, 8
	sar	al, 2
	mov	edi, edx
	sar	dil, 7
	sub	eax, edi
	mov	ecx, eax
	mov	eax, ecx
	sal	eax, 2
	add	eax, ecx
	add	eax, eax
	mov	ecx, edx
	sub	ecx, eax
	lea	rax, recipes[rip]
	mov	BYTE PTR [rsi+rax], cl
	mov	rax, QWORD PTR -8[rbp]
	add	rax, 10
	cmp	QWORD PTR -16[rbp], rax
	jb	.L3
	lea	rdi, .LC0[rip]
	mov	eax, 0
	call	printf@PLT
	mov	DWORD PTR -36[rbp], 0
	jmp	.L4
.L5:
	mov	eax, DWORD PTR -36[rbp]
	movsx	rdx, eax
	mov	rax, QWORD PTR -8[rbp]
	add	rdx, rax
	lea	rax, recipes[rip]
	movzx	eax, BYTE PTR [rdx+rax]
	movsx	eax, al
	mov	esi, eax
	lea	rdi, .LC1[rip]
	mov	eax, 0
	call	printf@PLT
	add	DWORD PTR -36[rbp], 1
.L4:
	cmp	DWORD PTR -36[rbp], 9
	jle	.L5
	mov	edi, 10
	call	putchar@PLT
	jmp	.L9
.L3:
	lea	rdx, recipes[rip]
	mov	rax, QWORD PTR -32[rbp]
	add	rax, rdx
	movzx	eax, BYTE PTR [rax]
	movsx	rdx, al
	mov	rax, QWORD PTR -32[rbp]
	add	rax, rdx
	add	rax, 1
	mov	edx, 0
	div	QWORD PTR -16[rbp]
	mov	QWORD PTR -32[rbp], rdx
	lea	rdx, recipes[rip]
	mov	rax, QWORD PTR -24[rbp]
	add	rax, rdx
	movzx	eax, BYTE PTR [rax]
	movsx	rdx, al
	mov	rax, QWORD PTR -24[rbp]
	add	rax, rdx
	add	rax, 1
	mov	edx, 0
	div	QWORD PTR -16[rbp]
	mov	QWORD PTR -24[rbp], rdx
	jmp	.L7
.L9:
	mov	eax, 0
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.size	main, .-main
	.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	"33510.c"
	.text
	.comm	recipes,2097152,4
	.section	.rodata
	.align	2
.LC0:
	.ascii	"Result: \000"
	.align	2
.LC1:
	.ascii	"%d\000"
	.global	__aeabi_uidivmod
	.text
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 32
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #32
	str	r0, [fp, #-32]
	str	r1, [fp, #-36]
	ldr	r3, [fp, #-36]
	add	r3, r3, #4
	ldr	r3, [r3]
	mov	r0, r3
	bl	atoi
	mov	r3, r0
	str	r3, [fp, #-8]
	mov	r3, #0
	str	r3, [fp, #-24]
	mov	r3, #1
	str	r3, [fp, #-20]
	ldr	r2, .L10
	ldr	r3, [fp, #-24]
	add	r3, r2, r3
	mov	r2, #3
	strb	r2, [r3]
	ldr	r2, .L10
	ldr	r3, [fp, #-20]
	add	r3, r2, r3
	mov	r2, #7
	strb	r2, [r3]
	mov	r3, #2
	str	r3, [fp, #-16]
.L7:
	ldr	r2, .L10
	ldr	r3, [fp, #-24]
	add	r3, r2, r3
	ldrsb	r3, [r3]
	and	r2, r3, #255
	ldr	r1, .L10
	ldr	r3, [fp, #-20]
	add	r3, r1, r3
	ldrsb	r3, [r3]
	and	r3, r3, #255
	add	r3, r2, r3
	and	r3, r3, #255
	strb	r3, [fp, #-25]
	ldrsb	r3, [fp, #-25]
	cmp	r3, #9
	ble	.L2
	ldr	r3, [fp, #-16]
	add	r2, r3, #1
	str	r2, [fp, #-16]
	ldrsb	r2, [fp, #-25]
	ldr	r1, .L10+4
	smull	r0, r1, r2, r1
	asr	r1, r1, #2
	asr	r2, r2, #31
	sub	r2, r1, r2
	lsl	r2, r2, #24
	asr	r1, r2, #24
	ldr	r2, .L10
	strb	r1, [r2, r3]
.L2:
	ldr	r1, [fp, #-16]
	add	r3, r1, #1
	str	r3, [fp, #-16]
	ldrsb	r2, [fp, #-25]
	ldr	r3, .L10+4
	smull	r0, r3, r2, r3
	asr	r0, r3, #2
	asr	r3, r2, #31
	sub	r0, r0, r3
	mov	r3, r0
	lsl	r3, r3, #2
	add	r3, r3, r0
	lsl	r3, r3, #1
	sub	r3, r2, r3
	lsl	r3, r3, #24
	asr	r2, r3, #24
	ldr	r3, .L10
	strb	r2, [r3, r1]
	ldr	r3, [fp, #-8]
	add	r3, r3, #10
	ldr	r2, [fp, #-16]
	cmp	r2, r3
	bcc	.L3
	ldr	r0, .L10+8
	bl	printf
	mov	r3, #0
	str	r3, [fp, #-12]
	b	.L4
.L5:
	ldr	r2, [fp, #-12]
	ldr	r3, [fp, #-8]
	add	r3, r2, r3
	ldr	r2, .L10
	ldrsb	r3, [r2, r3]
	mov	r1, r3
	ldr	r0, .L10+12
	bl	printf
	ldr	r3, [fp, #-12]
	add	r3, r3, #1
	str	r3, [fp, #-12]
.L4:
	ldr	r3, [fp, #-12]
	cmp	r3, #9
	ble	.L5
	mov	r0, #10
	bl	putchar
	b	.L9
.L3:
	ldr	r2, .L10
	ldr	r3, [fp, #-24]
	add	r3, r2, r3
	ldrsb	r3, [r3]
	mov	r2, r3
	ldr	r3, [fp, #-24]
	add	r3, r2, r3
	add	r3, r3, #1
	ldr	r1, [fp, #-16]
	mov	r0, r3
	bl	__aeabi_uidivmod
	mov	r3, r1
	str	r3, [fp, #-24]
	ldr	r2, .L10
	ldr	r3, [fp, #-20]
	add	r3, r2, r3
	ldrsb	r3, [r3]
	mov	r2, r3
	ldr	r3, [fp, #-20]
	add	r3, r2, r3
	add	r3, r3, #1
	ldr	r1, [fp, #-16]
	mov	r0, r3
	bl	__aeabi_uidivmod
	mov	r3, r1
	str	r3, [fp, #-20]
	b	.L7
.L9:
	mov	r3, #0
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L11:
	.align	2
.L10:
	.word	recipes
	.word	1717986919
	.word	.LC0
	.word	.LC1
	.size	main, .-main
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
