	.file	"198580441.c"
	.intel_syntax noprefix
	.text
	.section	.rodata
	.align 8
.LC0:
	.string	"Call this program with %i arguments\n"
.LC1:
	.string	"You win!"
.LC2:
	.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, 48
	mov	DWORD PTR -36[rbp], edi
	mov	QWORD PTR -48[rbp], rsi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	call	megaInit
	cmp	DWORD PTR -36[rbp], 2
	je	.L2
	mov	esi, 1
	lea	rdi, .LC0[rip]
	mov	eax, 0
	call	printf@PLT
	mov	edi, -1
	call	exit@PLT
.L2:
	mov	DWORD PTR -20[rbp], 0
	jmp	.L3
.L4:
	mov	eax, DWORD PTR -20[rbp]
	cdqe
	add	rax, 1
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -48[rbp]
	add	rax, rdx
	mov	rax, QWORD PTR [rax]
	mov	edx, 10
	mov	esi, 0
	mov	rdi, rax
	call	strtoul@PLT
	mov	BYTE PTR -21[rbp], al
	mov	eax, DWORD PTR -20[rbp]
	cdqe
	movzx	edx, BYTE PTR -21[rbp]
	mov	BYTE PTR -10[rbp+rax], dl
	add	DWORD PTR -20[rbp], 1
.L3:
	cmp	DWORD PTR -20[rbp], 0
	jle	.L4
	lea	rdx, -9[rbp]
	lea	rax, -10[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	RandomFunc
	movzx	eax, BYTE PTR -9[rbp]
	cmp	al, 42
	jne	.L5
	lea	rdi, .LC1[rip]
	call	puts@PLT
.L5:
	mov	DWORD PTR -16[rbp], 0
	jmp	.L6
.L7:
	mov	eax, DWORD PTR -16[rbp]
	cdqe
	movzx	eax, BYTE PTR -9[rbp+rax]
	movzx	eax, al
	mov	esi, eax
	lea	rdi, .LC2[rip]
	mov	eax, 0
	call	printf@PLT
	add	DWORD PTR -16[rbp], 1
.L6:
	cmp	DWORD PTR -16[rbp], 0
	jle	.L7
	mov	eax, 0
	mov	rcx, QWORD PTR -8[rbp]
	sub	rcx, QWORD PTR fs:40
	je	.L9
	call	__stack_chk_fail@PLT
.L9:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE0:
	.size	main, .-main
	.globl	RandomFunc
	.type	RandomFunc, @function
RandomFunc:
.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	QWORD PTR -24[rbp], rdi
	mov	QWORD PTR -32[rbp], rsi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	rax, QWORD PTR -24[rbp]
	movzx	eax, BYTE PTR [rax]
	add	eax, 106
	xor	eax, 11
	mov	BYTE PTR -9[rbp], al
	mov	BYTE PTR -10[rbp], 0
	jmp	.L11
.L14:
	mov	BYTE PTR -11[rbp], 0
	jmp	.L12
.L13:
	movzx	eax, BYTE PTR -11[rbp]
	cdqe
	movzx	eax, BYTE PTR -9[rbp+rax]
	mov	edx, eax
	movzx	eax, BYTE PTR -9[rbp]
	movzx	eax, al
	sal	eax, 4
	and	eax, -16
	or	edx, eax
	movzx	eax, BYTE PTR -11[rbp]
	cdqe
	mov	BYTE PTR -9[rbp+rax], dl
	movzx	eax, BYTE PTR -9[rbp]
	movzx	edx, al
	movzx	eax, BYTE PTR -9[rbp]
	shr	al
	movzx	eax, al
	and	eax, 14
	or	eax, 1
	mov	ecx, eax
	sal	edx, cl
	mov	eax, edx
	mov	esi, eax
	movzx	eax, BYTE PTR -9[rbp]
	movzx	edx, al
	movzx	eax, BYTE PTR -9[rbp]
	shr	al
	movzx	eax, al
	and	eax, 14
	or	eax, 1
	mov	ecx, eax
	mov	eax, 8
	sub	eax, ecx
	mov	ecx, eax
	sar	edx, cl
	mov	eax, edx
	or	eax, esi
	mov	BYTE PTR -9[rbp], al
	add	BYTE PTR -11[rbp], 2
.L12:
	mov	rax, QWORD PTR -24[rbp]
	add	rax, 1
	movzx	eax, BYTE PTR [rax]
	cmp	BYTE PTR -11[rbp], al
	jb	.L13
	movzx	eax, BYTE PTR -10[rbp]
	add	eax, 1
	mov	BYTE PTR -10[rbp], al
.L11:
	mov	rax, QWORD PTR -24[rbp]
	add	rax, 1
	movzx	eax, BYTE PTR [rax]
	cmp	BYTE PTR -10[rbp], al
	jb	.L14
	movzx	eax, BYTE PTR -9[rbp]
	shr	al, 7
	movzx	edx, al
	movzx	eax, BYTE PTR -9[rbp]
	movzx	eax, al
	add	eax, eax
	or	eax, edx
	mov	edx, eax
	sal	eax, 2
	sub	edx, eax
	mov	rax, QWORD PTR -32[rbp]
	mov	BYTE PTR [rax], dl
	nop
	mov	rax, QWORD PTR -8[rbp]
	sub	rax, QWORD PTR fs:40
	je	.L15
	call	__stack_chk_fail@PLT
.L15:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE1:
	.size	RandomFunc, .-RandomFunc
	.globl	megaInit
	.type	megaInit, @function
megaInit:
.LFB2:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	nop
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE2:
	.size	megaInit, .-megaInit
	.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	"198580441.c"
	.text
	.section	.rodata
	.align	2
.LC0:
	.ascii	"Call this program with %i arguments\012\000"
	.align	2
.LC1:
	.ascii	"You win!\000"
	.align	2
.LC2:
	.ascii	"%u\012\000"
	.align	2
.LC3:
	.word	__stack_chk_guard
	.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, .L10
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	bl	megaInit
	ldr	r3, [fp, #-32]
	cmp	r3, #2
	beq	.L2
	mov	r1, #1
	ldr	r0, .L10+4
	bl	printf
	mvn	r0, #0
	bl	exit
.L2:
	mov	r3, #0
	str	r3, [fp, #-24]
	b	.L3
.L4:
	ldr	r3, [fp, #-24]
	add	r3, r3, #1
	lsl	r3, r3, #2
	ldr	r2, [fp, #-36]
	add	r3, r2, r3
	ldr	r3, [r3]
	mov	r2, #10
	mov	r1, #0
	mov	r0, r3
	bl	strtoul
	mov	r3, r0
	strb	r3, [fp, #-25]
	sub	r2, fp, #16
	ldr	r3, [fp, #-24]
	add	r3, r2, r3
	ldrb	r2, [fp, #-25]
	strb	r2, [r3]
	ldr	r3, [fp, #-24]
	add	r3, r3, #1
	str	r3, [fp, #-24]
.L3:
	ldr	r3, [fp, #-24]
	cmp	r3, #0
	ble	.L4
	sub	r2, fp, #12
	sub	r3, fp, #16
	mov	r1, r2
	mov	r0, r3
	bl	RandomFunc
	ldrb	r3, [fp, #-12]	@ zero_extendqisi2
	cmp	r3, #42
	bne	.L5
	ldr	r0, .L10+8
	bl	puts
.L5:
	mov	r3, #0
	str	r3, [fp, #-20]
	b	.L6
.L7:
	sub	r2, fp, #12
	ldr	r3, [fp, #-20]
	add	r3, r2, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	mov	r1, r3
	ldr	r0, .L10+12
	bl	printf
	ldr	r3, [fp, #-20]
	add	r3, r3, #1
	str	r3, [fp, #-20]
.L6:
	ldr	r3, [fp, #-20]
	cmp	r3, #0
	ble	.L7
	mov	r3, #0
	ldr	r2, .L10
	ldr	r1, [r2]
	ldr	r2, [fp, #-8]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L9
	bl	__stack_chk_fail
.L9:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L11:
	.align	2
.L10:
	.word	.LC3
	.word	.LC0
	.word	.LC1
	.word	.LC2
	.size	main, .-main
	.section	.rodata
	.align	2
.LC4:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	RandomFunc
	.syntax unified
	.arm
	.fpu softvfp
	.type	RandomFunc, %function
RandomFunc:
	@ args = 0, pretend = 0, frame = 24
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #24
	str	r0, [fp, #-24]
	str	r1, [fp, #-28]
	ldr	r3, .L18
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	ldr	r3, [fp, #-24]
	ldrb	r3, [r3]	@ zero_extendqisi2
	add	r3, r3, #106
	and	r3, r3, #255
	eor	r3, r3, #11
	and	r3, r3, #255
	strb	r3, [fp, #-12]
	mov	r3, #0
	strb	r3, [fp, #-13]
	b	.L13
.L16:
	mov	r3, #0
	strb	r3, [fp, #-14]
	b	.L14
.L15:
	ldrb	r3, [fp, #-14]	@ zero_extendqisi2
	sub	r2, fp, #4
	add	r3, r2, r3
	ldrb	r3, [r3, #-8]	@ zero_extendqisi2
	lsl	r3, r3, #24
	asr	r2, r3, #24
	ldrb	r3, [fp, #-12]	@ zero_extendqisi2
	lsl	r3, r3, #4
	lsl	r3, r3, #24
	asr	r3, r3, #24
	bic	r3, r3, #15
	lsl	r3, r3, #24
	asr	r3, r3, #24
	orr	r3, r2, r3
	lsl	r3, r3, #24
	asr	r2, r3, #24
	ldrb	r3, [fp, #-14]	@ zero_extendqisi2
	and	r2, r2, #255
	sub	r1, fp, #4
	add	r3, r1, r3
	strb	r2, [r3, #-8]
	ldrb	r3, [fp, #-12]	@ zero_extendqisi2
	mov	r2, r3
	ldrb	r3, [fp, #-12]	@ zero_extendqisi2
	lsr	r3, r3, #1
	and	r3, r3, #255
	and	r3, r3, #14
	orr	r3, r3, #1
	lsl	r3, r2, r3
	lsl	r3, r3, #24
	asr	r2, r3, #24
	ldrb	r3, [fp, #-12]	@ zero_extendqisi2
	mov	r1, r3
	ldrb	r3, [fp, #-12]	@ zero_extendqisi2
	lsr	r3, r3, #1
	and	r3, r3, #255
	and	r3, r3, #14
	orr	r3, r3, #1
	rsb	r3, r3, #8
	asr	r3, r1, r3
	lsl	r3, r3, #24
	asr	r3, r3, #24
	orr	r3, r2, r3
	lsl	r3, r3, #24
	asr	r3, r3, #24
	and	r3, r3, #255
	strb	r3, [fp, #-12]
	ldrb	r3, [fp, #-14]
	add	r3, r3, #2
	strb	r3, [fp, #-14]
.L14:
	ldr	r3, [fp, #-24]
	add	r3, r3, #1
	ldrb	r3, [r3]	@ zero_extendqisi2
	ldrb	r2, [fp, #-14]	@ zero_extendqisi2
	cmp	r2, r3
	bcc	.L15
	ldrb	r3, [fp, #-13]	@ zero_extendqisi2
	add	r3, r3, #1
	strb	r3, [fp, #-13]
.L13:
	ldr	r3, [fp, #-24]
	add	r3, r3, #1
	ldrb	r3, [r3]	@ zero_extendqisi2
	ldrb	r2, [fp, #-13]	@ zero_extendqisi2
	cmp	r2, r3
	bcc	.L16
	ldrb	r3, [fp, #-12]	@ zero_extendqisi2
	lsr	r3, r3, #7
	and	r3, r3, #255
	mov	r2, r3
	ldrb	r3, [fp, #-12]	@ zero_extendqisi2
	lsl	r3, r3, #1
	orr	r3, r2, r3
	and	r3, r3, #255
	mov	r2, r3
	lsl	r3, r3, #2
	sub	r3, r2, r3
	and	r2, r3, #255
	ldr	r3, [fp, #-28]
	strb	r2, [r3]
	nop
	ldr	r3, .L18
	ldr	r2, [r3]
	ldr	r3, [fp, #-8]
	eors	r2, r3, r2
	mov	r3, #0
	beq	.L17
	bl	__stack_chk_fail
.L17:
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L19:
	.align	2
.L18:
	.word	.LC4
	.size	RandomFunc, .-RandomFunc
	.align	2
	.global	megaInit
	.syntax unified
	.arm
	.fpu softvfp
	.type	megaInit, %function
megaInit:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 1, uses_anonymous_args = 0
	@ link register save eliminated.
	str	fp, [sp, #-4]!
	add	fp, sp, #0
	nop
	add	sp, fp, #0
	@ sp needed
	ldr	fp, [sp], #4
	bx	lr
	.size	megaInit, .-megaInit
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
