	.file	"414781.c"
	.intel_syntax noprefix
	.text
	.globl	inv
	.section	.rodata
	.align 8
	.type	inv, @object
	.size	inv, 8
inv:
	.long	2097152
	.long	1040187392
	.local	histogram
	.comm	histogram,8,8
	.align 8
.LC0:
	.string	"<document type='mpd' id='id:test:mpd::%d'>\n"
.LC1:
	.string	"<title>the "
.LC2:
	.string	"bar "
.LC3:
	.string	"fox says "
.LC4:
	.string	"foo "
.LC5:
	.string	"hihi</title>"
	.text
	.globl	header
	.type	header, @function
header:
.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, 16
	mov	DWORD PTR -4[rbp], edi
	mov	eax, DWORD PTR -4[rbp]
	mov	esi, eax
	lea	rdi, .LC0[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rdi, .LC1[rip]
	mov	eax, 0
	call	printf@PLT
	call	random@PLT
	mov	rcx, rax
	movabs	rdx, -6640827866535438581
	mov	rax, rcx
	imul	rdx
	lea	rax, [rdx+rcx]
	sar	rax, 6
	mov	rsi, rcx
	sar	rsi, 63
	sub	rax, rsi
	mov	rdx, rax
	mov	rax, rdx
	sal	rax, 2
	add	rax, rdx
	lea	rdx, 0[0+rax*4]
	add	rax, rdx
	sal	rax, 2
	sub	rcx, rax
	mov	rdx, rcx
	cmp	rdx, 42
	jg	.L2
	lea	rdi, .LC2[rip]
	mov	eax, 0
	call	printf@PLT
.L2:
	lea	rdi, .LC3[rip]
	mov	eax, 0
	call	printf@PLT
	call	random@PLT
	mov	rcx, rax
	movabs	rdx, -6640827866535438581
	mov	rax, rcx
	imul	rdx
	lea	rax, [rdx+rcx]
	sar	rax, 6
	mov	rsi, rcx
	sar	rsi, 63
	sub	rax, rsi
	mov	rdx, rax
	mov	rax, rdx
	sal	rax, 2
	add	rax, rdx
	lea	rdx, 0[0+rax*4]
	add	rax, rdx
	sal	rax, 2
	sub	rcx, rax
	mov	rdx, rcx
	cmp	rdx, 24
	jg	.L3
	lea	rdi, .LC4[rip]
	mov	eax, 0
	call	printf@PLT
.L3:
	lea	rdi, .LC5[rip]
	call	puts@PLT
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.size	header, .-header
	.section	.rodata
.LC8:
	.string	"<order>%.30g</order>\n"
.LC9:
	.string	"<seq>%d</seq>\n"
.LC10:
	.string	"<cat>%d</cat>\n"
.LC11:
	.string	"</document>"
	.text
	.globl	footer
	.type	footer, @function
footer:
.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, 32
	mov	DWORD PTR -20[rbp], edi
	call	random@PLT
	pxor	xmm1, xmm1
	cvtsi2sd	xmm1, rax
	movsd	xmm0, QWORD PTR .LC6[rip]
	mulsd	xmm0, xmm1
	movsd	QWORD PTR -8[rbp], xmm0
	pxor	xmm1, xmm1
	cvtsi2sd	xmm1, DWORD PTR -20[rbp]
	movsd	xmm0, QWORD PTR .LC7[rip]
	mulsd	xmm0, xmm1
	movsd	xmm1, QWORD PTR -8[rbp]
	addsd	xmm0, xmm1
	movsd	QWORD PTR -8[rbp], xmm0
	mov	rax, QWORD PTR -8[rbp]
	movq	xmm0, rax
	lea	rdi, .LC8[rip]
	mov	eax, 1
	call	printf@PLT
	mov	eax, DWORD PTR -20[rbp]
	mov	esi, eax
	lea	rdi, .LC9[rip]
	mov	eax, 0
	call	printf@PLT
	mov	eax, DWORD PTR -20[rbp]
	movsx	rdx, eax
	imul	rdx, rdx, 274877907
	shr	rdx, 32
	sar	edx, 6
	sar	eax, 31
	mov	ecx, eax
	mov	eax, edx
	sub	eax, ecx
	mov	esi, eax
	lea	rdi, .LC10[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rdi, .LC11[rip]
	call	puts@PLT
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE7:
	.size	footer, .-footer
	.section	.rodata
.LC12:
	.string	"<body>"
.LC14:
	.string	" %d"
.LC15:
	.string	" </body>"
	.text
	.globl	body
	.type	body, @function
body:
.LFB8:
	.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	DWORD PTR -56[rbp], esi
	mov	DWORD PTR -60[rbp], edx
	lea	rdi, .LC12[rip]
	call	puts@PLT
	mov	DWORD PTR -36[rbp], 0
	jmp	.L6
.L9:
	mov	eax, DWORD PTR -36[rbp]
	imul	eax, DWORD PTR -56[rbp]
	cdq
	idiv	DWORD PTR -60[rbp]
	mov	DWORD PTR -32[rbp], eax
	mov	rdx, QWORD PTR histogram[rip]
	mov	eax, DWORD PTR -36[rbp]
	cdqe
	sal	rax, 2
	add	rax, rdx
	mov	eax, DWORD PTR [rax]
	mov	DWORD PTR -28[rbp], eax
	mov	eax, DWORD PTR -32[rbp]
	sub	eax, DWORD PTR -28[rbp]
	pxor	xmm0, xmm0
	cvtsi2sd	xmm0, eax
	movsd	QWORD PTR -24[rbp], xmm0
	mov	eax, DWORD PTR -56[rbp]
	sub	eax, DWORD PTR -52[rbp]
	pxor	xmm0, xmm0
	cvtsi2sd	xmm0, eax
	movsd	QWORD PTR -16[rbp], xmm0
	call	random@PLT
	pxor	xmm1, xmm1
	cvtsi2sd	xmm1, rax
	movsd	xmm0, QWORD PTR .LC13[rip]
	mulsd	xmm0, xmm1
	movsd	QWORD PTR -8[rbp], xmm0
	movsd	xmm0, QWORD PTR -8[rbp]
	movapd	xmm1, xmm0
	mulsd	xmm1, QWORD PTR -16[rbp]
	movsd	xmm0, QWORD PTR -24[rbp]
	comisd	xmm0, xmm1
	jbe	.L7
	mov	rdx, QWORD PTR histogram[rip]
	mov	eax, DWORD PTR -36[rbp]
	cdqe
	sal	rax, 2
	add	rax, rdx
	mov	edx, DWORD PTR [rax]
	add	edx, 1
	mov	DWORD PTR [rax], edx
	mov	eax, DWORD PTR -36[rbp]
	mov	esi, eax
	lea	rdi, .LC14[rip]
	mov	eax, 0
	call	printf@PLT
.L7:
	add	DWORD PTR -36[rbp], 1
.L6:
	mov	eax, DWORD PTR -36[rbp]
	cmp	eax, DWORD PTR -60[rbp]
	jle	.L9
	lea	rdi, .LC15[rip]
	call	puts@PLT
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE8:
	.size	body, .-body
	.section	.rodata
.LC16:
	.string	"<vespafeed>"
.LC17:
	.string	"</vespafeed>"
	.text
	.globl	main
	.type	main, @function
main:
.LFB9:
	.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 -8[rbp], 100000
	mov	DWORD PTR -4[rbp], 1000
	cmp	DWORD PTR -20[rbp], 1
	jle	.L12
	mov	rax, QWORD PTR -32[rbp]
	add	rax, 8
	mov	rax, QWORD PTR [rax]
	mov	rdi, rax
	call	atoi@PLT
	mov	DWORD PTR -8[rbp], eax
.L12:
	cmp	DWORD PTR -20[rbp], 2
	jle	.L13
	mov	rax, QWORD PTR -32[rbp]
	add	rax, 16
	mov	rax, QWORD PTR [rax]
	mov	rdi, rax
	call	atoi@PLT
	mov	DWORD PTR -4[rbp], eax
.L13:
	mov	eax, DWORD PTR -4[rbp]
	add	eax, 1
	cdqe
	sal	rax, 2
	mov	rdi, rax
	call	malloc@PLT
	mov	QWORD PTR histogram[rip], rax
	mov	DWORD PTR -12[rbp], 0
	jmp	.L14
.L15:
	mov	rdx, QWORD PTR histogram[rip]
	mov	eax, DWORD PTR -12[rbp]
	cdqe
	sal	rax, 2
	add	rax, rdx
	mov	DWORD PTR [rax], 0
	add	DWORD PTR -12[rbp], 1
.L14:
	mov	eax, DWORD PTR -12[rbp]
	cmp	eax, DWORD PTR -4[rbp]
	jle	.L15
	mov	edi, 42
	call	srandom@PLT
	lea	rdi, .LC16[rip]
	call	puts@PLT
	mov	DWORD PTR -12[rbp], 0
	jmp	.L16
.L17:
	mov	eax, DWORD PTR -12[rbp]
	mov	edi, eax
	call	header
	mov	edx, DWORD PTR -4[rbp]
	mov	ecx, DWORD PTR -8[rbp]
	mov	eax, DWORD PTR -12[rbp]
	mov	esi, ecx
	mov	edi, eax
	call	body
	mov	eax, DWORD PTR -12[rbp]
	mov	edi, eax
	call	footer
	add	DWORD PTR -12[rbp], 1
.L16:
	mov	eax, DWORD PTR -12[rbp]
	cmp	eax, DWORD PTR -8[rbp]
	jl	.L17
	lea	rdi, .LC17[rip]
	call	puts@PLT
	mov	eax, 0
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE9:
	.size	main, .-main
	.section	.rodata
	.align 8
.LC6:
	.long	0
	.long	1062207488
	.align 8
.LC7:
	.long	0
	.long	1051721728
	.align 8
.LC13:
	.long	2097152
	.long	1040187392
	.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	"414781.c"
	.text
	.global	inv
	.section	.rodata
	.align	3
	.type	inv, %object
	.size	inv, 8
inv:
	.word	2097152
	.word	1040187392
	.local	histogram
	.comm	histogram,4,4
	.align	2
.LC0:
	.ascii	"<document type='mpd' id='id:test:mpd::%d'>\012\000"
	.align	2
.LC1:
	.ascii	"<title>the \000"
	.align	2
.LC2:
	.ascii	"bar \000"
	.align	2
.LC3:
	.ascii	"fox says \000"
	.align	2
.LC4:
	.ascii	"foo \000"
	.align	2
.LC5:
	.ascii	"hihi</title>\000"
	.text
	.align	2
	.global	header
	.syntax unified
	.arm
	.fpu softvfp
	.type	header, %function
header:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #8
	str	r0, [fp, #-8]
	ldr	r1, [fp, #-8]
	ldr	r0, .L4
	bl	printf
	ldr	r0, .L4+4
	bl	printf
	bl	random
	mov	r1, r0
	ldr	r3, .L4+8
	smull	r2, r3, r1, r3
	asr	r2, r3, #5
	asr	r3, r1, #31
	sub	r2, r2, r3
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r2, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #2
	sub	r2, r1, r3
	cmp	r2, #42
	bgt	.L2
	ldr	r0, .L4+12
	bl	printf
.L2:
	ldr	r0, .L4+16
	bl	printf
	bl	random
	mov	r1, r0
	ldr	r3, .L4+8
	smull	r2, r3, r1, r3
	asr	r2, r3, #5
	asr	r3, r1, #31
	sub	r2, r2, r3
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r2, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #2
	sub	r2, r1, r3
	cmp	r2, #24
	bgt	.L3
	ldr	r0, .L4+20
	bl	printf
.L3:
	ldr	r0, .L4+24
	bl	puts
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L5:
	.align	2
.L4:
	.word	.LC0
	.word	.LC1
	.word	1374389535
	.word	.LC2
	.word	.LC3
	.word	.LC4
	.word	.LC5
	.size	header, .-header
	.global	__aeabi_i2d
	.global	__aeabi_dmul
	.global	__aeabi_dadd
	.section	.rodata
	.align	2
.LC6:
	.ascii	"<order>%.30g</order>\012\000"
	.align	2
.LC7:
	.ascii	"<seq>%d</seq>\012\000"
	.align	2
.LC8:
	.ascii	"<cat>%d</cat>\012\000"
	.align	2
.LC9:
	.ascii	"</document>\000"
	.text
	.align	2
	.global	footer
	.syntax unified
	.arm
	.fpu softvfp
	.type	footer, %function
footer:
	@ 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]
	bl	random
	mov	r3, r0
	mov	r0, r3
	bl	__aeabi_i2d
	mov	r2, #0
	ldr	r3, .L7
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	str	r2, [fp, #-12]
	str	r3, [fp, #-8]
	ldr	r0, [fp, #-16]
	bl	__aeabi_i2d
	mov	r2, #0
	ldr	r3, .L7+4
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	sub	r1, fp, #12
	ldmia	r1, {r0-r1}
	bl	__aeabi_dadd
	mov	r2, r0
	mov	r3, r1
	str	r2, [fp, #-12]
	str	r3, [fp, #-8]
	sub	r3, fp, #12
	ldmia	r3, {r2-r3}
	ldr	r0, .L7+8
	bl	printf
	ldr	r1, [fp, #-16]
	ldr	r0, .L7+12
	bl	printf
	ldr	r3, [fp, #-16]
	ldr	r2, .L7+16
	smull	r1, r2, r3, r2
	asr	r2, r2, #6
	asr	r3, r3, #31
	sub	r3, r2, r3
	mov	r1, r3
	ldr	r0, .L7+20
	bl	printf
	ldr	r0, .L7+24
	bl	puts
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L8:
	.align	2
.L7:
	.word	1062207488
	.word	1051721728
	.word	.LC6
	.word	.LC7
	.word	274877907
	.word	.LC8
	.word	.LC9
	.size	footer, .-footer
	.section	.rodata
	.align	2
.LC10:
	.ascii	"<body>\000"
	.global	__aeabi_idiv
	.global	__aeabi_dcmpgt
	.align	2
.LC11:
	.ascii	" %d\000"
	.align	2
.LC12:
	.ascii	" </body>\000"
	.text
	.align	2
	.global	body
	.syntax unified
	.arm
	.fpu softvfp
	.type	body, %function
body:
	@ args = 0, pretend = 0, frame = 56
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #56
	str	r0, [fp, #-48]
	str	r1, [fp, #-52]
	str	r2, [fp, #-56]
	ldr	r0, .L15
	bl	puts
	mov	r3, #0
	str	r3, [fp, #-40]
	b	.L10
.L13:
	ldr	r3, [fp, #-40]
	ldr	r2, [fp, #-52]
	mul	r3, r2, r3
	ldr	r1, [fp, #-56]
	mov	r0, r3
	bl	__aeabi_idiv
	mov	r3, r0
	str	r3, [fp, #-36]
	ldr	r3, .L15+4
	ldr	r2, [r3]
	ldr	r3, [fp, #-40]
	lsl	r3, r3, #2
	add	r3, r2, r3
	ldr	r3, [r3]
	str	r3, [fp, #-32]
	ldr	r2, [fp, #-36]
	ldr	r3, [fp, #-32]
	sub	r3, r2, r3
	mov	r0, r3
	bl	__aeabi_i2d
	mov	r2, r0
	mov	r3, r1
	str	r2, [fp, #-28]
	str	r3, [fp, #-24]
	ldr	r2, [fp, #-52]
	ldr	r3, [fp, #-48]
	sub	r3, r2, r3
	mov	r0, r3
	bl	__aeabi_i2d
	mov	r2, r0
	mov	r3, r1
	str	r2, [fp, #-20]
	str	r3, [fp, #-16]
	bl	random
	mov	r3, r0
	mov	r0, r3
	bl	__aeabi_i2d
	mov	r2, #2097152
	mov	r3, #1040187392
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	str	r2, [fp, #-12]
	str	r3, [fp, #-8]
	sub	r3, fp, #20
	ldmia	r3, {r2-r3}
	sub	r1, fp, #12
	ldmia	r1, {r0-r1}
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	sub	r1, fp, #28
	ldmia	r1, {r0-r1}
	bl	__aeabi_dcmpgt
	mov	r3, r0
	cmp	r3, #0
	beq	.L11
	ldr	r3, .L15+4
	ldr	r2, [r3]
	ldr	r3, [fp, #-40]
	lsl	r3, r3, #2
	add	r3, r2, r3
	ldr	r2, [r3]
	add	r2, r2, #1
	str	r2, [r3]
	ldr	r1, [fp, #-40]
	ldr	r0, .L15+8
	bl	printf
.L11:
	ldr	r3, [fp, #-40]
	add	r3, r3, #1
	str	r3, [fp, #-40]
.L10:
	ldr	r2, [fp, #-40]
	ldr	r3, [fp, #-56]
	cmp	r2, r3
	ble	.L13
	ldr	r0, .L15+12
	bl	puts
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L16:
	.align	2
.L15:
	.word	.LC10
	.word	histogram
	.word	.LC11
	.word	.LC12
	.size	body, .-body
	.section	.rodata
	.align	2
.LC13:
	.ascii	"<vespafeed>\000"
	.align	2
.LC14:
	.ascii	"</vespafeed>\000"
	.text
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ 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, .L25
	str	r3, [fp, #-12]
	mov	r3, #1000
	str	r3, [fp, #-8]
	ldr	r3, [fp, #-24]
	cmp	r3, #1
	ble	.L18
	ldr	r3, [fp, #-28]
	add	r3, r3, #4
	ldr	r3, [r3]
	mov	r0, r3
	bl	atoi
	str	r0, [fp, #-12]
.L18:
	ldr	r3, [fp, #-24]
	cmp	r3, #2
	ble	.L19
	ldr	r3, [fp, #-28]
	add	r3, r3, #8
	ldr	r3, [r3]
	mov	r0, r3
	bl	atoi
	str	r0, [fp, #-8]
.L19:
	ldr	r3, [fp, #-8]
	add	r3, r3, #1
	lsl	r3, r3, #2
	mov	r0, r3
	bl	malloc
	mov	r3, r0
	mov	r2, r3
	ldr	r3, .L25+4
	str	r2, [r3]
	mov	r3, #0
	str	r3, [fp, #-16]
	b	.L20
.L21:
	ldr	r3, .L25+4
	ldr	r2, [r3]
	ldr	r3, [fp, #-16]
	lsl	r3, r3, #2
	add	r3, r2, r3
	mov	r2, #0
	str	r2, [r3]
	ldr	r3, [fp, #-16]
	add	r3, r3, #1
	str	r3, [fp, #-16]
.L20:
	ldr	r2, [fp, #-16]
	ldr	r3, [fp, #-8]
	cmp	r2, r3
	ble	.L21
	mov	r0, #42
	bl	srandom
	ldr	r0, .L25+8
	bl	puts
	mov	r3, #0
	str	r3, [fp, #-16]
	b	.L22
.L23:
	ldr	r0, [fp, #-16]
	bl	header
	ldr	r2, [fp, #-8]
	ldr	r1, [fp, #-12]
	ldr	r0, [fp, #-16]
	bl	body
	ldr	r0, [fp, #-16]
	bl	footer
	ldr	r3, [fp, #-16]
	add	r3, r3, #1
	str	r3, [fp, #-16]
.L22:
	ldr	r2, [fp, #-16]
	ldr	r3, [fp, #-12]
	cmp	r2, r3
	blt	.L23
	ldr	r0, .L25+12
	bl	puts
	mov	r3, #0
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L26:
	.align	2
.L25:
	.word	100000
	.word	histogram
	.word	.LC13
	.word	.LC14
	.size	main, .-main
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
