	.file	"57611.c"
	.intel_syntax noprefix
	.text
	.globl	f
	.type	f, @function
f:
.LFB6:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	call	abort@PLT
	.cfi_endproc
.LFE6:
	.size	f, .-f
	.globl	simulator_kernel
	.type	simulator_kernel, @function
simulator_kernel:
.LFB7:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	push	r15
	push	r14
	push	r13
	push	r12
	push	rbx
	sub	rsp, 88
	.cfi_offset 15, -24
	.cfi_offset 14, -32
	.cfi_offset 13, -40
	.cfi_offset 12, -48
	.cfi_offset 3, -56
	mov	DWORD PTR -100[rbp], edi
	mov	QWORD PTR -112[rbp], rsi
	mov	rax, QWORD PTR -112[rbp]
	mov	r12, QWORD PTR [rax]
	mov	rax, QWORD PTR -112[rbp]
	lea	r14, 8[rax]
	lea	r15, .L3[rip]
	mov	rax, QWORD PTR -112[rbp]
	add	rax, 1040
	mov	QWORD PTR -120[rbp], rax
	cmp	DWORD PTR -100[rbp], 0
	je	.L3
	mov	rax, QWORD PTR -112[rbp]
	mov	rax, QWORD PTR 1032[rax]
	mov	QWORD PTR -64[rbp], rax
	mov	DWORD PTR -88[rbp], 0
	jmp	.L4
.L5:
	mov	eax, DWORD PTR -88[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -64[rbp]
	add	rax, rdx
	mov	eax, DWORD PTR [rax]
	sal	eax, 14
	sar	eax, 14
	cdqe
	lea	rdx, 0[0+rax*8]
	lea	rax, op_map.0[rip]
	mov	rax, QWORD PTR [rdx+rax]
	sub	rax, r15
	mov	rcx, rax
	mov	eax, DWORD PTR -88[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -64[rbp]
	add	rdx, rax
	mov	eax, ecx
	sal	eax, 14
	sar	eax, 14
	and	eax, 262143
	mov	ecx, eax
	mov	eax, DWORD PTR [rdx]
	and	eax, -262144
	or	eax, ecx
	mov	DWORD PTR [rdx], eax
	add	DWORD PTR -88[rbp], 1
.L4:
	mov	eax, DWORD PTR -88[rbp]
	cmp	eax, DWORD PTR -100[rbp]
	jl	.L5
.L3:
	endbr64
	mov	rax, r12
	lea	r12, 8[rax]
	mov	rax, QWORD PTR [rax]
	mov	QWORD PTR -72[rbp], rax
	movzx	eax, WORD PTR -66[rbp]
	shr	ax, 6
	and	ah, -1
	movzx	eax, al
	sal	eax, 2
	cdqe
	add	rax, r14
	mov	r13d, DWORD PTR [rax]
	movzx	eax, WORD PTR -70[rbp]
	shr	ax, 6
	and	ah, -1
	movzx	eax, al
	lea	ebx, 0[0+rax*4]
	mov	eax, DWORD PTR -72[rbp]
	sal	eax, 14
	sar	eax, 14
	cdqe
	add	rax, r15
	nop
.L8:
	jmp	rax
.L6:
	endbr64
	mov	eax, r13d
	shr	eax, 12
	mov	DWORD PTR -80[rbp], eax
	mov	eax, DWORD PTR -80[rbp]
	movzx	eax, al
	mov	DWORD PTR -84[rbp], eax
	mov	rax, r12
	lea	r12, 8[rax]
	mov	rax, QWORD PTR [rax]
	mov	QWORD PTR -72[rbp], rax
.L10:
	mov	eax, DWORD PTR -84[rbp]
	sal	rax, 4
	mov	rsi, QWORD PTR -120[rbp]
	add	rax, rsi
	mov	eax, DWORD PTR [rax]
	mov	DWORD PTR -76[rbp], eax
	mov	eax, DWORD PTR -84[rbp]
	sal	rax, 4
	add	rax, rsi
	mov	rax, QWORD PTR 8[rax]
	mov	QWORD PTR -56[rbp], rax
	mov	eax, DWORD PTR -76[rbp]
	cmp	eax, DWORD PTR -80[rbp]
	jne	.L7
	mov	edx, r13d
	mov	rax, QWORD PTR -56[rbp]
	add	rax, rdx
	mov	rcx, rax
	movsx	rax, ebx
	lea	rdx, [r14+rax]
	mov	eax, DWORD PTR [rcx]
	mov	DWORD PTR [rdx], eax
	movzx	eax, WORD PTR -66[rbp]
	shr	ax, 6
	and	ah, -1
	movzx	eax, al
	sal	eax, 2
	cdqe
	add	rax, r14
	mov	r13d, DWORD PTR [rax]
	movzx	eax, WORD PTR -70[rbp]
	shr	ax, 6
	and	ah, -1
	movzx	eax, al
	lea	ebx, 0[0+rax*4]
	mov	eax, DWORD PTR -72[rbp]
	sal	eax, 14
	sar	eax, 14
	cdqe
	add	rax, r15
	jmp	.L8
.L7:
	mov	eax, DWORD PTR -76[rbp]
	test	eax, eax
	jns	.L9
	mov	eax, 0
	call	f
	mov	rcx, rax
	movsx	rax, ebx
	lea	rdx, [r14+rax]
	mov	eax, DWORD PTR [rcx]
	mov	DWORD PTR [rdx], eax
	movzx	eax, WORD PTR -66[rbp]
	shr	ax, 6
	and	ah, -1
	movzx	eax, al
	sal	eax, 2
	cdqe
	add	rax, r14
	mov	r13d, DWORD PTR [rax]
	movzx	eax, WORD PTR -70[rbp]
	shr	ax, 6
	and	ah, -1
	movzx	eax, al
	lea	ebx, 0[0+rax*4]
	mov	eax, DWORD PTR -72[rbp]
	sal	eax, 14
	sar	eax, 14
	cdqe
	add	rax, r15
	jmp	.L8
.L9:
	mov	eax, DWORD PTR -84[rbp]
	sub	eax, 1
	and	eax, 255
	mov	DWORD PTR -84[rbp], eax
	jmp	.L10
.L11:
	endbr64
	movsx	rax, ebx
	add	rax, r14
	mov	eax, DWORD PTR [rax]
	add	rsp, 88
	pop	rbx
	pop	r12
	pop	r13
	pop	r14
	pop	r15
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE7:
	.size	simulator_kernel, .-simulator_kernel
	.globl	program
	.bss
	.align 16
	.type	program, @object
	.size	program, 24
program:
	.zero	24
	.text
	.globl	main
	.type	main, @function
main:
.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, 4096
	or	QWORD PTR [rsp], 0
	sub	rsp, 1088
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	edi, 8192
	call	malloc@PLT
	mov	QWORD PTR -5160[rbp], rax
	mov	DWORD PTR -5180[rbp], 1193040
	mov	eax, DWORD PTR -5180[rbp]
	shr	eax, 12
	mov	DWORD PTR -5176[rbp], eax
	mov	rax, QWORD PTR -5160[rbp]
	add	rax, 4095
	and	rax, -4096
	mov	QWORD PTR -5160[rbp], rax
	mov	eax, DWORD PTR -5176[rbp]
	movzx	eax, al
	mov	eax, eax
	add	rax, 65
	sal	rax, 4
	add	rax, rbp
	lea	rdx, -5152[rax]
	mov	eax, DWORD PTR -5176[rbp]
	mov	DWORD PTR [rdx], eax
	mov	eax, DWORD PTR -5176[rbp]
	sal	eax, 12
	mov	esi, eax
	mov	eax, DWORD PTR -5176[rbp]
	movzx	ecx, al
	mov	rax, QWORD PTR -5160[rbp]
	sub	rax, rsi
	mov	rdx, rax
	mov	eax, ecx
	add	rax, 65
	sal	rax, 4
	add	rax, rbp
	sub	rax, 5144
	mov	QWORD PTR [rax], rdx
	mov	eax, DWORD PTR -5168[rbp]
	and	eax, -262144
	mov	DWORD PTR -5168[rbp], eax
	mov	DWORD PTR -5144[rbp], 0
	mov	eax, DWORD PTR -5180[rbp]
	mov	DWORD PTR -5136[rbp], eax
	mov	eax, DWORD PTR -5180[rbp]
	and	eax, 4095
	mov	rdx, rax
	mov	rax, QWORD PTR -5160[rbp]
	add	rax, rdx
	mov	DWORD PTR [rax], 88
	movzx	eax, WORD PTR -5166[rbp]
	and	ax, -16321
	mov	WORD PTR -5166[rbp], ax
	movzx	eax, WORD PTR -5162[rbp]
	and	ax, -16321
	or	al, -128
	mov	WORD PTR -5162[rbp], ax
	mov	DWORD PTR -5184[rbp], 0
	jmp	.L14
.L15:
	mov	eax, DWORD PTR -5184[rbp]
	cdqe
	lea	rcx, 0[0+rax*8]
	lea	rdx, program[rip]
	mov	rax, QWORD PTR -5168[rbp]
	mov	QWORD PTR [rcx+rdx], rax
	add	DWORD PTR -5184[rbp], 1
.L14:
	cmp	DWORD PTR -5184[rbp], 1
	jle	.L15
	mov	eax, DWORD PTR -5168[rbp]
	and	eax, -262144
	or	eax, 1
	mov	DWORD PTR -5168[rbp], eax
	movzx	eax, WORD PTR -5166[rbp]
	and	ax, -16321
	mov	WORD PTR -5166[rbp], ax
	mov	rax, QWORD PTR -5168[rbp]
	mov	QWORD PTR program[rip+16], rax
	lea	rax, program[rip]
	mov	QWORD PTR -5152[rbp], rax
	lea	rax, program[rip]
	mov	QWORD PTR -4120[rbp], rax
	lea	rax, -5152[rbp]
	mov	rsi, rax
	mov	edi, 3
	call	simulator_kernel
	mov	DWORD PTR -5172[rbp], eax
	cmp	DWORD PTR -5172[rbp], 88
	je	.L16
	call	abort@PLT
.L16:
	mov	edi, 0
	call	exit@PLT
	.cfi_endproc
.LFE8:
	.size	main, .-main
	.section	.data.rel.local,"aw"
	.align 16
	.type	op_map.0, @object
	.size	op_map.0, 16
op_map.0:
	.quad	.L6
	.quad	.L11
	.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	"57611.c"
	.text
	.align	2
	.global	f
	.syntax unified
	.arm
	.fpu softvfp
	.type	f, %function
f:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	bl	abort
	.size	f, .-f
	.align	2
	.global	simulator_kernel
	.syntax unified
	.arm
	.fpu softvfp
	.type	simulator_kernel, %function
simulator_kernel:
	@ args = 0, pretend = 0, frame = 40
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, fp, lr}
	add	fp, sp, #28
	sub	sp, sp, #40
	str	r0, [fp, #-64]
	str	r1, [fp, #-68]
	ldr	r3, [fp, #-68]
	ldr	r9, [r3]
	ldr	r3, [fp, #-68]
	add	r4, r3, #4
	ldr	r6, .L13
	ldr	r3, [fp, #-68]
	add	r7, r3, #1024
	add	r7, r7, #8
	ldr	r3, [fp, #-64]
	cmp	r3, #0
	beq	.L3
	ldr	r3, [fp, #-68]
	ldr	r3, [r3, #1028]
	str	r3, [fp, #-52]
	mov	r3, #0
	str	r3, [fp, #-60]
	b	.L4
.L5:
	ldr	r3, [fp, #-60]
	lsl	r3, r3, #3
	ldr	r2, [fp, #-52]
	add	r3, r2, r3
	ldr	r3, [r3]
	lsl	r3, r3, #14
	asr	r3, r3, #14
	mov	r2, r3
	ldr	r3, .L13+4
	ldr	r3, [r3, r2, lsl #2]
	sub	r3, r3, r6
	ldr	r2, [fp, #-60]
	lsl	r2, r2, #3
	ldr	r1, [fp, #-52]
	add	r1, r1, r2
	lsl	r2, r3, #14
	asr	r2, r2, #14
	ldr	r3, [r1]
	lsl	r2, r2, #14
	lsr	r3, r3, #18
	orr	r3, r3, r2
	ror	r3, r3, #14
	str	r3, [r1]
	ldr	r3, [fp, #-60]
	add	r3, r3, #1
	str	r3, [fp, #-60]
.L4:
	ldr	r2, [fp, #-60]
	ldr	r3, [fp, #-64]
	cmp	r2, r3
	blt	.L5
.L3:
	mov	r3, r9
	add	r9, r3, #8
	ldmia	r3, {r2-r3}
	str	r2, [fp, #-36]
	str	r3, [fp, #-32]
	ldrh	r3, [fp, #-30]
	lsr	r3, r3, #6
	and	r3, r3, #255
	lsl	r3, r3, #2
	add	r3, r4, r3
	ldr	r5, [r3]
	ldrh	r3, [fp, #-34]
	lsr	r3, r3, #6
	and	r3, r3, #255
	lsl	r8, r3, #2
	ldr	r3, [fp, #-36]
	lsl	r3, r3, #14
	asr	r3, r3, #14
	add	r3, r6, r3
	nop
.L8:
	mov	pc, r3	@ indirect register jump
.L6:
	lsr	r3, r5, #12
	str	r3, [fp, #-48]
	ldr	r3, [fp, #-48]
	and	r3, r3, #255
	str	r3, [fp, #-56]
	mov	r3, r9
	add	r9, r3, #8
	ldmia	r3, {r2-r3}
	str	r2, [fp, #-36]
	str	r3, [fp, #-32]
.L10:
	ldr	r3, [fp, #-56]
	lsl	r3, r3, #3
	add	r3, r7, r3
	ldr	r3, [r3]
	str	r3, [fp, #-44]
	ldr	r3, [fp, #-56]
	lsl	r3, r3, #3
	add	r3, r7, r3
	ldr	r3, [r3, #4]
	str	r3, [fp, #-40]
	ldr	r2, [fp, #-44]
	ldr	r3, [fp, #-48]
	cmp	r2, r3
	bne	.L7
	ldr	r3, [fp, #-40]
	add	r3, r5, r3
	mov	r2, r3
	mov	r3, r8
	add	r3, r4, r3
	ldr	r2, [r2]
	str	r2, [r3]
	ldrh	r3, [fp, #-30]
	lsr	r3, r3, #6
	and	r3, r3, #255
	lsl	r3, r3, #2
	add	r3, r4, r3
	ldr	r5, [r3]
	ldrh	r3, [fp, #-34]
	lsr	r3, r3, #6
	and	r3, r3, #255
	lsl	r8, r3, #2
	ldr	r3, [fp, #-36]
	lsl	r3, r3, #14
	asr	r3, r3, #14
	add	r3, r6, r3
	b	.L8
.L7:
	ldr	r3, [fp, #-44]
	cmp	r3, #0
	bge	.L9
	bl	f
	mov	r3, r0
	mov	r2, r3
	mov	r3, r8
	add	r3, r4, r3
	ldr	r2, [r2]
	str	r2, [r3]
	ldrh	r3, [fp, #-30]
	lsr	r3, r3, #6
	and	r3, r3, #255
	lsl	r3, r3, #2
	add	r3, r4, r3
	ldr	r5, [r3]
	ldrh	r3, [fp, #-34]
	lsr	r3, r3, #6
	and	r3, r3, #255
	lsl	r8, r3, #2
	ldr	r3, [fp, #-36]
	lsl	r3, r3, #14
	asr	r3, r3, #14
	add	r3, r6, r3
	b	.L8
.L9:
	ldr	r3, [fp, #-56]
	sub	r3, r3, #1
	and	r3, r3, #255
	str	r3, [fp, #-56]
	b	.L10
.L11:
	mov	r3, r8
	add	r3, r4, r3
	ldr	r3, [r3]
	mov	r0, r3
	sub	sp, fp, #28
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, fp, pc}
.L14:
	.align	2
.L13:
	.word	.L3
	.word	op_map.4828
	.size	simulator_kernel, .-simulator_kernel
	.comm	program,24,8
	.section	.rodata
	.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 = 3120
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #3120
	ldr	r3, .L20
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	mov	r0, #8192
	bl	malloc
	mov	r3, r0
	str	r3, [fp, #-3116]
	ldr	r3, .L20+4
	str	r3, [fp, #-3112]
	ldr	r3, [fp, #-3112]
	lsr	r3, r3, #12
	str	r3, [fp, #-3108]
	ldr	r3, [fp, #-3116]
	add	r3, r3, #4080
	add	r3, r3, #15
	bic	r3, r3, #4080
	bic	r3, r3, #15
	str	r3, [fp, #-3116]
	ldr	r3, [fp, #-3108]
	and	r3, r3, #255
	add	r3, r3, #129
	lsl	r3, r3, #3
	sub	r2, fp, #4
	add	r3, r2, r3
	ldr	r2, [fp, #-3108]
	str	r2, [r3, #-3084]
	ldr	r3, [fp, #-3108]
	lsl	r2, r3, #12
	ldr	r3, [fp, #-3108]
	and	r3, r3, #255
	ldr	r1, [fp, #-3116]
	sub	r2, r1, r2
	add	r3, r3, #129
	lsl	r3, r3, #3
	sub	r1, fp, #4
	add	r3, r1, r3
	str	r2, [r3, #-3080]
	ldr	r3, [fp, #-3100]
	lsr	r3, r3, #18
	lsl	r3, r3, #18
	str	r3, [fp, #-3100]
	mov	r3, #0
	str	r3, [fp, #-3084]
	ldr	r3, [fp, #-3112]
	str	r3, [fp, #-3076]
	ldr	r3, [fp, #-3112]
	lsl	r3, r3, #20
	lsr	r3, r3, #20
	ldr	r2, [fp, #-3116]
	add	r3, r3, r2
	mov	r2, r3
	mov	r3, #88
	str	r3, [r2]
	sub	r3, fp, #4
	sub	r3, r3, #3088
	sub	r3, r3, #6
	ldrh	r2, [r3]	@ movhi
	bic	r2, r2, #16320
	strh	r2, [r3]	@ movhi
	sub	r3, fp, #4
	sub	r3, r3, #3088
	sub	r3, r3, #2
	ldrh	r2, [r3]	@ movhi
	bic	r2, r2, #16192
	orr	r2, r2, #128
	strh	r2, [r3]	@ movhi
	mov	r3, #0
	str	r3, [fp, #-3120]
	b	.L16
.L17:
	ldr	r2, .L20+8
	ldr	r3, [fp, #-3120]
	lsl	r3, r3, #3
	add	r1, r2, r3
	ldr	r2, [fp, #-3100]
	ldr	r3, [fp, #-3096]
	stm	r1, {r2-r3}
	ldr	r3, [fp, #-3120]
	add	r3, r3, #1
	str	r3, [fp, #-3120]
.L16:
	ldr	r3, [fp, #-3120]
	cmp	r3, #1
	ble	.L17
	ldr	r3, [fp, #-3100]
	ldr	r2, .L20+12
	and	r2, r2, r3
	orr	r3, r2, #1
	str	r3, [fp, #-3100]
	sub	r3, fp, #4
	sub	r3, r3, #3088
	sub	r3, r3, #6
	ldrh	r2, [r3]	@ movhi
	bic	r2, r2, #16320
	strh	r2, [r3]	@ movhi
	ldr	r1, .L20+8
	ldr	r2, [fp, #-3100]
	ldr	r3, [fp, #-3096]
	str	r2, [r1, #16]
	str	r3, [r1, #20]
	ldr	r3, .L20+8
	str	r3, [fp, #-3088]
	ldr	r3, .L20+8
	str	r3, [fp, #-2060]
	sub	r3, fp, #3072
	sub	r3, r3, #4
	sub	r3, r3, #12
	mov	r1, r3
	mov	r0, #3
	bl	simulator_kernel
	mov	r3, r0
	str	r3, [fp, #-3104]
	ldr	r3, [fp, #-3104]
	cmp	r3, #88
	beq	.L18
	bl	abort
.L18:
	mov	r0, #0
	bl	exit
.L21:
	.align	2
.L20:
	.word	.LC1
	.word	1193040
	.word	program
	.word	-262143
	.size	main, .-main
	.data
	.align	2
	.type	op_map.4828, %object
	.size	op_map.4828, 8
op_map.4828:
	.word	.L6
	.word	.L11
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
