	.file	"5766.c"
	.intel_syntax noprefix
	.text
	.globl	min
	.type	min, @function
min:
.LFB6:
	.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 -24[rbp], rdi
	mov	QWORD PTR -32[rbp], rsi
	mov	DWORD PTR -8[rbp], 0
	mov	rax, QWORD PTR -24[rbp]
	mov	eax, DWORD PTR [rax]
	mov	DWORD PTR -4[rbp], eax
	mov	DWORD PTR -16[rbp], 1
	jmp	.L2
.L6:
	mov	DWORD PTR -12[rbp], 1
	jmp	.L3
.L5:
	mov	eax, DWORD PTR -16[rbp]
	cdqe
	sal	rax, 5
	mov	rdx, rax
	mov	rax, QWORD PTR -24[rbp]
	add	rdx, rax
	mov	eax, DWORD PTR -12[rbp]
	cdqe
	mov	eax, DWORD PTR [rdx+rax*4]
	cmp	DWORD PTR -4[rbp], eax
	jle	.L4
	mov	eax, DWORD PTR -16[rbp]
	cdqe
	sal	rax, 5
	mov	rdx, rax
	mov	rax, QWORD PTR -24[rbp]
	lea	rcx, [rdx+rax]
	mov	eax, DWORD PTR -8[rbp]
	lea	edx, 1[rax]
	mov	DWORD PTR -8[rbp], edx
	cdqe
	lea	rdx, 0[0+rax*4]
	mov	rax, QWORD PTR -32[rbp]
	add	rdx, rax
	mov	eax, DWORD PTR -12[rbp]
	cdqe
	mov	eax, DWORD PTR [rcx+rax*4]
	mov	DWORD PTR [rdx], eax
.L4:
	add	DWORD PTR -12[rbp], 1
.L3:
	cmp	DWORD PTR -12[rbp], 7
	jle	.L5
	add	DWORD PTR -16[rbp], 1
.L2:
	cmp	DWORD PTR -16[rbp], 9
	jle	.L6
	mov	eax, DWORD PTR -8[rbp]
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.size	min, .-min
	.section	.rodata
.LC0:
	.string	"%d"
	.text
	.globl	main
	.type	main, @function
main:
.LFB7:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 384
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	edi, 0
	call	time@PLT
	mov	edi, eax
	call	srand@PLT
	mov	DWORD PTR -380[rbp], 0
	jmp	.L9
.L12:
	mov	DWORD PTR -376[rbp], 0
	jmp	.L10
.L11:
	call	rand@PLT
	movsx	rdx, eax
	imul	rdx, rdx, 354224107
	shr	rdx, 32
	sar	edx, 3
	mov	ecx, eax
	sar	ecx, 31
	sub	edx, ecx
	imul	ecx, edx, 97
	sub	eax, ecx
	mov	edx, eax
	add	edx, 2
	mov	eax, DWORD PTR -376[rbp]
	movsx	rcx, eax
	mov	eax, DWORD PTR -380[rbp]
	cdqe
	sal	rax, 3
	add	rax, rcx
	mov	DWORD PTR -336[rbp+rax*4], edx
	add	DWORD PTR -376[rbp], 1
.L10:
	cmp	DWORD PTR -376[rbp], 7
	jle	.L11
	add	DWORD PTR -380[rbp], 1
.L9:
	cmp	DWORD PTR -380[rbp], 9
	jle	.L12
	mov	DWORD PTR -380[rbp], 0
	jmp	.L13
.L16:
	mov	DWORD PTR -376[rbp], 0
	jmp	.L14
.L15:
	mov	eax, DWORD PTR -376[rbp]
	movsx	rdx, eax
	mov	eax, DWORD PTR -380[rbp]
	cdqe
	sal	rax, 3
	add	rax, rdx
	mov	eax, DWORD PTR -336[rbp+rax*4]
	mov	esi, eax
	lea	rdi, .LC0[rip]
	mov	eax, 0
	call	printf@PLT
	add	DWORD PTR -376[rbp], 1
.L14:
	cmp	DWORD PTR -376[rbp], 7
	jle	.L15
	add	DWORD PTR -380[rbp], 1
.L13:
	cmp	DWORD PTR -380[rbp], 9
	jle	.L16
	lea	rdx, -368[rbp]
	lea	rax, -336[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	min
	mov	DWORD PTR -372[rbp], eax
	mov	DWORD PTR -380[rbp], 0
	jmp	.L17
.L18:
	mov	eax, DWORD PTR -380[rbp]
	cdqe
	mov	eax, DWORD PTR -368[rbp+rax*4]
	mov	esi, eax
	lea	rdi, .LC0[rip]
	mov	eax, 0
	call	printf@PLT
	add	DWORD PTR -380[rbp], 1
.L17:
	mov	eax, DWORD PTR -380[rbp]
	cmp	eax, DWORD PTR -372[rbp]
	jl	.L18
	mov	eax, 0
	mov	rsi, QWORD PTR -8[rbp]
	sub	rsi, QWORD PTR fs:40
	je	.L20
	call	__stack_chk_fail@PLT
.L20:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE7:
	.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	"5766.c"
	.text
	.align	2
	.global	min
	.syntax unified
	.arm
	.fpu softvfp
	.type	min, %function
min:
	@ args = 0, pretend = 0, frame = 24
	@ frame_needed = 1, uses_anonymous_args = 0
	@ link register save eliminated.
	str	fp, [sp, #-4]!
	add	fp, sp, #0
	sub	sp, sp, #28
	str	r0, [fp, #-24]
	str	r1, [fp, #-28]
	mov	r3, #0
	str	r3, [fp, #-12]
	ldr	r3, [fp, #-24]
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3, #1
	str	r3, [fp, #-20]
	b	.L2
.L6:
	mov	r3, #1
	str	r3, [fp, #-16]
	b	.L3
.L5:
	ldr	r3, [fp, #-20]
	lsl	r3, r3, #5
	ldr	r2, [fp, #-24]
	add	r3, r2, r3
	ldr	r2, [fp, #-16]
	ldr	r3, [r3, r2, lsl #2]
	ldr	r2, [fp, #-8]
	cmp	r2, r3
	ble	.L4
	ldr	r3, [fp, #-20]
	lsl	r3, r3, #5
	ldr	r2, [fp, #-24]
	add	r2, r2, r3
	ldr	r3, [fp, #-12]
	add	r1, r3, #1
	str	r1, [fp, #-12]
	lsl	r3, r3, #2
	ldr	r1, [fp, #-28]
	add	r3, r1, r3
	ldr	r1, [fp, #-16]
	ldr	r2, [r2, r1, lsl #2]
	str	r2, [r3]
.L4:
	ldr	r3, [fp, #-16]
	add	r3, r3, #1
	str	r3, [fp, #-16]
.L3:
	ldr	r3, [fp, #-16]
	cmp	r3, #7
	ble	.L5
	ldr	r3, [fp, #-20]
	add	r3, r3, #1
	str	r3, [fp, #-20]
.L2:
	ldr	r3, [fp, #-20]
	cmp	r3, #9
	ble	.L6
	ldr	r3, [fp, #-12]
	mov	r0, r3
	add	sp, fp, #0
	@ sp needed
	ldr	fp, [sp], #4
	bx	lr
	.size	min, .-min
	.section	.rodata
	.align	2
.LC0:
	.ascii	"%d\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 = 368
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #368
	ldr	r3, .L21
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	mov	r0, #0
	bl	time
	mov	r3, r0
	mov	r0, r3
	bl	srand
	mov	r3, #0
	str	r3, [fp, #-372]
	b	.L9
.L12:
	mov	r3, #0
	str	r3, [fp, #-368]
	b	.L10
.L11:
	bl	rand
	mov	r1, r0
	ldr	r3, .L21+4
	smull	r2, r3, r1, r3
	asr	r2, r3, #3
	asr	r3, r1, #31
	sub	r2, r2, r3
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r3, r3, #5
	add	r3, r3, r2
	sub	r2, r1, r3
	add	r2, r2, #2
	ldr	r3, [fp, #-372]
	lsl	r1, r3, #3
	ldr	r3, [fp, #-368]
	add	r3, r1, r3
	lsl	r3, r3, #2
	sub	r1, fp, #4
	add	r3, r1, r3
	str	r2, [r3, #-324]
	ldr	r3, [fp, #-368]
	add	r3, r3, #1
	str	r3, [fp, #-368]
.L10:
	ldr	r3, [fp, #-368]
	cmp	r3, #7
	ble	.L11
	ldr	r3, [fp, #-372]
	add	r3, r3, #1
	str	r3, [fp, #-372]
.L9:
	ldr	r3, [fp, #-372]
	cmp	r3, #9
	ble	.L12
	mov	r3, #0
	str	r3, [fp, #-372]
	b	.L13
.L16:
	mov	r3, #0
	str	r3, [fp, #-368]
	b	.L14
.L15:
	ldr	r3, [fp, #-372]
	lsl	r2, r3, #3
	ldr	r3, [fp, #-368]
	add	r3, r2, r3
	lsl	r3, r3, #2
	sub	r2, fp, #4
	add	r3, r2, r3
	ldr	r3, [r3, #-324]
	mov	r1, r3
	ldr	r0, .L21+8
	bl	printf
	ldr	r3, [fp, #-368]
	add	r3, r3, #1
	str	r3, [fp, #-368]
.L14:
	ldr	r3, [fp, #-368]
	cmp	r3, #7
	ble	.L15
	ldr	r3, [fp, #-372]
	add	r3, r3, #1
	str	r3, [fp, #-372]
.L13:
	ldr	r3, [fp, #-372]
	cmp	r3, #9
	ble	.L16
	sub	r2, fp, #360
	sub	r3, fp, #328
	mov	r1, r2
	mov	r0, r3
	bl	min
	str	r0, [fp, #-364]
	mov	r3, #0
	str	r3, [fp, #-372]
	b	.L17
.L18:
	ldr	r3, [fp, #-372]
	lsl	r3, r3, #2
	sub	r2, fp, #4
	add	r3, r2, r3
	ldr	r3, [r3, #-356]
	mov	r1, r3
	ldr	r0, .L21+8
	bl	printf
	ldr	r3, [fp, #-372]
	add	r3, r3, #1
	str	r3, [fp, #-372]
.L17:
	ldr	r2, [fp, #-372]
	ldr	r3, [fp, #-364]
	cmp	r2, r3
	blt	.L18
	mov	r3, #0
	ldr	r2, .L21
	ldr	r1, [r2]
	ldr	r2, [fp, #-8]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L20
	bl	__stack_chk_fail
.L20:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L22:
	.align	2
.L21:
	.word	.LC1
	.word	354224107
	.word	.LC0
	.size	main, .-main
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
